Hi!
I've been trying for months now to make a huge meta-transcriptome assembly with Trinity. I have 233 million paired end reads.
According to Trinity documentation (1 gb max memory per million pair reads) I have enough memory in the cluster I'm using. The size of the cluster is pretty big: Five (5) 64-core nodes each with 512GB of memory
In my script, I've specified 24, 32, and 60 CPUs and max_memory of 480, 350, 250, and 235 and every single possible combination between CPUs and max_memory.
At this point I've tried everything, to reduce memory requirements such as --normalize_by_read_set --no_bowtie and every single time I get the same error : "bad_alloc" in the inchworm process.
I reduced the size of my dataset to 160 million paired end reads and I get the same error (error below).
What can I do? Is there anything that I can do to actually get this to work? I'm using the newest version of Trinity.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TIMING KMER_DB_BUILDING 43378 s.
Pruning kmers (min_kmer_count=1 min_any_entropy=0 min_ratio_non_error=0.05)
Pruned 5525040 kmers from catalog.
Pruning time: 78298 seconds = 1304.97 minutes.
TIMING PRUNING 78298 s.
-populating the kmer seed candidate list.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Error, cmd: /data/apps/trinity/r2017-2.4.0/Inchworm/bin//inchworm --kmers jellyfish.kmers.fa --run_inchworm -K 25 -L 25 --monitor 1 --num_threads 6 --PARALLEL_IWORM > /dfs1/bio/alromer1/Trinity_ALL_8/Trinity_ALL_f/inchworm.K25.L25.fa.tmp 2>tmp.63069.stderr died with ret 34304 at /data/apps/trinity/r2017-2.4.0/PerlLib/Pipeliner.pm line 166.
Pipeliner::run('Pipeliner=HASH(0x1db3530)') called at /data/apps/trinity/r2017-2.4.0/Trinity line 2289
eval {...} called at /data/apps/trinity/r2017-2.4.0/Trinity line 2284
main::run_inchworm('/dfs1/bio/alromer1/Trinity_ALL_8/Trinity_ALL_f/inchworm.K25.L...', '/dfs1/bio/alromer1/Trinity_ALL_8/Trinity_ALL_f/both.fa', 'RF', '') called at /data/apps/trinity/r2017-2.4.0/Trinity line 1537
main::run_Trinity() called at /data/apps/trinity/r2017-2.4.0/Trinity line 1263
eval {...} called at /data/apps/trinity/r2017-2.4.0/Trinity line 1262