Distinguish BAM vs BAMPE format
1
0
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?

BAM BAMPE BWA • 3.6k views
ADD COMMENT
0
Entering edit mode

Thanks Pierre! Appreciate your time

ADD REPLY
1
Entering edit mode
7.7 years ago

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.

ADD COMMENT

Login before adding your answer.

Traffic: 2056 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6