Loading...
Loading...
Contributors:
Dataset URI:
10.6084/m9.figshare.32390814.v1A hands-on workshop covering the full DADA2 pipeline from trimmed FASTQ files to an annotated ASV count table, ready for downstream diversity and differential abundance analysis.------------------------------------------------------------------------------------------------------------------------------------OverviewThis workshop introduces the computational steps required to process 16S rRNA amplicon sequencing data using the DADA2 framework in R. Participants will work through quality filtering, error rate modelling, denoising, paired-end merging, chimera removal, and taxonomy assignment. At the end of the session you will have produced two files: an ASV count table and a taxonomy table.The dataset used is a cucumber fermentation time series sequenced on an Illumina NextSeq 2000 (paired-end, V3-V4 region, primers 341F/806R). Primer trimming with cutadapt has been performed in advance. The dataset has been subsampled for workshop speed; precomputed outputs are provided for computationally intensive steps.------------------------------------------------------------------------------------------------------------------------------------Workshop structureThe session is structured as four interleaved lecture and hands-on blocks, each covering one stage of the pipeline.Block 1 : Quality filtering and trimmingNotebook: `01_filter_and_trim.Rmd`Load trimmed FASTQ files, inspect quality profiles, choose truncation parameters, run filterAndTrim, and check read retention rates.Block 2: Error rate modellingNotebook: `02_run_error_models.Rmd`Load filtered reads and run learnErrors to build a dataset-specific substitution error model. Inspect the error plots and save the model objects for Block 3. Note: this step uses a custom error function appropriate for NextSeq/NovaSeq binned quality scores.Block 3 : Denoising, merging, and chimera removalNotebook: `03_dada2.Rmd`Run dada() independently on R1 and R2, merge paired-end reads, construct the sequence table, remove chimeric sequences, and inspect the read tracking table to verify that each step retained an acceptable proportion of reads.Block 4 : Taxonomy assignmentNotebook: `04_taxonomy.Rmd`Assign taxonomy to each ASV using the SILVA 138 reference database and the naive Bayesian classifier. Inspect classification rates at each taxonomic level and save the final taxonomy table.------------------------------------------------------------------------------------------------------------------------------------Setup instructionsComplete the following steps before the workshop starts, ideally the day before.1. Install R and RStudioR version 4.3 or newer is required. RStudio is the recommended interface for running the workshop notebooks.Download R: https://cran.r-project.orgDownload RStudio: https://posit.co/download/rstudio-desktop2. Install required R packagesOpen RStudio and run the provided installation script. This installs all packages needed across all four blocks and verifies that each loaded correctly.```rsource("install_dependencies.R")```The script will print an installation check at the end. All packages should show OK. If any show FAILED, resolve the issue before the session starts.The following packages are installed:CRAN packages: `rmarkdown`, `knitr`, `dplyr`, `tidyr`, `tibble`, `readr`, `ggplot2`, `patchwork`, `vegan`Bioconductor packages: `phyloseq`, `microbiome`Optional (Block 6 self-study only): `maaslin3`3. Verify your setupAfter running the script, check that the final output reads: "All required packages installed successfully"If you encounter errors, the most common causes are an outdated R version or missing system dependencies for Bioconductor packages. The `sessionInfo()` output printed at the end of the script is useful for troubleshooting.------------------------------------------------------------------------------------------------------------------------------------NotesPrecomputed outputs are provided for learnErrors (Block 2) and dada() (Block 3), as these steps can take several minutes on the full dataset. Instructions for loading the precomputed objects are included in the relevant notebooks.
Keyword(s):
16S amplicon analysis; Sequence analysis; training material.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)