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