I'm going to merge > 50 alignment bam files (is it possible to merge this number of bam files?), it's too big,
thus I want to merge by chromosome.
1. samtools view -u file1.bam chr1 > chr1.file1.bam
2. samtools view -u file2.bam chr1 > chr1.file2.bam
no problem to create the above two files.
3. samtools merge chr1.bam chr1.file1.bam chr1.bam
[bam_header_read] EOF marker is absent.
Since the merged file looks ok,
What does this information mean?
thanks
thus I want to merge by chromosome.
1. samtools view -u file1.bam chr1 > chr1.file1.bam
2. samtools view -u file2.bam chr1 > chr1.file2.bam
no problem to create the above two files.
3. samtools merge chr1.bam chr1.file1.bam chr1.bam
[bam_header_read] EOF marker is absent.
Since the merged file looks ok,
What does this information mean?
thanks
Comment