@@ -392,7 +392,7 @@ <h2 id="pileup"><a class="header" href="#pileup">pileup</a></h2>
392392 --filter-threshold 0.9 will specify a threshold value of 0.70 for
393393 adenine and 0.9 for all other base modification calls
394394
395- --mod-thresholds <MOD_THRESHOLDS>
395+ --mod-threshold <MOD_THRESHOLDS>
396396 Specify a passing threshold to use for a base modification,
397397 independent of the threshold for the primary sequence base or the
398398 default. For example, to set the pass threshold for 5hmC to 0.8 use
@@ -585,7 +585,7 @@ <h2 id="adjust-mods"><a class="header" href="#adjust-mods">adjust-mods</a></h2>
585585 --filter-probs
586586 Filter out the lowest confidence base modification probabilities
587587
588- --only- mapped
588+ --mapped-only
589589 Only use base modification probabilities from bases that are aligned
590590 when estimating the filter threshold (i.e. ignore soft-clipped, and
591591 inserted bases)
@@ -787,7 +787,7 @@ <h2 id="sample-probs"><a class="header" href="#sample-probs">sample-probs</a></h
787787 Only sample base modification probabilities that are aligned to the
788788 positions in this BED file. (alias: include-positions)
789789
790- --only- mapped
790+ --mapped-only
791791 Only use base modification probabilities that are aligned (i.e. ignore
792792 soft-clipped, and inserted bases)
793793
@@ -903,7 +903,7 @@ <h2 id="summary"><a class="header" href="#summary">summary</a></h2>
903903 --filter-threshold 0.9 will specify a threshold value of 0.70 for
904904 adenine and 0.9 for all other base modification calls
905905
906- --mod-thresholds <MOD_THRESHOLDS>
906+ --mod-threshold <MOD_THRESHOLDS>
907907 Specify a passing threshold to use for a base modification,
908908 independent of the threshold for the primary sequence base or the
909909 default. For example, to set the pass threshold for 5hmC to 0.8 use
@@ -940,7 +940,7 @@ <h2 id="summary"><a class="header" href="#summary">summary</a></h2>
940940 Only summarize base modification probabilities that are aligned to the
941941 positions in this BED file. (alias: include-positions)
942942
943- --only- mapped
943+ --mapped-only
944944 Only use base modification probabilities that are aligned (i.e. ignore
945945 soft-clipped, and inserted bases)
946946
@@ -1375,7 +1375,7 @@ <h2 id="pileup-hemi"><a class="header" href="#pileup-hemi">pileup-hemi</a></h2>
13751375 --filter-threshold 0.9 will specify a threshold value of 0.70 for
13761376 adenine and 0.9 for all other base modification calls
13771377
1378- --mod-thresholds <MOD_THRESHOLDS>
1378+ --mod-threshold <MOD_THRESHOLDS>
13791379 Specify a passing threshold to use for a base modification,
13801380 independent of the threshold for the primary sequence base or the
13811381 default. For example, to set the pass threshold for 5hmC to 0.8 use
@@ -1513,10 +1513,10 @@ <h2 id="entropy"><a class="header" href="#entropy">entropy</a></h2>
15131513 --filter-threshold <FILTER_THRESHOLD>
15141514 Specify the filter threshold globally or for the canonical calls. When
15151515 specified, base modification call probabilities will be required to be
1516- greater than or equal to this number. If `--mod-thresholds ` is also
1516+ greater than or equal to this number. If `--mod-threshold ` is also
15171517 specified, _this_ value will be used for canonical calls
15181518
1519- --mod-thresholds <MOD_THRESHOLDS>
1519+ --mod-threshold <MOD_THRESHOLDS>
15201520 Specify a passing threshold to use for a base modification,
15211521 independent of the threshold for the primary sequence base or the
15221522 default. For example, to set the pass threshold for 5hmC to 0.8 use
@@ -2075,7 +2075,7 @@ <h2 id="extract-calls"><a class="header" href="#extract-calls">extract calls</a>
20752075 --filter-threshold 0.9 will specify a threshold value of 0.70 for
20762076 adenine and 0.9 for all other base modification calls
20772077
2078- --mod-thresholds <MOD_THRESHOLDS>
2078+ --mod-threshold <MOD_THRESHOLDS>
20792079 Specify a passing threshold to use for a base modification,
20802080 independent of the threshold for the primary sequence base or the
20812081 default. For example, to set the pass threshold for 5hmC to 0.8 use
@@ -2827,52 +2827,82 @@ <h2 id="bedmethyl-tobigwig"><a class="header" href="#bedmethyl-tobigwig">bedmeth
28272827< pre > < code class ="language-text "> Make a BigWig track from a bedMethyl file or stream. For details on the BigWig
28282828format see https://doi.org/10.1093/bioinformatics/btq351
28292829
2830- Usage: modkit bedmethyl tobigwig [OPTIONS] --sizes <CHROMSIZES > --mod-codes <MOD_CODES > <IN_BEDMETHYL> <OUT_FP>
2830+ Usage: modkit bedmethyl tobigwig [OPTIONS] --mod-codes <MOD_CODES > <--sizes <CHROMSIZES>|--header <INPUT_BAM> > <IN_BEDMETHYL> <OUT_FP>
28312831
28322832Arguments:
2833- <IN_BEDMETHYL> Input bedmethyl, uncompressed, "-" or "stdin" indicates an
2834- input stream
2835- <OUT_FP> Output bigWig filename
2833+ <IN_BEDMETHYL>
2834+ Input bedmethyl, uncompressed, "-" or "stdin" indicates an input
2835+ stream
2836+
2837+ <OUT_FP>
2838+ Output bigWig filename
28362839
28372840Options:
2838- -g, --sizes <CHROMSIZES> A chromosome sizes file. Each line should be have
2839- a chromosome and its size in bases, separated by
2840- whitespace. A fasta index (.fai) works as well
2841- -m, --mod-codes <MOD_CODES> Make a bigWig track where the values are the
2842- percent of bases with this modification, use
2843- multiple comma-separated codes to combine counts.
2844- For example --mod-code m makes a track of the 5mC
2845- percentages and --mod-codes h,m will make a track
2846- of the combined counts from 5hmC and 5mC.
2847- Combining counts for different primary bases will
2848- cause an error (e.g. --mod-codes a,h)
2849- -h, --help Print help
2841+ -g, --sizes <CHROMSIZES>
2842+ A chromosome sizes file. Each line should be a chromosome and its size
2843+ in bases, separated by whitespace. A fasta index (.fai) works as well.
2844+ Use instead of the bam header
2845+
2846+ -b, --header <INPUT_BAM>
2847+ modBAM from which the pileup was generated. Chromosome sizes are
2848+ gathered from the header. Use instead of the chromosome sizes file
2849+
2850+ -m, --mod-codes <MOD_CODES>
2851+ Make a bigWig track where the values are the percent of bases with
2852+ this modification, use multiple comma-separated codes to combine
2853+ counts. For example --mod-code m makes a track of the 5mC percentages
2854+ and --mod-codes h,m will make a track of the combined counts from 5hmC
2855+ and 5mC. Combining counts for different primary bases will cause an
2856+ error (e.g. --mod-codes a,h will error)
2857+
2858+ -h, --help
2859+ Print help (see a summary with '-h')
28502860
28512861Output Options:
28522862 --negative-strand-values
28532863 Report the percentages on the negative strand as negative values. The
28542864 data range will be [-100, 100]
2865+
28552866 -z, --nzooms <NZOOMS>
2856- Set the maximum of zooms to create [default: 10]
2867+ Set the maximum of zooms to create
2868+
2869+ [default: 10]
2870+
28572871 --zooms <ZOOMS>...
28582872 Set the zoom resolutions to use (overrides the --nzooms argument)
2873+
28592874 -u, --uncompressed
28602875 Don't use compression
2876+
28612877 --block-size <BLOCK_SIZE>
2862- Number of items to bundle in r-tree [default: 256]
2878+ Number of items to bundle in r-tree
2879+
2880+ [default: 256]
2881+
28632882 --items-per-slot <ITEMS_PER_SLOT>
2864- Number of data points bundled at lowest level [default: 1024]
2883+ Number of data points bundled at lowest level
2884+
2885+ [default: 1024]
28652886
28662887Compute Options:
2867- -t, --nthreads <NTHREADS> Set the number of threads to use. This tool will
2868- typically use ~225% CPU on a HDD. SDDs may be
2869- higher. (IO bound) [default: 6]
2870- --inmemory Do not create temporary files for intermediate data
2888+ -t, --nthreads <NTHREADS>
2889+ Set the number of threads to use. This tool will typically use ~225%
2890+ CPU on a HDD. SDDs may be higher. (IO bound)
2891+
2892+ [default: 6]
2893+
2894+ --inmemory
2895+ Do not create temporary files for intermediate data
2896+
2897+ --force-chromosome-ordering
2898+ If input bedMethyl has sorting of the same scheme as `sort`, this
2899+ option may speed up conversion
28712900
28722901Logging Options:
28732902 --log-filepath <LOG_FILEPATH>
28742903 Specify a file for debug logs to be written to, otherwise ignore them.
28752904 Setting a file is recommended. (alias: log)
2905+
28762906 --suppress-progress
28772907 Hide the progress bar
28782908</ code > </ pre >
@@ -2939,7 +2969,7 @@ <h2 id="modbam-check-tags"><a class="header" href="#modbam-check-tags">modbam ch
29392969 Check tags on non-primary alignments as well. Keep in mind this may
29402970 incur a double-counting of the read with its primary mapping
29412971
2942- --only- mapped
2972+ --mapped-only
29432973 Only check alignments that are mapped
29442974
29452975 --region <REGION>
0 commit comments