-
Notifications
You must be signed in to change notification settings - Fork 6
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
Infinite loop: Use of uninitialized value $currGI in numeric lt (<) at mkGottchaTaxTree.pl line 1037. #2
Comments
Hey Frank, Not part of the team there at LANL but I've been wrestling with building a custom db myself the past couple days. I'm currently stuck at the gottcha_db.pl part, with the following error: ... Any idea what that 'Not a HASH reference' means? I checked in the actual code and can't make much sense of it. Thanks, |
Hi Francisco, Sorry for my late reply. We are short handed for a while. I just pushed 2 fixes to the github. Let me know how it works. Thanks, |
Hey Robert, If you follow your own link (ftp.ncbi.nih.gov/genbank/genomes/Viruses), you'll find out it doesn't exit, which is exactly why I'm having problems with the script. I can generate the files just fine if I only use bacterial genomes, but when it comes to viruses, I get an infinite loop. Hi Paul, I will try it now and give you some feedback as soon as I have results. Thank you, |
Hello again, perl mkGottchaTaxTree.pl --names=/path/names.dmp --nodes=/path/nodes.dmp --genomes=/path/genomes.txt --genbank=/path/genbank.txt --gi2taxid=/path/gi_taxid_nucl.dmp --threads=8 genomes.txt includes all the viral genomes and one bacteria file, added to check if the problem was somehow only related to viruses. log: (genbank entry of the one bacteria i've included - Acaryochloris marina MBIC11017, extracted from ftp.ncbi.nih.gov/genbank/genomes/Bacteria/. On the pre-patched version this didn't happen.) -> Parsing Genbank files for vital data (each '.' = 250 records).done. 0 wallclock secs ( 0.04 usr + 0.00 sys = 0.04 CPU) The following files in /raid/user2/francisco/GOTTCHA-files/GOTTCHA-test/genomes.txt were not found on disk: (list of all 10142 viral genomes i've supplied are printed here in gbk format.) -> Parsing Genbank files for vital data (each '.' = 250 records).........................................done. 1 wallclock secs ( 0.69 usr + 0.01 sys = 0.70 CPU) -> Processing /raid/user2/francisco/GOTTCHA-files/gi_taxid_nucl/gi_taxid_nucl.dmp... After this I get the following error: Basically, it's the same error on a different line. Could this be related to the fact that I am not getting my virus genbank info from the ftp but querying using eutils? I have to use this because the ftp virus folder is missing some very important entries I need. |
Hello,
I'm trying to generate a new taxonomic tree (described on Generating the taxonomic tree and genome vitals references) to use with gottcha using a specific set of viral genomes.
I generated a .gbk and .fasta file for those specific viruses which I used to run mkGottchaTaxTree.pl. For the .dmp files I downloaded the sets from the ncbi ftp.
Here's the command I ran:
perl mkGottchaTaxTree.pl --names=[path]/names.dmp --nodes=[path]/nodes.dmp --genbank=[path]/ViralGenomes.gbk --genomes=[path]/ViralGenomes.fasta --gi2taxid=[path]/gi_taxid_nucl.dmp --threads=8
Running this seems to generate an infinite cycle, printing out this message: "Use of uninitialized value $currGI in numeric lt (<) at mkGottchaTaxTree.pl line 1037.". In fact, the logfile was ~350 GB worth of this message (I killed it after this).
Any ideas on why this might be happening?
Francisco.
The text was updated successfully, but these errors were encountered: