Question: How to merge multiple bam files into single bam file
0
gravatar for Bioinfonext
2.3 years ago by
Bioinfonext150
Korea
Bioinfonext150 wrote:

I mapped 30 pair end reads file separately to the genome. now please suggest how to merge these 30 mapped bam files to generate single bam file to do genome guided assembly.

rna-seq • 3.2k views
ADD COMMENTlink modified 2.3 years ago by finswimmer11k • written 2.3 years ago by Bioinfonext150

This question could have been solved easily by a quick google search e.g. searching for 'merge bam files'. Please first try to find a solution on your own before asking questions.

ADD REPLYlink written 2.3 years ago by WouterDeCoster39k
3
gravatar for finswimmer
2.3 years ago by
finswimmer11k
Germany
finswimmer11k wrote:

Hello,

samtools merge can do this.

fin swimmer

ADD COMMENTlink written 2.3 years ago by finswimmer11k

Thank you very much!

ADD REPLYlink written 2.3 years ago by Bioinfonext150

If this answer resolved your question you should mark it as "accepted".

ADD REPLYlink written 2.3 years ago by WouterDeCoster39k

After merging all bam file into single bam file using smatools merge. Do I also sort the merge bam file to do genome guided assembly using StingTie?

ADD REPLYlink written 2.3 years ago by Bioinfonext150

This question could have been solved easily by reading the samtools specifications. Searching google for 'samtools merge' brought me on this page on which the answer is rapidly found in the paragraph discussing samtools merge. Please first try to find a solution on your own before asking questions.

ADD REPLYlink written 2.3 years ago by WouterDeCoster39k
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: 1488 users visited in the last hour