samtools mapping quality filter code example Example: samtools mapq filter samtools view -b -q 10 foo.bam > foo.filtered.bam