Dear all,
I have been banging my head against my desktop for a while figuring out why my RNAseq assemblies on my institution's cluster would crash with more than one library's reads per assembly (60 M PE reads; runs fine with 20M PE). I followed lots of threads and blog question and added the "--verbose" to see more details on the errors. I found that Jellyfish is running out of memory, can't allocate enough, or seems that way, but in the v2 version I can't try to adjust it with the old --JM command. I requested 32 cores and 125 G of RAM for this analysis but cannot change Jellyfish's memory. Is there a way?
Could anybody help me? I concatenated all the PE reads no problem to make the both.fa file...
This is my output window and run.log errors:
>>>>>>
#######################################
Running Java Tests
Tuesday, March 17, 2015: 21:40:09 CMD: java -Xmx64m -jar /home/applications/trinity/2.0.3/util/support_scripts/ExitTester.jar 0
Picked up _JAVA_OPTIONS: -Xms128m -Xmx1024m
Error, do not understand options: --JM 70G --bflyHeapSpaceMax 125G --bflyHeapSpaceInit 3900M --bflyCPU 32 --inchworm_cpu 32CMD finished (1 seconds)
Tuesday, March 17, 2015: 21:40:10 CMD: java -Xmx64m -jar /home/applications/trinity/2.0.3/util/support_scripts/ExitTester.jar 1
Picked up _JAVA_OPTIONS: -Xms128m -Xmx1024m
-we properly captured the java failure status, as needed. Looking good.
Java tests succeeded.
###################################
----------------------------------------------------------------------------------
-------------- Trinity Phase 1: Clustering of RNA-Seq Reads ---------------------
----------------------------------------------------------------------------------
-------------------------------------------
----------- Jellyfish --------------------
-- (building a k-mer catalog from reads) --
-------------------------------------------
Tuesday, March 17, 2015: 21:40:20 CMD: /home/applications/trinity/2.0.3/trinity-plugins/jellyfish/bin/jellyfish count -t 32 -m 25 -s 17531127145 both.fa
terminate called after throwing an instance of 'jellyfish::large_hash::array_base<jellyfish::mer_dna_ns::mer_base_static<unsigned long, 0>, unsigned long, atomic::gcc, jellyfish::large_hash::array<j$
what(): Failed to allocate 67527304624 bytes of memory
Error, cmd: /home/applications/trinity/2.0.3/trinity-plugins/jellyfish/bin/jellyfish count -t 32 -m 25 -s 17531127145 both.fa died with ret 134 at /home/applications/trinity/2.0.3/Trinity line 2110.
Trinity run failed. Must investigate error above.
<<<<<<<
###If I try the old solution my script won't run
Error, do not understand options: --JM 70G --bflyHeapSpaceMax 125G --bflyHeapSpaceInit 3900M --bflyCPU 32 --inchworm_cpu 32
Thanks for any insight!
--Hernán