Open cmnbroad opened 2 years ago
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.
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.