install_itsxpress: Install ITSxpress in a conda environment

View source: R/itsxpress_pq.R

install_itsxpressR Documentation

Install ITSxpress in a conda environment

Description

lifecycle-experimental

ITSxpress (Rivers et al. 2018; Einarsson & Rivers 2024) is a Python tool that requires VSEARCH, HMMER 3 and Biopython. The simplest way to install all of them is the bioconda package, which this function installs in a dedicated conda environment. It returns the string to pass as args_before_itsxpress to itsxpress_pq() and is_itsxpress_installed(), which activates that environment before each call.

Usage

install_itsxpress(env_name = "itsxpressenv", conda = NULL, force = FALSE)

Arguments

env_name

(default: "itsxpressenv") Name of the conda environment.

conda

(default: NULL) Path to mamba or conda. If NULL, mamba then conda are looked up on the PATH.

force

(default: FALSE) If TRUE, the environment is created even if one of that name already exists (conda then replaces it).

Value

The args_before_itsxpress string activating the environment (invisibly).

Author(s)

Adrien Taudière

See Also

itsxpress_pq(), is_itsxpress_installed(), find_itsxpress()

Examples

## Not run: 
prelude <- install_itsxpress()
is_itsxpress_installed(args_before_itsxpress = prelude)

## End(Not run)

MiscMetabar documentation built on Nov. 16, 2026, 5:06 p.m.