I have been mapping paired-end reads (SOLiD) and would like to extract mapped pairs that are located on different chromosomes from the SAM/BAM file. `
samtools flagstat
actually reports the number of pairs on different chromosomes. Are there any simple methods of extracting them?
Thank you!
Thanks - i played around with awk and regex to get what i wanted.