Closed ChristinaXu2017 closed 1 year ago
thanks for spotting it, this function only works for renaming, the writer will automatically close by the try block.
The java HTSJDK library creates
It is arguable whether we should follow HTSJDK or SAMTOOLs. I checked "gatk-workflows:five-dollar-genome-analysis-pipeline". It calls "picard.jar SortSam" to create
I will run GATK::ApplyBQSR, it can pick up both
Description
Our adamajava tools create SAM/BAM outputs by calling org.qcmg.picard.SAMOrBAMWriterFactory, but it won't create CRAM output. Here we update the code but not API, it will make CRAM output if the output file name ending with .cram. The detailed changes are:
Type of change
How Has This Been Tested?
Existing unit tests are updated and new unit tests for CRAM file is added
Are WDL Updates Required?
No
Checklist: