-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Download does not work #444
Comments
Sadly the log has no clues like an error message:
You said there was an error - was there an error message, or did the tool seem to hang with no sign of any progress? |
Sorry I did not realize that the log file does not contain the full output. It did not hang just saying that it ignores all 4 genomes as refseq or genebank. Attached the full output. Thanks for the fast reply Regards Christoph |
I used the ftp urls with wget and there is no problem downloading the file. So its not a firewall issue. |
I also tried a different taxon ID but the Problem remains. |
The key part of that looks to me: The latest version of the code (looking at the master branch since you didn't say which version you were using) does the FTP download with In the meantime, perhaps https://github.com/kblin/ncbi-genome-download or similar would get you going? |
The version is
Yes, I used wget with the url and it downloaded the file without problems.
|
Hi both, I've just run the exact same command from the train into work. The download seems to have completed fine, for me. This is from the log file:
However, the first time I ran the command we went into a tunnel and I lost connection. This gave a Is the error you see persistent and reproducible @ChristophKnapp ? If it is, then as the code and command appears to work as intended on other machines and in other situations, I would suspect a local issue on that machine, but I don't have enough information to diagnose it, I'm afraid. Cheers, L. |
Thank you for your efforts. It is consistent in terms that it fails. I tried the exact example here in this git in the morning and it partially downloaded the expected results. It downloaded some genomes which are not part of the expected output though. I assume this is because the taxon changed over time. Nevertheless I don't have md5 files or fasta or hashfiles for most of them. The classes and labels files contain only 2 entries. Somehow the connection seems flaky, cutting in and out. I think I did not see that because the taxons I tried before were a lot smaller. I think it has something to do with my setup here. |
That is unfortunate - that it works sometimes or at least for smaller genomes, does point to the connection being weak. I'm not sure there is much we can do - they only thing I can think of trying is switching from FTP to HTTPS which many of the NCBI resources support. |
I try to download all genomes of a taxon. Ending up with empty output and a lot of warnings.
pyani download -o tax326423 --email christoph.knapp01@gmail.com -t 326423 -v -l pyANI_download.log
...
pyANI_download.log
Genbank and refseq downloads fail.
I'm at ubuntu 24.04
Regards
Christoph
The text was updated successfully, but these errors were encountered: