Contig's coverage and bam files.
0
0
Entering edit mode
8.1 years ago
Picasa ▴ 650

Hi,

I would like to compute the contig coverage I got from an assembly.

I have different lib (of insert size) so i've mapped it separately, at the end I have a .bam file for each library:

insert_size_350.bam
insert_size_550.bam

Now I would like to give it to BBmap pileup.sh for coverage computation.

But I think I have to merge the 2.bam files with :

samtools merge output.bam *.bam

I'm not sure, Is it the right way to do ?

bam contig coverage • 2.3k views
ADD COMMENT
0
Entering edit mode

Yes, If you need to how many of your reads are used probably in the assembly, so If you have less coverage that would mean you have something went wrong, you need to put in your mind that after merging if you have 1X before it should be 2X for each region "just an estimation"

ADD REPLY
0
Entering edit mode

Should I remove duplicates reads ?

ADD REPLY
0
Entering edit mode

Did you removed it first before running the assembly ? cause you should remove PCR and optical duplicate

ADD REPLY

Login before adding your answer.

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