-
Notifications
You must be signed in to change notification settings - Fork 63
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' #6
Comments
Please make sure you are not running other memory intensive tasks on your system while doing this.
|
(A) for 1000 genome $ /usr/bin/time fastANI --ql 1000_genomes.list --rl 1000_genomes.list -o output.txt (B) For 100 genome, each 3 Mb, output is.. successful run and 7700.57user 1.39system 2:08:32elapsed 99%CPU (0avgtext+0avgdata 1661348maxresident)k
|
Thanks for sharing the info. I tried creating a custom dataset of 1000 E coli genomes at my end but could not reproduce above issue. Let me know if the data you are using is public. |
fastaANI ran properly with 100 genomes. However, increased to 1000 genomes resulted in the following error
Error details:
$ fastANI --ql 1000_genomes.list --rl 1000_genomes.list -o output.txt
Reference = [1.fasta, 2.fasta, ......... 1000.fasta]
Query = [1.fasta, 2.fasta, ......... 1000.fasta]
Kmer size = 16
Fragment length = 3000
ANI output file = /media/network/project_Lm_all/results/43_fastANI/output.txt
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped) fastANI --ql 1000_genomes.list --rl 1000_genomes.list -o output.txt
Hardware details
Processor | 8x Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Memory | 65858MB
Operating System | Ubuntu 16.04.3 LTS
The text was updated successfully, but these errors were encountered: