-
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
unexpected FTP path (new server?) #508
Comments
I figured it out by myself, just simply change line 46 in the rsync_from_ncbi.pl: if (! ( |
hi,excuse me ,could you help me how to use your codes? for example, I want to download the kraken2 standard db ,by using"kraken2-build --use-ftp --standard --threads 24 --db database/", so how can I use your codes to change or correct my codes? |
Hi, you only need to change the "ftp" into "https" in the rsync_from_ncbi.pl file. Do not modify other codes. kraken2-build --use-ftp --standard --threads 24 --db database/ is a command you need to run in linux system. |
谢谢老师,我回去试试,还有想请问老师,就是rsync_from_ncbi.pl这个.pl文件在linux的什么位置? |
在kraken2的文件夹里 |
尊敬的lynngao老师,最近多有打扰,十分感谢老师您耐心的回答我的问题,处理这个问题太曲折了。先是按照您的指导,使用find命令找到了rsync_from_ncbi.pl 这个文件,手动 (就是将文件下载下来,修改后再替换原文件,因为我不会用linux命令在线修改)修改了rsync_from_ncbi.pl的第46行的https,结果还是报错,提示还是unexpected FTP path (new server?)故我怀疑修改的不彻底,kraken2依托的conda环境的rsync_from_ncbi.pl 也需要修改,故按照老师的指导将ftp改成https,还是报错(我都快崩溃 |
看了别的issue都没解决问题,到这里解决了,非常感谢 |
I work with Kraken2 on a cluster computing system, and ran into the same rsync error as others (for multiple reference libraries/datasets). I asked the cluster admin to change the code on line 46 and that resolved the issue :) |
@shengxin450 @lynngao ,If you created the kraken2 environment by (mini)conda, so I paste my codes as the example, then you can follow the similar steps below and make the edition,
if (! (
|
worked for the kraken2 installed from conda, but I had to change the same line also from a local installation of kraken2. |
kraken2的数据库是超级难安装 |
Thank you very much. Very helpful! |
Hi there,
I used this command to download standard library:
kraken2-build --use-ftp --standard --threads 24 --db database/
and the error message shows like this:
Downloading nucleotide gb accession to taxon map... done.
Downloading nucleotide wgs accession to taxon map... done.
Downloaded accession to taxon map(s)
Downloading taxonomy tree data... done.
Uncompressing taxonomy data... done.
Untarring taxonomy tree data... done.
rsync_from_ncbi.pl: unexpected FTP path (new server?) for https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/762/265/GCF_000762265.1_ASM76226v1
I checked on the ncbi directory this GCF_000762265.1_ASM76226v1 folder actually exists, but don't know why this error occurs. Is there any solution for this? Thank you so much!
The text was updated successfully, but these errors were encountered: