Skip to content

NCBI Will Retire rsync Support for FTP Downloads on June 1, 2026 #41

Description

@mruehlemann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions