If the input BAMs are sorted, then the merged file should be sorted as well.
What are the errors you see?
- Derek
On Thursday, June 28, 2012 4:58:03 PM UTC-4,
lancep...@gmail.com wrote:
Using the latest version of bamtools, when doing a merge of sorted bam files, the output is not sorted properly. Running samtools index (and other things) on the resulting output results in sorting errors. Is there a flag or something I am missing? Or is this not a supported feature of bamtools merge? I can't really find much documentation on this.