marbl / Winnowmap

Long read / genome alignment software
Other
235 stars 22 forks source link

how to keep Mm tags in bam #38

Closed bakeronit closed 1 year ago

bakeronit commented 1 year ago

Hi all,

I extracted fastq(samtools fastq -T 1) from unmapped bam to align to the genome with winnowmap. However, it lost extra tags like qs and Mm after mapping. Is there a way to keep them in the results? Or to tag them again.

Thank you. Jia

bakeronit commented 1 year ago

just realised that the winnowmap works like minimap2, so add -y will copy the comment info from fastq header.