This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Merging unaligned bam files

I have two WGBS unaligned bam files (fastq files stored as unaligned bam). I am wondering can I merge those files? Does samtools merge works for unaligned bams?

Thanks

next-gen

What is wrong with samtools cat?

1 answer

merge combines data while respecting sort order, but as you do not have any you can simply concatenate them with samtools cat.

Log in to answer this question.