11. 16S / 18S / ITS Marker Gene ASV Inference & Diversity
Exact Amplicon Sequence Variant (ASV) resolution with DADA2, error model modeling, taxonomic classification against SILVA 138, and phylogenetic alpha/beta diversity quantification.
| Metric / Requirement | Specification | Target Configuration |
|---|---|---|
| Core Engine / Framework | QIIME 2 (2024.5) + DADA2 + SILVA 138 | Nextflow / Snakemake Compatible |
| Benchmark Runtime | ~2 – 3 hours per 96-well run | 16 CPU cores / 32 GB RAM |
| Standard Container | quay.io/qiime2/amplicon:2024.5 | Docker • Singularity • Conda |
| Input → Deliverable | Demultiplexed Amplicon FASTQs → ASV Table, Taxonomy Barplots, PCoA Plots | |
Step 1: Import Demultiplexed FASTQs into QIIME 2 Artifact (.qza)
Ingests paired-end FASTQs and manifest into compressed QIIME 2 semantic artifacts.
qiime tools import \
--type 'SampleData[PairedEndSequencesWithQuality]' \
--input-path manifest.tsv \
--output-path demux_paired.qza \
--input-format PairedEndFastqManifestPhred33V2Step 2: Exact Amplicon Sequence Variant (ASV) Denoising with DADA2
Learns sequencing error models to infer true biological sequences at single-nucleotide resolution.
qiime dada2 denoise-paired \
--i-demultiplexed-seqs demux_paired.qza \
--p-trim-left-f 17 --p-trim-left-r 21 \
--p-trunc-len-f 250 --p-trunc-len-r 220 \
--o-table table.qza \
--o-representative-sequences rep-seqs.qza \
--o-denoising-stats denoising-stats.qza \
--p-n-threads 16--p-trim-left removes variable-length primer sequences; resolves ASVs without arbitrary 97% OTU clustering.Step 3: Taxonomic Classification with Naive Bayes & SILVA 138
Classifies ASVs against curated SILVA 138 full-length 16S reference database.
qiime feature-classifier classify-sklearn \
--i-classifier /ref/silva-138-99-nb-classifier.qza \
--i-reads rep-seqs.qza \
--o-classification taxonomy.qza \
--p-n-jobs 8Step 4: Phylogenetic Diversity & UniFrac PCoA Analysis
Generates rooted phylogenetic trees and computes Shannon diversity, Faith PD, Bray-Curtis, and Weighted UniFrac.
# Build tree
qiime phylogeny align-to-tree-mafft-fasttree \
--i-sequences rep-seqs.qza \
--o-alignment aligned-rep-seqs.qza \
--o-masked-alignment masked-aligned-rep-seqs.qza \
--o-tree unrooted-tree.qza \
--o-rooted-tree rooted-tree.qza
# Core diversity suite
qiime diversity core-metrics-phylogenetic \
--i-phylogeny rooted-tree.qza \
--i-table table.qza \
--p-sampling-depth 10000 \
--m-metadata-file sample-metadata.tsv \
--output-dir core-metrics-results/--p-sampling-depth rarifies samples to uniform depth for unbiased beta diversity comparison.🚀 Automated Nextflow (nf-core) Production Execution
Execute this complete workflow across any SLURM, AWS Batch, or Google Cloud HPC cluster using the verified community container pipeline:
nextflow run nf-core/ampliseq -r 2.11.0 \
--input samplesheet.tsv \
--FW_primer GTGYCAGCMGCCGCGGTAA \
--RV_primer GGACTACNVGGGTWTCTAAT \
--outdir ./results_amplicon/ \
-profile docker