kraken2: kraken2 download library fail
Hello,
I am using Kraken2 v2.1.2. When trying to download library ./kraken2-build --download-library viral --db viral_db I get the following error.
rsync: link_stat “/all/GCF/002/957/295/GCF_002957295.1_ASM295729v1/GCF_002957295.1_ASM295729v1_genomic.fna.gz” (in genomes) failed: No such file or directory (2) rsync: link_stat “/all/GCF/006/869/785/GCF_006869785.1_ASM686978v1/GCF_006869785.1_ASM686978v1_genomic.fna.gz” (in genomes) failed: No such file or directory (2) rsync: link_stat “/all/GCF/003/034/835/GCF_003034835.1_ASM303483v1/GCF_003034835.1_ASM303483v1_genomic.fna.gz” (in genomes) failed: No such file or directory (2) rsync: link_stat “/all/GCF/002/957/515/GCF_002957515.1_ASM295751v1/GCF_002957515.1_ASM295751v1_genomic.fna.gz” (in genomes) failed: No such file or directory (2) rsync: link_stat “/all/GCF/003/014/195/GCF_003014195.1_ASM301419v1/GCF_003014195.1_ASM301419v1_genomic.fna.gz” (in genomes) failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [generator=3.1.1] rsync_from_ncbi.pl: rsync error, exiting: 5888
Not sure what is going on. I built a library using the exact command two days ago and it was working fine.
Many thanks, Rebecca
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 6
- Comments: 20
Here is the complete and modified code for the rsync_from_ncbi.pl file. Don’t hesitate if there is a problem.
Hi @ATVincent, this script works for me in downloading the viral library. Many thanks.
Just a small correction, the file is rsync_from_ncbi.pl, not rsyinc_from_ncbi.pl as written at the top. In case people have problem finding the file.
Did this get solved?
I ran into the same problem this morning after installing Kraken2 from conda:
It sure would be good for kraken2 not to fail on these errors…
Hello !
I’m using kraken2 v2.1.2 on a linux computer, I’m using this command : kraken2-build --standard --use-ftp --db database_kraken2
No matter if I change the “rsync_from_ncbi.pl” file from “^ftp://” to “^https://”, the same error is occuring : “rsync_from_ncbi.pl: unexpected FTP path (new server?)”
Even if I try to download : bacteria, viral library the issue still here.
When I downloaded taxonomy no errors happened. Maybe it could helps.
If you have any solutions I would be grateful to use it. Thanks !
Thank you @ATVincent for posting here the full code to the modified script!