Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BethMH
    Junior Member
    • Jan 2014
    • 2

    #1

    Bad hash size error in Jellyfish

    Hi all,

    I'm using Trinity for the first time on some data we've been sent by a colleague. I'm getting this error during the Jellyfish stage - I wondered if any of you have any insights?

    Here's the error:

    perl Trinity.pl --seqType fq --JM 30G --single ../../../../data/Easp_VT.fastq --CPU 4
    Current settings:
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 8192
    coredump(blocks) 0
    memory(kbytes) unlimited
    locked memory(kbytes) 64
    process unlimited
    nofiles 1024
    vmemory(kbytes) unlimited
    locks unlimited


    -since butterfly will eventually be run, lets test for proper execution of java
    #######################################
    Running Java Tests
    Thursday, January 23, 2014: 10:05:30 CMD: java -Xmx64m -jar /Trinity/util/ExitTester.jar 0
    CMD finished (0 seconds)
    Thursday, January 23, 2014: 10:05:30 CMD: java -Xmx64m -jar /Trinity/util/ExitTester.jar 1
    -we properly captured the java failure status, as needed. Looking good.
    Java tests succeeded.
    ###################################

    -------------------------------------------
    ----------- Jellyfish --------------------
    -- (building a k-mer catalog from reads) --
    -------------------------------------------

    Thursday, January 23, 2014: 10:05:55 CMD: /Trinity/trinity-plugins/jellyfish/bin/jellyfish count -t 4 -m 25 -s 409974768 single.fa
    CMD finished (2344 seconds)
    Thursday, January 23, 2014: 10:44:59 CMD: /Trinity/trinity-plugins/jellyfish/bin/jellyfish merge -o jellyfish.kmer.db mer_counts_0 mer_counts_1 mer_counts_2 mer_counts_3 mer_counts_4 mer_counts_5 mer_counts_6 mer_counts_7 mer_counts_8 mer_counts_9
    terminate called after throwing an instance of 'jellyfish::compacted_hash::ErrorReading'
    what(): 'mer_counts_0': Bad hash size '4467145872', expected '4494027120' bytes
    Error, cmd: /Trinity/trinity-plugins/jellyfish/bin/jellyfish merge -o jellyfish.kmer.db mer_counts_0 mer_counts_1 mer_counts_2 mer_counts_3 mer_counts_4 mer_counts_5 mer_counts_6 mer_counts_7 mer_counts_8 mer_counts_9 died with ret 6 at Trinity.pl line 1793.
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    You *may* be running out of memory. What is the memory size in your system? Using a small '-JM' size could be useful. It should only increase the time to run Jellyfish by a small amount.

    Comment

    • vivek_
      PhD Student
      • Jul 2012
      • 164

      #3
      I'd also check the version of perl, some older versions have a memory cap.

      Comment

      • BethMH
        Junior Member
        • Jan 2014
        • 2

        #4
        Thanks, it does appear to have been a memory problem and reducing the -Jm seems to have solved it.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          The Factors Reshaping Genome Assembly
          by SEQadmin2



          When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
          11-24-2026, 07:04 AM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-23-2026, 11:11 AM
        0 responses
        39 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-17-2026, 06:27 AM
        0 responses
        47 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Working...