Unconfigured Ad

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

    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
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          Today, 05:17 AM
        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM
        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 10:08 AM
        0 responses
        6 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 11:05 AM
        0 responses
        8 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-30-2026, 05:37 AM
        0 responses
        29 views
        0 reactions
        Last Post SEQadmin2  
        Working...