voutcn / megahit

Ultra-fast and memory-efficient (meta-)genome assembler
http://www.ncbi.nlm.nih.gov/pubmed/25609793
GNU General Public License v3.0
585 stars 134 forks source link

Ubuntu WSL and Open-Suse server megahit_core read2sdbg #347

Open feeka opened 1 year ago

feeka commented 1 year ago

I tried to execute megahit_core read2sdbg using WSL - Ubuntu, but unfortunately it returned the following error:

./megahit_core read2sdbg --read_lib_file ../../SRR19450608.fastq.gz --o out --host_mem 0.9
--------------------------------------------------

INFO  sorting/base_engine.cpp       :  148 - Preparing data...
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

P.s.: I also utilized the tool by installing or compiling but still get the same error... I am not sure what is happening.

P.p.s.: I also utilized the compiled version of the tool(using instructions provided on the Github Readme) on Open-Suse server with 750Gb memory RAM but unfortunately the same error occurred. Maybe I am not using the right arguments.

Thanks ahead, Best regards, Fikrat