java.lang.IllegalStateException: A valid CRAM reference was not supplied and one cannot be acquired via the property settings reference_fasta or use_cram_ref_download

GitHub | s-andrews | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Allow CRAM to be read if reference sequences are missing.

    GitHub | 6 months ago | s-andrews
    java.lang.IllegalStateException: A valid CRAM reference was not supplied and one cannot be acquired via the property settings reference_fasta or use_cram_ref_download

    Root Cause Analysis

    1. java.lang.IllegalStateException

      A valid CRAM reference was not supplied and one cannot be acquired via the property settings reference_fasta or use_cram_ref_download

      at htsjdk.samtools.cram.ref.ReferenceSource.getDefaultCRAMReferenceSource()
    2. htsjdk.samtools.cram
      ReferenceSource.getDefaultCRAMReferenceSource
      1. htsjdk.samtools.cram.ref.ReferenceSource.getDefaultCRAMReferenceSource(ReferenceSource.java:108)
      1 frame
    3. HTS JDK
      SamReaderFactory$SamReaderFactoryImpl.open
      1. htsjdk.samtools.SamReaderFactory$SamReaderFactoryImpl.open(SamReaderFactory.java:301)
      2. htsjdk.samtools.SamReaderFactory$SamReaderFactoryImpl.open(SamReaderFactory.java:145)
      2 frames