htsjdk icon indicating copy to clipboard operation
htsjdk copied to clipboard

Require sequence dictionary MD5s when writing CRAM.

Open cmnbroad opened this issue 2 years ago • 0 comments

Fixes https://github.com/samtools/htsjdk/issues/506 (and by extension will also fix https://github.com/broadinstitute/gatk/issues/5195). If the SAM header used to create a CRAM doesn't have a sequence dictionary with MD5s, the code will attempt to use consult the reference's dictionary to inject them if possible. Otherwise, the write operation will fail with an error message.

cmnbroad avatar Jun 01 '22 20:06 cmnbroad