Skip to end of metadata
Go to start of metadata
Count mapped reads
samtools view -F 0X04 <bam>
Print uniquely mapped reads
samtools view -bq 1 <bam>
Print reversely mapped reads
samtools view -f 0X10  <bam>
Print reversely mapped reads in certain range
samtools view -f 0X10  <bam> chrI:XXX-XXX
  • No labels