DerrickWood / kraken2

The second version of the Kraken taxonomic sequence classification system
MIT License
730 stars 274 forks source link

Issue with plusPFP download #873

Closed ShaktiprasadM closed 3 months ago

ShaktiprasadM commented 3 months ago

Used kraken2-build --standard --db PlusPFP. Got this error : 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. Saw the solution in #226. Tried that. Doesn't work.

ShaktiprasadM commented 3 months ago

Found an error in Line 48 of rsync_from_ncbi.pl. if (! ($full_path =~ s#^ftp://${qm_server}${qm_server_path}/##)). Changed it to if (! ($full_path =~ s#^https://${qm_server}${qm_server_path}/##)) instead. and it worked.