Skip to content

A quick and user-friendly pipeline to go from raw fastq data from Illumina (paired-end sequencing) to processed ASVs and Taxonomic data.

Notifications You must be signed in to change notification settings

Headonpillow/16S_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 27, 2025
7206985 · Mar 27, 2025

History

70 Commits
Dec 12, 2023
May 30, 2023
May 30, 2023
May 10, 2023
May 10, 2023
May 10, 2023
May 10, 2023
Dec 12, 2023
May 29, 2024
Mar 27, 2025
May 30, 2024
Dec 14, 2022

Repository files navigation

16s analysis

Denoising pipeline using DADA2 algorithm to process raw .gz sequencing files from paired-end MiSeq Illumina sequencing.

The pipeline currently takes care of trimming standard Illumina adapters from reads, filter and merge the reads (denoising), and determine the taxonomy of the different identified ASVs, as well as aligning them.

Moreover, the pipeline results in the creation of a Phyloseq object, containing the processed samples and their metadata, for further downstream analysis in R.

The intended contents of each directory is explained in separate README.md files.

How to run

  1. After cloning the repository, put your raw data, database and metadata in:
  • data/raw_internal
  • data/raw_internal/db
  • data/meta

Metadata file should be in .tsv format, the names of the raw files should follow the convention "{your_sample}.R1.fastq.gz" to work.

  1. Have snakemake installed and working on your machine.

  2. Run the pipeline with:

snakemake --use-conda --cores all all

There are some parameters that you might want to use in the command line, one of them is:

--config preprocess="value"

Where value can be either "yes" or "no", the choice indicates if you want snakemake to use preprocessing steps that include:

  1. Generating fastqc files
  2. Summarizing fastqc files with MultiQC
  3. Trimming sequences with Trim_galore

Moreover an option for performing optionally the phylogenetic tree was added, as

--config phylogeny="value"

Just note that trimming doesn't happen in the pipeline when using DADA2, so if no pre-processing takes place, the sequences will not be trimmed at all.

the --cores flag just specify the amount of cores to use, you can select what you think works best.

About

A quick and user-friendly pipeline to go from raw fastq data from Illumina (paired-end sequencing) to processed ASVs and Taxonomic data.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published