2) that should actually work, providing the header of the first bam file is correct: to be sure try:
Code:
samtools view -H in.bam > header.sam samtools merge -h header.sam out.bam in1.bam in2.bam ....
3) Your header does NOT look ok. It should mention every reference sequence so at least 24 entries (including X, Y and MT)...
Leave a comment: