Metadata-Version: 2.4
Name: qiime2-its
Version: 0.4.1
Summary: QIIME2 ITS metabarcoding pipeline for single-end (IonTorrent) and paired-end (Illumina) data
Author: duceppemo
License-Expression: MIT
Project-URL: Homepage, https://github.com/duceppemo/QIIME2_ITS
Project-URL: Repository, https://github.com/duceppemo/QIIME2_ITS
Project-URL: Documentation, https://github.com/duceppemo/QIIME2_ITS/wiki
Project-URL: Issues, https://github.com/duceppemo/QIIME2_ITS/issues
Project-URL: Changelog, https://github.com/duceppemo/QIIME2_ITS/releases
Keywords: bioinformatics,QIIME2,ITS,metabarcoding,amplicon sequencing,DADA2,ITSxpress,fungi,mycobiome,microbiome,UNITE,Illumina,IonTorrent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: biopython>=1.81
Requires-Dist: matplotlib>=3.9
Requires-Dist: numpy>=1.21
Requires-Dist: pandas>=2.0
Requires-Dist: fpdf2>=2.7
Requires-Dist: scipy>=1.10
Provides-Extra: dev
Requires-Dist: pytest>=7.4; extra == "dev"
Requires-Dist: pytest-mock>=3.12; extra == "dev"
Requires-Dist: pytest-cov>=4.1; extra == "dev"
Dynamic: license-file

<p align="center">
  <img src="https://raw.githubusercontent.com/duceppemo/QIIME2_ITS/master/docs/QIIME2_ITS_logo.png" alt="QIIME2_ITS logo" width="280">
</p>

<h1 align="center">QIIME2_ITS</h1>

<p align="center">
  <a href="https://github.com/duceppemo/QIIME2_ITS/actions/workflows/tests.yml"><img src="https://github.com/duceppemo/QIIME2_ITS/actions/workflows/tests.yml/badge.svg" alt="tests"></a>
  <a href="https://codecov.io/gh/duceppemo/QIIME2_ITS"><img src="https://codecov.io/gh/duceppemo/QIIME2_ITS/graph/badge.svg" alt="coverage"></a>
  <a href="https://github.com/duceppemo/QIIME2_ITS/blob/master/LICENSE"><img src="https://img.shields.io/github/license/duceppemo/QIIME2_ITS" alt="license"></a>
  <a href="https://pypi.org/project/qiime2-its/"><img src="https://img.shields.io/pypi/v/qiime2-its?cacheSeconds=3600" alt="PyPI"></a>
  <img src="https://img.shields.io/badge/python-3.9%2B-blue" alt="python 3.9+">
  <img src="https://img.shields.io/badge/QIIME2-2026.x-blue" alt="QIIME2 2026.x">
  <a href="https://pypi.org/project/qiime2-its/"><img src="https://img.shields.io/pypi/dm/qiime2-its?cacheSeconds=3600" alt="PyPI downloads"></a>
  <a href="https://github.com/duceppemo/QIIME2_ITS/wiki"><img src="https://img.shields.io/badge/docs-wiki-blue" alt="documentation: wiki"></a>
</p>

<p align="center">
  QIIME2 pipeline for single-end (IonTorrent) and paired-end (Illumina) ITS metabarcoding data.
  ITSxpress for ITS region extraction, DADA2 for denoising, plus diversity statistics,
  classification, and a PDF summary report.
</p>

**See it before you try it:** a complete [example report (PDF)](https://github.com/duceppemo/QIIME2_ITS/blob/master/examples/PRJNA767765/report.pdf)
from a real 53-sample public SRA dataset, with every script needed to reproduce it --
[worked example](https://github.com/duceppemo/QIIME2_ITS/wiki/Worked-Example).

## Features

- **From fastq files to a report in one command**: ITS1/ITS2 extraction (ITSxpress), denoising (DADA2),
  phylogeny, alpha and beta diversity, taxonomy.
- **Single-end and paired-end reads**: IonTorrent and Illumina, with DADA2 settings suggested for
  IonTorrent.
- **Statistics for every suitable metadata column**: Kruskal-Wallis, PERMANOVA, genus-level
  composition, random-forest sample classifiers.
- **A PDF report** with the figures and tables, the numbers behind it as plain TSV files, and the
  QIIME2 artifacts and visualizations for going further.
- **Resumable**: run the same command again after a crash or a change of setting; finished steps are
  kept and only what the change affects is redone.
- **Reproducible**: `--seed` for everything random, and the full provenance of a run (command,
  parameters, inputs, tool versions) recorded and printed in the report.
- **A log per step**, so a failure points to one file to read.
- **Classifier builders** for UNITE, an NCBI query or accession list, or your own fasta file.
- **Tested on real data**: unit tests on every push, and an end-to-end validation suite on real reads.

A one-page picture of the steps: [the pipeline at a glance](https://github.com/duceppemo/QIIME2_ITS/wiki#the-pipeline-at-a-glance).

## Quick start

```bash
# 1. Install QIIME2 (see the wiki for details/troubleshooting):
VERSION=2026.7  # check https://library.qiime2.org/quickstart/qiime2 for the current release
conda env create -n rachis-qiime2-$VERSION \
    --file https://raw.githubusercontent.com/qiime2/distributions/dev/$VERSION/qiime2/released/rachis-qiime2-linux-64-conda.yml
conda activate rachis-qiime2-$VERSION

# 2. Install ITSxpress + BBMap into it, and this package:
conda install -c bioconda -c conda-forge itsxpress bbmap
qiime dev refresh-cache

pip install qiime2-its

# 3. Run it:
qiime2-its \
    -i /input_folder/ -o /output_folder/ \
    -m qiime2_metadata.tsv -c classifier.qza \
    -pe --extract-its2 --taxa Fungi
```

Interrupted, or want to change a setting? Run it again into the same output folder: finished steps
are kept, and only what your change affects is redone
([details](https://github.com/duceppemo/QIIME2_ITS/wiki/Pipeline-Usage#resuming-a-run)).

That's the short version. **[See the wiki](https://github.com/duceppemo/QIIME2_ITS/wiki) for:**
full installation, building a classifier (UNITE/NCBI/your own fasta), the complete flag reference,
fastq/metadata requirements, the diversity-stats-and-PDF-report feature, a worked example on public SRA
data, the real-data validation suite, and troubleshooting.

## Contributing and citing

Bug reports and pull requests are welcome: see
[CONTRIBUTING](https://github.com/duceppemo/QIIME2_ITS/blob/master/CONTRIBUTING.md) and the
[code of conduct](https://github.com/duceppemo/QIIME2_ITS/blob/master/CODE_OF_CONDUCT.md). To cite the
pipeline, use "Cite this repository" on GitHub
([CITATION.cff](https://github.com/duceppemo/QIIME2_ITS/blob/master/CITATION.cff)), and cite the tools it
runs: QIIME2, DADA2, ITSxpress and your reference database.

## License

[MIT](https://github.com/duceppemo/QIIME2_ITS/blob/master/LICENSE)
