Re: [Samtools-help] Reference used for alignment vs CRAM compression

2018-08-03 Thread Ziga Mahkovec
On Fri, Aug 3, 2018 at 2:30 AM James Bonfield wrote: > On Thu, Aug 02, 2018 at 02:44:39PM -0400, Thomas W. Blackwell wrote: > > The problematic feature is this: if the header of the existing .bam > > file already contains md5 checksums in the "@SQ" header lines for > > the individual hg19 sequen

Re: [Samtools-help] Reference used for alignment vs CRAM compression

2018-08-03 Thread James Bonfield
On Thu, Aug 02, 2018 at 02:44:39PM -0400, Thomas W. Blackwell wrote: > The problematic feature is this: if the header of the existing .bam > file already contains md5 checksums in the "@SQ" header lines for > the individual hg19 sequence contigs used in read mapping, then > samtools will copy thos

Re: [Samtools-help] Reference used for alignment vs CRAM compression

2018-08-02 Thread Thomas W. Blackwell
Ziga - In my experience, the .cram format is engineered to support this, but the samtools software has one feature which causes all kinds of trouble with it. The problematic feature is this: if the header of the existing .bam file already contains md5 checksums in the "@SQ" header lines fo