Question: Do I need to merge bai files also, while merging bam files
1
gravatar for c_u
2.4 years ago by
c_u190
United States
c_u190 wrote:

I have 10 folders, each containing a bam file and a corresponding bai file. I need to merge the bam files, which I believe I can do with samtools merge merged_filename.bam *.bam.

My question is that do I need to also merge the corresponding bai files as well? And if so, should I just do - samtools merge merged_filename.bai *.bai?

rna-seq bam • 1.5k views
ADD COMMENTlink modified 2.4 years ago by Gabriel R.2.7k • written 2.4 years ago by c_u190
6
gravatar for Gabriel R.
2.4 years ago by
Gabriel R.2.7k
Danmarks Tekniske Universitet
Gabriel R.2.7k wrote:

do

 samtools index  merged_filename.bam
ADD COMMENTlink written 2.4 years ago by Gabriel R.2.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 796 users visited in the last hour