-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error - std::bad_alloc during "calling consensus sequence between anchors" #5
Comments
Hi Jeff, Sorry that I was busy with other stuff and got back to this so late. |
Hello, I also got this same error. I ran it on a node with 80 CPUs and 1500GB of RAM. I was able to run the sample dataset with no problems. The output is below for the .err file. Please let me know what other information you might need. I will also start tinkering with parameters as jelber2 did in #11 and see if I get lucky. [NOTE] number of threads: 80 [NOTE] loading contig sequences... [NOTE] calculating kmer frequency of unique contigs [NOTE] loading long read sequences... [NOTE] loading alignment between contigs and long reads... [NOTE] fixing overlapping alignments... [NOTE] building compact long reads... [NOTE] building the backbone graph... [NOTE] cleaning weak edges... [NOTE] cleaning tips... [NOTE] cleaning simple bubbles... [NOTE] cleaning super bubbles... [NOTE] cleaning small bubbles... [NOTE] calculating long read coordinates between anchors... [NOTE] calling consensus sequence between anchors... |
I think I was able to reproduce this bug. I'm working on it and will update you. |
Hi @haghshenas ! I also got the same error recently on 35 CPUs and 2800 GB RAM trying to assemble a 2.3Gbp genome with illumina and ont data. Just would like to know if there is any solution or workaround. Would be great to test this assembler! |
Hi, Thank you very much for offering this great tool! For supporting the issue: My call: The error messages are: And in asm_contigs_k49_a3_c250_lr25x_b500_s3_sim0.85.err: Best wishes, |
Hi @haghshenas, I also got the same error trying to assemble a small genome (32.5 Mb) (Thalassiosira pseudonana) on two different system (Ubuntu 20.04 - 64 Gb RAM - 40 Threads and Debian 9 - 400 Gb RAM - 40 Threads). I use different subsample (15X to 100X coverage) of a large dataset (SRA SRR7762361) to assemble the genome and the only dataset that fails with this error is the dataset with 15X coverage. The command I used is :
I do not have any clue on why this specific dataset failed or if this is really related to this issue since this seesm to affect large gigabase sized genomes. I hope this additional information can be any valuable to you. Regards, |
So, what's the solution to "terminate called after throwing an instance of 'std::bad_alloc'" |
I've also run into this issue with the same error during
Has there been any progress on solving this issue since 2020? Looking at this issue from STAR, it's likely not an issue with available memory but the number of headers in the initial short read assembly. Any advice/fixes? |
[NOTE] calling consensus sequence between anchors...
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Compute resource seems to be ample from a memory perspective...node has 768GB of ram. Monitoring with top, the task seemed to be around 330GB when error occurred.
Input data:
(Haslr) pinnacle-l4:jpummil:/scrfs/storage/jpummil/C.vittatus$ ls -lh *.fastq
-rw-r--r--. 1 jpummil jpummil 13G Feb 6 11:07 NU2WGS_R1.fastq
-rw-r--r--. 1 jpummil jpummil 13G Feb 6 11:09 NU2WGS_R2.fastq
-rw-r--r--. 1 jpummil jpummil 31G Feb 6 11:16 Q1133andQ1171.fastq
input script:
haslr.py -t 24 -g 700m -o RUN1 -l Q1133andQ1171.fastq -x pacbio -s NU2WGS_R1.fastq NU2WGS_R2.fastq
The text was updated successfully, but these errors were encountered: