Extract improperly paired read from BAM file
1
0
Entering edit mode
4.3 years ago
godth13teen ▴ 70

Hi, I want to do manual checking on my BAM file after getting the statistic from samtools flagstat. I tried to extract the improperly paired read but failed to do so far.

I tried to use awk to extract read not contain 2 flagstat, but it's not working because the flagstat is bitwise and combined.

Thank you for your advice.

alignment • 987 views
ADD COMMENT
2
Entering edit mode
4.3 years ago

Don't use awk. Use samtools view.

ADD COMMENT

Login before adding your answer.

Traffic: 1294 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