Closed shigdon closed 1 year ago
Hi @shigdon , that's weird. I just tested the entire round-trip w/o issues. Maybe this was indeed a temp issue with the NCBI server?
However, there's one issue with your amrfinder_update
command: the db path should be /ceph/db/bakta/db/amrfinderplus-db
in order to let Bakta find the AMRFinderPlus DB within the Bakta db.
This this error still occuring?
I'll close this for now. Please do not hesitate to re-open it in any case. Best regards!
Hello, I'm having the same error. I downloaded the AMR database manually and set it in '/home/bioinf/bioinf_archive/98_mökiDatabases/bakta/db/amrfinderplus-db', but it still fails:
amrfinder_update --database /home/bioinf/bioinf_archive/98_mökiDatabases/bakta/db/amrfinderplus-db
Running: amrfinder_update --database /home/bioinf/bioinf_archive/98_mökiDatabases/bakta/db/amrfinderplus-db
Looking up the published databases at https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/
*** ERROR ***
CURL: Cannot read from https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/
HOSTNAME: ?
SHELL: /bin/bash
PWD: /home/bioinf
PATH: /home/bioinf/mambaforge/envs/bakta/bin:/home/bioinf/mambaforge/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Progam name: amrfinder_update
Command line: amrfinder_update --database /home/bioinf/bioinf_archive/98_mökiDatabases/bakta/db/amrfinderplus-db
I thought this might be a certificate issue with curl, but curl is working:
curl https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /pathogen/Antimicrobial_resistance/AMRFinderPlus/database</title>
</head>
<body>
<h1>Index of /pathogen/Antimicrobial_resistance/AMRFinderPlus/database</h1>
<pre>Name Last modified Size <hr><a href="/pathogen/Antimicrobial_resistance/AMRFinderPlus/">Parent Directory</a> -
<a href="3.10/">3.10/</a> 2021-12-22 13:07 -
<a href="3.2/">3.2/</a> 2019-10-31 11:24 -
<a href="3.6/">3.6/</a> 2020-03-25 08:36 -
<a href="3.8/">3.8/</a> 2020-10-02 15:43 -
<a href="3.9/">3.9/</a> 2020-12-21 10:09 -
<a href="3.10/">3.10/</a> 2022-10-12 10:00 -
<a href="3.11/">3.11/</a> 2022-10-12 10:00 -
<a href="latest/">latest/</a> 2021-12-22 13:19 -
<hr></pre>
Why does 'bakta' needs to run an update of AMRFinder if the database was manually downloaded? Could it be possible to prepare these databases manually and simply point to the directory where they are installed?
Thanks in advance! /
Hello,
I am attempting to use this tool and am beginning with database installation on my institutions HPC. I am accessing bakta via Conda environment.
I've tried to see if there is another issue related to this one to see if I can solve this but did not find anything.
Here are the contents of
db/
I've tried running the
bakta_proteins
function since that is what I am primarily interested in calling, but have encountered this error:I then tried to follow the instruction prompt:
There seems to be a problem with reading from the NCBI ftp server.
Is there a known fix for this or something I can do to work around? Any help is very appreciated. Thank you!