@@ -25,11 +25,15 @@ To generate an isoform SVG plot like the one above, add the following arguments:
2525modkit dmr isoform \
2626 ${bedmethyl} \
2727 isoform_dmr_${gene_name} .bed \
28- --plot path/to/plot/dir \ # <-- add this option
29- --gene-name ${gene_name} \ # <-- requires a gene name (or gene id to plot)
28+ --plot path/to/plot/dir \
29+ --gene-name ${gene_name} \
3030 --gtf ${gtf}
3131```
3232
33+ > ** Important:** ` --plot ` requires either ` --gene-name ` or ` --gene-id ` and ** cannot** be used
34+ > in whole-transcriptome mode (i.e. without one of those arguments). Attempting to use ` --plot `
35+ > without a gene specifier will result in an error.
36+
3337* Note* that exons without marks in certain transcripts indicates that there is no data in the input bedMethyl.
3438The command ` modkit bedmethyl map-to-genome ` can map a transcript-aligned bedMethyl to genome coordinates.
3539
@@ -48,10 +52,11 @@ The command `modkit bedmethyl map-to-genome` can map a transcript-aligned bedMet
4852| 9 | n_transcripts | number of transcripts (isoforms) contributing to this position | int |
4953| 10 | gene_id | gene-id from the GTF | str |
5054| 11 | gene_name | gene-name from the GTF or '-' if not found | str |
51- | 12 | per_isoform_proportions | JSON formatted string of per-transcript, per-modification proprotions | str |
52- | 13 | per_isoform_counts | JSON formatted string of per-transcript, per-modification counts | str |
55+ | 12 | pooled_proportions | gene-level aggregate modification rate | str |
56+ | 13 | per_isoform_proportions | JSON formatted string of per-transcript, per-modification proprotions | str |
57+ | 14 | per_isoform_counts | JSON formatted string of per-transcript, per-modification counts | str |
5358
54- Columns 12 and 13 are only present when the ` --full ` flag is passed.
59+ Columns 12 and 14 are only present when the ` --full ` flag is passed.
5560
5661## Background
5762Gene sequences alone don't describe all of the diversity of mRNAs in vertebrate cells.
@@ -63,6 +68,11 @@ Through alternative splicing gene exons can be combined in multiple permutations
6368
6469## Filtering the number of methylation marks
6570Some long genes may have many modified positions and drawing them all can get crowded.
66- To only plot positions with a maximum p-value or minimum score use the ` --max-pvalue ` or ` --min-score ` arguments, respectively.
71+ To only plot positions with a maximum p-value or minimum score use the ` --max-pval ` or
72+ ` --min-score ` arguments, respectively.
73+
74+ > ** Note:** ` --max-pval ` and ` --min-score ` are ** plot-only** options. They require ` --plot `
75+ > (and therefore also ` --gene-name ` or ` --gene-id ` ) and have no effect outside of single-gene
76+ > mode. These two flags are ** mutually exclusive** — only one may be provided at a time.
6777
6878
0 commit comments