How do you remove reads from .bam file with FLAG = 0?
I have used the following command to remove alignments with FLAG = 16 from sam file
samtools view -h -F 16 in.bam out.sam
This command does not remove bits with 0...
samtools view -h -F 0 in.bam out.sam
Thoughs??
• 2,499 views
•
link
1 answer
Log in to answer this question.