Skip to content

Releases: nanoporetech/modkit

v0.2.2-rc1

27 Oct 16:33
Compare
Choose a tag to compare

Fixes

  • [logging] Changes log level from error to debug when a record doesn't have any base modification probabilities.

v0.2.1

12 Oct 03:56
Compare
Choose a tag to compare

Adds

  • [adjust-mods, summary, pileup, call-mods] Allows asymmetric edge filter (i.e. filter out base modification calls X bases from the start of the reads and Y bases from the ends). Previously, only one parameter was allowed and filtering was symmetric.

Fixes

  • [summary, sample-probs] Fixes bug where inferred canonical bases were not being accounted for.
  • [dmr] Fail when cannot parse any bedMethyl lines from input, log when there are failures to parse lines, fixes #60
  • [dmr] Automatically make directory if it doesn't already exist, fixes #61

v0.2.0

26 Sep 21:44
Compare
Choose a tag to compare

Adds

  • [dmr] Adds modkit dmr command suite for differential methylation exploratory data analysis.
  • [pileup-hemi] Adds modkit pileup-hemi for tabulating double-stranded methylation patterns.

Fixes

  • [repair] Fixes potential stack overflow when donor and/or acceptor BAMs aren't sorted correctly.

v0.1.13

23 Aug 02:09
Compare
Choose a tag to compare

Fixes

  • [extract, mod_bam] Potential stack overflow when many reads are skipped.
  • [extract] Output inferred canonical calls when the . MM tag is used.
  • [adjust-mods] change MM flag to ? and add inferred canonical calls when --edge-filter is applied.

Adds

  • [pileup] performs pileup in batches to decrease peak memory usage, configurable with --chunk_size.
  • [pileup] Allow users to narrow output to any number of specified motifs (instead of only CpG dinucleotides) with --motif option

Changes

  • [extract] adds inferred column

v0.1.13-rc1

12 Aug 16:32
Compare
Choose a tag to compare

Fixes

  • [extract, mod_bam] Potential stack overflow when many reads are skipped.

v0.1.12

27 Jul 23:02
Compare
Choose a tag to compare

Fixes

  • [extract] no longer requires an index to use --num-reads, it will just take the first --num-reads reads if no index is found.

Adds

  • New command, modkit repair allows projecting base modifiction calls from one modBAM onto another where the reads have beem trimmed or clipped.
  • adjust-mods, update-tags, sample-probs, summary, call-mods and extract can now be used with standard input/output streams.

v0.1.11

07 Jul 01:11
Compare
Choose a tag to compare

Fixes

  • [extract] Correctly handles duplex modBAMs when using --include-bed
  • Refactors handling of CRAM when sampling records. Fixes #35. Suggests to use BAM.

Adds

  • [extract] Output contains ref_mod_strand and modified_primary_base
  • [pileup] New option --max-depth allows increasing depth beyond default in hts-lib and sets the default to 8,000 in case it changes in hts-lib.

v0.1.11-rc1

27 Jun 15:37
Compare
Choose a tag to compare

Fixes

  • [extract] Correctly handles duplex modBAMs when using --include-bed

v0.1.10

26 Jun 21:41
Compare
Choose a tag to compare

Fixes

  • Don't log message whilst aggregating base modification probabilities (exposed with duplex reads as input).

Changes

  • [pileup] Fail fast when bam index doesn't contain any mapped reads.

v0.1.9

16 Jun 14:34
Compare
Choose a tag to compare

Changes

  • [pileup] When estimating the pass-threshold only use base modification probabilities if the read base is aligned to the reference (don't use soft-clipped and inserts). Use --include-unmapped to use all base modification probabilities.
  • [adjust-mods] requires --ignore, --convert, or --edge-filter.

Adds

  • [pileup, extract, sample-probs, summary] Allow narrowing of analysis to specific sites with --include-bed.
  • [summary, sample-probs] Add --only-mapped flag that will only report on base modification probabilities if they are mapped to the reference.
  • [pileup] Allow partitioning counts to separate bedMethyl files based on SAM tags with --partition-tag option.

Fixes

  • [adjust-mods, update-tags, call-mods] Panic when failure to parse SAM header, fixes #29.