Extract reads based on the orientation of the mapped reads.
1
0
Entering edit mode
3.5 years ago
kaz0816 • 0

I want to extract reads from a BAM file based on the orientation of the mapped reads. I want to extract the reads of each category separately based on the orientation of the reads such as LR (Illumina pair-end reads), RL (Illumina mate-pair reads), RR or LL as depicted in IGV. Please tell me if there is any solution to that.

mapping DNA-seq genome Mate-pair Paired-reads • 1.1k views
ADD COMMENT
0
Entering edit mode
3.5 years ago

You can use bamtools for this. Look at the tutorial PDF here:

https://github.com/pezmaster31/bamtools/wiki/Using-the-toolkit

You have to write a config file for it.

ADD COMMENT
0
Entering edit mode

I understand that the "bamtools split" command retrieves those reads. However, I still don't know the FLAG setting when dividing into pair-end reads (LR:-> <-), mate pair (RL: <- ->) and others (RR or LL).
I would appreciate it if you could explain it in an easy-to-understand manner.

ADD REPLY

Login before adding your answer.

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