This is a test version of Biostars. For the public version, visit https://www.biostars.org.
filtering of mapped Nanopore reads

Hi.

I am trying to filter a bam file. I mapped raw nanopore reads to a reference assembly and want to keep only reads that map (almost) full length. bwa mem and minimap2 softmask bases at both ends that do not match to the reference and I want to keep only those reads that map full-length and allowing for 40bp unmatched/softmasked bp on both ends. Tried Samclip, but it does not work (outputting text file instead of true sam file). Any ideas on how to filter otherwise?

Thanks Michael

next-gen assembly sequencing

please, post a SAM example with a few reads + header on gist.github.com

0 answers

No answers yet.

Log in to answer this question.