-
Notifications
You must be signed in to change notification settings - Fork 77
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
Quast error about internet connection #8
Comments
Looks like this was actually a network problem. |
I realize this issue is marked closed, but I've just encountered this error, and thought it would better to post here, rather than open a new issue. Anyway, I definitely have internet access, so I don't have any idea why that error's being thrown. Any suggestions on where to look or how to proceed would be greatly appreciated. Here're the contents of the
|
I'm having the same issue. I'm running metaquast on an AWS EC2 instance which has internet access. I have been running it successfully until about last week. Could there be a change to the NCBI API? |
Was also wondering if government shutdown was possibly impacting access? |
I fixed the problem by adding "time.sleep(1)" to the source code quast_lib/search_references_meta.py method "def try_send_request(url)". |
Thanks for this! This alleviated the issue for me. |
Never mind. Got too excited, too quickly! Although I didn't get an NCBI connection error, I did get a |
import time at the beginning of the file
|
In order to alleviate the
Insert that line somewhere at the top of the script with the other |
I randomly happened to run into this issue at the same time as you guys; the |
Thanks @ChunfangZheng, @kubu4 and @holtjma -- we added By the way, if you find a problem related to a closed issue feel free to reopen it! |
Hi, sorry if I'm missing the resolution to this elsewhere but I'm running quest 5.0.2 in metaquast mode and still getting this issue downloading references from NCBI. My network isn't having any issues that I can find, is there another workaround that you might suggest? Thanks! Version: 5.0.2 System information: Started: 2019-11-20 08:35:15 Logging to /home/mwoodwo/prj/PREMIX/mg/03.quast_output/metaquast.log Contigs: No references are provided, starting to search for reference genomes in SILVA 16S rRNA database and to download them from NCBI... 2019-11-20 08:35:28 2019-11-20 08:35:36 ERROR! Cannot established internet connection to download reference genomes! Check internet connection or run MetaQUAST with option "--max-ref-number 0". |
Hi, |
thanks so much, this is working!
m
… On Nov 20, 2019, at 10:03 AM, alexeigurevich ***@***.***> wrote:
Hi,
Unfortunately, we didn't release a new version of Quast for a while, so the current latest release (version 5.0.2) is not yet affected by the fix mentioned here (I mean using time.sleep(1)).
So, could you please try to apply the fix locally to your copy of 5.0.2 and check whether it works for you?
To do so, please download the fixed copy of search_references_meta.py <https://raw.githubusercontent.com/ablab/quast/32a76ecd7d0b6419840f0d9d4351109dc669f070/quast_libs/search_references_meta.py> (use Right-Click and "Save as" menu), and put it in <your_quast_installation_dir>/quast_libs/ dir to replace the old version. After that, try to restart Quast.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#8?email_source=notifications&email_token=AI7M44RI3VFW72BDYL6ZWFTQUVGVVA5CNFSM4BOXBBBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESIQFA#issuecomment-556042260>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI7M44W65DZSJHE5GD5Z4YLQUVGVVANCNFSM4BOXBBBA>.
|
I am having the same issue with a newer version of quast when I try to run it over a series of assemblies using a slurm array.
This is how I try to run it:
And this is the error I got
Thank you, |
Dear @Gian77 How is it going? The option Dear @alexeigurevich, any advice will be appreciated. Saludos. |
Hello @MaryoHg, no, I still have that issue. @alexeigurevich any solve? Thanks, G. |
I am also facing the same issue with the latest version (5.2.0) Trying to download found references from NCBI. Totally 35 organisms to try. ERROR! Cannot established internet connection to download reference genomes! Check internet connection or run MetaQUAST with option "--max-ref-number 0" to disable reference search in the NCBI database. |
HI @Gian77 @MaryoHg could you solve the problem? 'm gettin the same error ERROR! Cannot established internet connection to download reference genomes! Check internet connection Thanks! |
Dear @MCeciC I ran the I'll try the same run on the server. I'm thinking about the changes from I'll update you. Cheers, |
Dear authors,
I am attempting to run quast on some metagenomic assemblies. It seems that quast is able to download some of the references, however it terminates after a certain point, even if I repeat the command.
I am unable to find any other logs files to further troubleshoot this problem... I would be happy to send over my contig fasta file so that you may be able to test it yourself.
Best,
Shaman
The text was updated successfully, but these errors were encountered: