will using samtools merge to multiple bam files also remove the redundancy ?
0
0
Entering edit mode
14 months ago

So i have merged some bam files using the samtools merge -n command, i wanna know if the merged bam file which is made now will be non redundant or do i have to again use bedtools to remove the redundancy ?

bamtools samtools • 870 views
ADD COMMENT
1
Entering edit mode

how do you define " redundancy" ? if both bams are unrelated, the merged bam won't contain any common read.

ADD REPLY
0
Entering edit mode

no the bams are not unrelated, they have common reads.

ADD REPLY
0
Entering edit mode

Are you talking about duplicate reads? If so, you can check the duplicates in your merged data simply by running-

samtools flagstat merged_data.bam
ADD REPLY
0
Entering edit mode

they have common reads.

As in they came from a single source sequence file and thus would have an identical fastq header?

ADD REPLY

Login before adding your answer.

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