samtools view -F 0X04 <bam>
samtools view -bq 1 <bam>
samtools view -f 0X10  <bam>
samtools view -f 0X10  <bam> chrI:XXX-XXX