The frontline support team will be unavailable to answer questions until May27th 2019. We will be back soon after. Thank you for your patience and we apologize for any inconvenience!

picard downsampling cram files failed!

Dear GATK,

I am trying to conduct downsampling on our cram file. However, the run failed!

Here is the command line I used:
java -Xmx16G -jar /software/picard.jar DownsampleSam I=H2NCHCCXY-7.hgv.cram O=ds.cram P=0.2 R=12345 REFERENCE_SEQUENCE=/next-gen/Illumina/bwa_references/g/GRCh38_1000Genomes/GRCh38_full_analysis_set.fa

the java version is jdk1.8.0_74

The Picard version is: 2.10.6

the error messages:
ERROR 2017-08-01 15:22:35 Slice Reference MD5 mismatch for slice 0:248733152-248765543, CACAGATTCT...TGATTATCTC
[Tue Aug 01 15:22:35 CDT 2017] picard.sam.DownsampleSam done. Elapsed time: 9.41 minutes.
To get help, see
Exception in thread "main" htsjdk.samtools.cram.CRAMException: Reference sequence MD5 mismatch for slice: sequence id 0, start 248733152, span 32392, expected MD5 83849184708b9131cb455f52e70da52d
at htsjdk.samtools.CRAMIterator.nextContainer(
at htsjdk.samtools.CRAMIterator.hasNext(
at htsjdk.samtools.SamReader$AssertingIterator.hasNext(
at htsjdk.samtools.util.PeekableIterator.advance(
at picard.sam.DownsampleSam.doWork(
at picard.cmdline.CommandLineProgram.instanceMain(
at picard.cmdline.PicardCommandLine.instanceMain(
at picard.cmdline.PicardCommandLine.main(

I searched the internet and wasn't able to find the solution. Please help! Thanks!




Sign In or Register to comment.