NCBI Will Retire rsync Support for FTP Downloads on June 1, 2026:
https://ncbiinsights.ncbi.nlm.nih.gov/2026/03/25/retire-rsync-support-ftp-downloads/
Apparently this affects MEDI download and database build already now.
In the download R script, I managed to get it running with this replacement code using wget:
ncbi_rsync <- function(url, out) {
ret <- system2(
"wget",
c(
"--retry-connrefused",
"--waitretry=1",
"--read-timeout=60",
"--timeout=60",
"-t", "1",
"-O", out,
url
)
)
Sys.chmod(out, "0755")
return(ret)
}
and in the build_kraken.nf, adding the --use-ftp flag to the kraken2-build command seems to resolve additional issues
NCBI Will Retire rsync Support for FTP Downloads on June 1, 2026:
https://ncbiinsights.ncbi.nlm.nih.gov/2026/03/25/retire-rsync-support-ftp-downloads/
Apparently this affects MEDI download and database build already now.
In the download R script, I managed to get it running with this replacement code using wget:
and in the build_kraken.nf, adding the
--use-ftpflag to the kraken2-build command seems to resolve additional issues