nanoporetech / modkit

A bioinformatics tool for working with modified bases
https://nanoporetech.com/
Other
131 stars 7 forks source link

Ignore multiple mods in adjust-mods #237

Open Ge0rges opened 1 month ago

Ge0rges commented 1 month ago

Just a convenience feature would be able to do modkit adjust-mods --ignore a,m.

ArtRand commented 1 month ago

Hello @Ge0rges,

That's a good idea (thanks), especially for mods on different primary bases. Right now you'd have to do it through a pipe.

$ modkit adjust-mods ${bam} stdout --ignore m | modkit adjust-mods stdin ${adjusted_bam} --ignore a