ClassifyITS

ClassifyITS is an R package for quality control, taxonomy assignment, and visualization of fungal operational taxonomic unit (OTU) representative sequences based on user provided BLAST results.

Fungi are ubiquitous in Earth's wonderfully diverse ecosystems. The AssignITS package aids in the taxonomic classification of full length or subregion (ITS1 or ITS2) internal transcribed spacer (ITS) sequence data. Unlike previous methods, it employs taxon-specific e-value and percent identity cutoffs at each taxonomic rank from kingdom to species. The package takes a conservative approach and outputs both graphics and user-friendly files to help users manually inspect fungal OTUs that fail classification at relevant levels (e.g., Phylum). AssignITS is based on taxonomic cutoff criteria from "The Global Soil Mycobiome consortium dataset for boosting fungal diversity research" (Fungal Diversity, Tedersoo et al., 2021, doi:10.1007/s13225-021-00493-7) and "Best practices in metabarcoding of fungi: From experimental design to results" (Molecular Ecology, Tedersoo et al., 2022, doi:10.1111/mec.16460).


Features


Installation

Download and install ClassifyITS directly from CRAN:

# Install if you don't have it yet
install.packages("ClassifyITS")


# Load the package
library(ClassifyITS)

Optional: Download and install ClassifyITS directly from GitHub using the devtools package in R:

# Install devtools if you don't have it yet
install.packages("devtools")

# Install ClassifyITS from GitHub
# devtools::install_github("qmoon11/ClassifyITS")
install.packages("ClassifyITS", repos = c('https://qmoon11.r-universe.dev', 'https://cloud.r-project.org'))

# Load the package
library(ClassifyITS)

Documentation & User Guides

See Data Preparation for detailed BLAST setup and input requirements, including:

See Quick Start for a step-by-step usage guide, including:

See Custom Cutoffs to fine-tune assignments, including:

See Troubleshooting for help with common errors, including:

See Check Contamination for descriptions of how to check for common contaminants in your dataset, including:

See Citations for a list of relevant literature


About Taxonomic Cutoffs

ClassifyITS uses taxon-specific cutoffs for kingdom through species. At minimum, default cutoffs are provided for all fungal phyla, common classes and orders found in ITS data, and a subset of well studied families, genera, and species. The current list can be seen in inst/extdata/taxonomy_cutoffs.csv in the package source code.

You can provide your own custom cutoffs file to fine-tune assignments for your dataset or research question.

If you are knowledgeable in a specific taxonomic group and think ClassifyITS could benefit from modified cutoffs for a particular group, please reach out with proposed cutoffs and supporting citations. Community contributions are welcomed!

The package is designed so cutoffs can be easily updated as new fungal groups are discovered and taxonomy is refined.


Cutoff Logic

Metabarcoding pipelines are inherently reliant on the idea that percent identity can differentiate species or OTUs. ClassifyITS provides a conservative starting point for taxonomy assignment, with flexibility for manual curation and extension.


Inspecting taxonomic assingments

It is recommended to carefully examine 1) OTUs that failed the pipeline 2) any OTUs that failed to assign at kingdom level (see list in outputs/intial.assingments.csv) after classifying) as these are likely sequencing errors. See Inspection for information on inspecting results, including:


Future Directions and Community Ideas