• Bent Petersen

Kraken2: "rsync_from_ncbi.pl: unexpected FTP path (new server?) for

I needed to download new databases for Kraken2, but kept running into the same error:

rsync_from_ncbi.pl: unexpected FTP path (new server?)for https://..

There were many different solutions online, but none of them worked, despite the fact that the code should be updated.

For a very long time, I felt like this...



https://xkcd.com/979/
https://xkcd.com/979/


But, after some time I figured it out by myself, and thought I would share the solution with you all :-)


You just simply need to edit line 46 in the file: rsync_from_ncbi.pl

from

if (! ($full_path =~ s#^ftp://${qm_server}${qm_server_path}/##)) {

to

if (! ($full_path =~ s#^https://${qm_server}${qm_server_path}/##)) {

Thats it...




138 views0 comments

Recent Posts

See All