Downloads a pre-compiled DIAMOND2 binary from the official
GitHub releases (https://github.com/bbuchfink/diamond/releases) that
matches the operating system of the user and stores it in a user-level cache
directory (see R_user_dir). No administrator rights are required.
Once installed, diamond, diamond_best,
diamond_rec, set_diamond, deepclust and
deepclust_realign find the cached binary automatically whenever
path = NULL and no diamond is available on the PATH.
Value
Invisibly, the directory containing the diamond executable. This can be passed
to the path argument of the DIAMOND functions.
Details
Pre-compiled binaries are provided upstream for Linux (x86_64), macOS and Windows (x86_64).
On other platforms (e.g. Linux ARM) please install DIAMOND via conda:
conda install -c bioconda diamond.
Examples
if (FALSE) { # \dontrun{
diamond_install()
diamond_path()
} # }
