Entering edit mode
7.7 years ago
cpak1981
▴
140
How can I tell if my BAM file is in BAM(SE) or BAMPE format? Does samtools have a command to help with this?
How can I tell if my BAM file is in BAM(SE) or BAMPE format? Does samtools have a command to help with this?
you can use the samflag n°1 https://broadinstitute.github.io/picard/explain-flags.html and samtools view
with option -f
and/or -F
to extract the reads paired or not paired.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thanks Pierre! Appreciate your time