-
Notifications
You must be signed in to change notification settings - Fork 41
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
amrfinder_update cannot connect to FTP and thus download #bug #help #120
Comments
Can you run this command?
|
This URL is accessible: https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/ |
There is no separate step "installation".
If the files are downloaded manually then they can be indexed by https://github.com/ncbi/amr/wiki/Upgrading#database-updates
|
I think Slava covered it above, but just wanted to add pointers to the documentation for Please let us know if you are still having trouble or if you managed to get it working in case others are having this issue. |
No. This gives the following error:
Still,curl can access the available URL:
For now, I manually dowloaded the databases and formatted them with 'amrfinder_index' as suggested, and it runs fine when pointing to the database using '-d', thanks a lot. Still, it would be good to know why 'amrfinder_update' is not working, since I am trying to use AMRfinder wrapped in 'bakta', and I cannot point to the appropriate database there. I suspect there is a problem with proxy certificates, since the conda recipe installs its own version of 'curl' and 'openssl'. Setting this ip inside a conda environment is beyond my expertise though. |
Thanks for the report. We haven't, so far, been able to replicate the issue, but we're trying to figure out what could be going on with this. There appears to be something different about the what libcurl is doing when called by AMRFinderPlus and what the command-line curl is doing, but we haven't figured anything out yet. We'll look into it and hopefully find something. You're the second person we've heard having trouble with updates from within BAKTA. I don't think it's something BAKTA-specific, but as you suggest it could also be bioconda-related. Do you know if you're running a version of command-line curl installed with bioconda? Thanks again for your report, we're still trying to figure it out. |
Was your |
AMRFinderPlus release 3.11.14 This release addresses a few issues brought up on GitHub. We weren't able to solve all of them when we couldn't reproduce them, but we are trying. Changes: - On failure no `-o` output file is created - #115 - AMRFinderPlus will now automatically decompress files ending in .gz with gunzip (relies on gunzip being in PATH) - #61 - AMRFinderPlus does not support unicode, but it no longer checks GFF files to prohibit unicode characters specifically - #119 - Add reporting of curl error messages - #120
Please try the newly released |
This release addresses a few issues brought up on GitHub. Changes: - On failure no `-o` output file is created - ncbi/amr#115 - AMRFinderPlus will now automatically decompress files ending in .gz with gunzip (this relies on gunzip being in PATH) - ncbi/amr#61 - AMRFinderPlus does not support unicode, but it will not check GFF files to prohibit extended ASCII or UTF-8 characters specifically (still prohibits GFF files with ASCII control characters 0x00 and 0x1F) - ncbi/amr#119 - Add reporting of curl error messages - ncbi/amr#120
I got the same error:
What can I do? |
Can you connect to
from your browser on the computer where |
Also it would be better to use the most recent available version (3.11.26) of |
Hello,
I'm struggling installing AMRFinder in my institution. It keeps failing because it cannot find the ftp site:
but curl is working fine:
So two questions:
Is there any way to separate database installation from download?
I downloaded and indexed the databases manually, but when I run 'amrfinder' it cannot find the path of the databases by default. Since I am working with a wrapper that I cannot edit, and the binaries in AMRFinder are uneditable, is there any way to change the default path where amrfinder looks for the database?
Thanks.
The text was updated successfully, but these errors were encountered: