-
Notifications
You must be signed in to change notification settings - Fork 275
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
rsync_from_ncbi.pl: FTP connection error: [Net::FTP] Timeout #895
Comments
I tried to see why rsync isnt working for me, with telnet ftp.ncbi.nlm.nih.gov 873 I get an connection to the NCBI rsync server, which indicates to me that port 873 is reachable, nevertheless I temporarily disabled the firewall. Alas, rsync -v --list-only rsync://ftp.ncbi.nlm.nih.gov/genomes doesnt return either. |
Hello, Can you give k2 a try? It is a Python script that we are working on to replace the current suite of wrapper scripts. You can download a library from NCBI like so:
The To build a database you can run: The N.B. the k2 script that shipped with current release of kraken 2 was very much a work in progress. If you are planning on using the script please fetch the most recent version from the kraken 2 master/main branch. As always, feedback is very much appreciated. |
I tried, but this led to multiple followup problems (most probably due to myself). This sucessfully downloaded a lot of files, but couldnt find the k2mask process. Next I tried to do a fresh complete installation (without conda), using But now
|
Ah, it is trying to use a masker that we added to kraken2 in the last release. You can either build it yourself and copy it to a location in your $PATH or use the Did you experience any issues with downloading the libraries? |
unable to download kraken2 standard database using |
(kraken2) mohitsharma@deep:/data/mohitsharma$ kraken2-build --standard --threads 96 --db kraken2db |
(kraken2) mohitsharma@deep:~$ kraken2-build --standard --threads 96 --db kraken2_db/ --use-ftp rsync_from_ncbi.pl: unable to download all/GCF/023/238/205/GCF_023238205.1_ASM2323820v1/GCF_023238205.1_ASM2323820v1_genomic.fna.gz on try 2 of 5: [Net::FTP] Connection closed |
Did you try the https://github.com/DerrickWood/kraken2/blob/master/scripts/k2 recommended earlier in this thread? |
Thank you very much for your response
k2 build --standard --db standard --threads 96
Yes i tried although the download started but it got stopped at
[12609/51800] Downloading
ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/037/062/045/GCF_037062045.1_ASM3706204v1/GCF_037062045.1_ASM3706204v1_genomic.fna.gz
Saved GCF_037062045.1_ASM3706204v1_genomic.fna.gz to
/data/mohitsharma/kraken2db/standard/library/bacteria/all/GCF/037/062/045/GCF_037062045.1_ASM3706204v1
[12610/51800] Downloading
ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/037/956/065/GCF_037956065.1_ASM3795606v1/GCF_037956065.1_ASM3795606v1_genomic.fna.gz
After this downloading stopped although the process was not terminated
…On Fri, 13 Dec 2024 at 20:24, ch4rr0 ***@***.***> wrote:
Did you try the
https://github.com/DerrickWood/kraken2/blob/master/scripts/k2
<http://script> recommended earlier in this thread?
—
Reply to this email directly, view it on GitHub
<#895 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBNJ6GMVIOQZXAH5KF5IXC32FLYL3AVCNFSM6AAAAABTCMWRRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBRGYZTGNZQGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
*MOHIT SHARMA*
*Ph.D. Scholar*
*CSIR IMTECH*
*(Institute of Microbial Technology)*
*Chandigarh*
|
Using Kraken version 2.1.3
raken2-build --standard --use-ftp --threads 24 --db test-2024-12-05
I get:
without the --use-ftp option I can't even download the taxon map.
I reduced rsync_from_ncbi.pl to the part that create the ftp connection, which does seem to work (at least I was able to download check.txt)
The text was updated successfully, but these errors were encountered: