crop reads in bam file?
0
0
Entering edit mode
8.6 years ago
nx8 ▴ 20

Hi,

I have haplotype sequences in fasta format of several genes of a population with different length. I am mapping them against the genes' reference sequences. I would like to extract regions from the mapping files which are covered by all the haplotype sequences but I don't want the overlaps. And the regions should be > 1kb. So I want to iterate over the file and extract regions bigger than 1kb with a coverage of x (x is the number of haplotype sequences I've got). I need to compare the sequences but I need them to be all of the same length. Is there a method to crop the overlaps when extracting a region from a bam file?

Many Thanks!

alignment mapping bam • 1.7k views
ADD COMMENT

Login before adding your answer.

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