install_itsx: Install ITSx in a conda environment

View source: R/itsx.R

install_itsxR Documentation

Install ITSx in a conda environment

Description

lifecycle-experimental

ITSx (Bengtsson-Palme et al. 2013) is a Perl program that needs HMMER 3. The simplest way to get both is the bioconda package, which this function installs in a dedicated conda environment. It returns the string to pass as args_before_itsx to itsx_pq() and is_itsx_installed(), which activates that environment before each call.

Usage

install_itsx(env_name = "itsxenv", conda = NULL, force = FALSE)

Arguments

env_name

(default: "itsxenv") 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_itsx string activating the environment (invisibly).

Without conda

Download ITSx from https://microbiology.se/software/itsx/, install HMMER 3 (http://hmmer.org/; ⁠sudo apt install hmmer⁠ on Debian / Ubuntu, ⁠brew install hmmer⁠ on macOS), put the ITSx script and its ITSx_db folder on the PATH, or set options(MiscMetabar.itsxpath = "/path/to/ITSx").

Author(s)

Adrien Taudière

See Also

itsx_pq(), is_itsx_installed(), find_itsx()

Examples

## Not run: 
prelude <- install_itsx()
is_itsx_installed(args_before_itsx = prelude)

## End(Not run)

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