Skip to contents

lifecycle-experimental

Downloads a pre-compiled MMseqs2 binary from https://mmseqs.com/latest/ and places it in the user data directory for this package. Subsequent calls to find_mmseqs2() will find it automatically.

Usage

install_mmseqs2(
  version = "latest",
  path = tools::R_user_dir("MiscMetabar", "data"),
  force = FALSE
)

Arguments

version

Character. Either "latest" (default) or a specific release tag (e.g. "17-b804f").

path

Destination directory (default: tools::R_user_dir("MiscMetabar", "data")).

force

Logical. Re-download even if already installed?

Value

The path to the installed binary (invisibly).

Author

Adrien Taudière

Examples

if (FALSE) { # \dontrun{
install_mmseqs2()
install_mmseqs2(force = TRUE)
} # }