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.
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.