nanoporetech / modkit

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

Ignore multiple mods in adjust-mods #237

Open Ge0rges opened 4 months ago

Ge0rges commented 4 months ago

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

ArtRand commented 4 months 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