How to merge multiple bam files into single bam file
1
0
Entering edit mode
7.1 years ago
Bioinfonext ▴ 460

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 • 9.9k views
ADD COMMENT
0
Entering edit mode

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 REPLY
4
Entering edit mode
7.1 years ago

Hello,

samtools merge can do this.

fin swimmer

ADD COMMENT
0
Entering edit mode

Thank you very much!

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode

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 REPLY

Login before adding your answer.

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