The AutoQii2 Pipeline can be used to analyzing 16S rRNA amplicon based datasets. AutoQii2 is primarily designed for eliminating multi-step analysis involved in analyzing paired-end or single-end reads using QIIME2. AutoQii2 uses popular fastQC, cutadapt and QIIME2 platforms for performing quality check, adapter trimming, ASV feature identification and taxonomic assignments.
Publication Link: (https://academic.oup.com/database/article/doi/10.1093/database/baad039/7190069?searchresult=1)
git clone https://gitlab.com/khatriabhi2319/autoqii2
cd autoqii2
- Conda:
Conda can be downloaded as part of the Anaconda or the Miniconda plattforms (Python 3.7). We recommend to install miniconda3. Using Linux you can get it with:
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh
install qiime in conda environment. All other dependencies will be automatically installed using conda environments and can be found in the corresponding environment.yaml files in the envs folder and the natrix.yaml file in the root directory of the pipeline.
after installation check with command:
$ fastqc --help
after installation check with command:
$ cutadapt --help
Qiime 2 can be installed natively or using virtual machines. For this pipeline we prefer to install with native method (https://docs.qiime2.org/2021.4/install/native)
For predicting functional abundance user need to install picrust in Qiime 2 environment
#Install q2-picrust2 with conda. This command will automatically install the other requirements, including PICRUSt2.
*Note that the plugin version for qiime2-2021.2 is specified
$ conda install q2-picrust2=2021.2 -c conda-forge -c bioconda -c gavinmdouglas
*"2021.2" need to be edit according to your qiime 2 version
For Taxonomic analysis you need to Download Greengenes file according to your qiime2 version. Open the (link) and download the greengene file from Taxonomic analyis section. Please ensure to change the version of qiime2 in the website, similar to your current qiime2 version (Select greengene file from qiime2 official (link) According to your qiime version). After download, move the file to/your/working/directory/16s-analysis-main
After Successful compilation of all Reqirements, the pipeline currently performs the following:
- Sequencing quality control (FastQC)
- Trimming of reads (Cutadapt)
- Taxonomical classification using DADA2 with QIIME2
- Excludes unwanted taxa, produces absolute and relative feature/taxa count tables and plots, plots alpha rarefaction curves, computes alpha and beta diversity indices and plots thereof (QIIME2)
- Functional abundance (Picrust2)
Extract Single-End raw data and place it in Paired-End/raw_data directory.
$ tar -xvzf raw_data.tar.gz
Edit Paired end "metadata.tsv" file, according to your raw reads filename.
# Paired end metadata file
sample-id forward-absolute-filepath reverse-absolute-filepath Type
#q2:types categorical categorical categorical
BPP01_1 $PWD/Paired-End-Analysis/raw_data/HAM29_R1.fastq $PWD/Paired-End-Analysis/raw_data/HAM29_R2.fastq BPP 01
BPP01_2 $PWD/Paired-End-Analysis/raw_data/HAM30_R1.fastq $PWD/Paired-End-Analysis/raw_data/HAM30_R2.fastq BPP 01
BPG01_1 $PWD/Paired-End-Analysis/raw_data/ERR4362125_1.fastq $PWD/Paired-End-Analysis/raw_data/ERR4362125_2.fastq BPG 01
BPG01_2 $PWD/Paired-End-Analysis/raw_data/ERR4362126_1.fastq $PWD/Paired-End-Analysis/raw_data/ERR4362126_2.fastq BPG 01
(https://docs.qiime2.org/2019.7/tutorials/importing/)
Activate Qiime2 through conda environment
$ conda activate qiime2-2019.10
Run "16S_AutoQii2.sh" Script.
*You need to make the shell script executable using chmod command
$chmod +x 16S_AutoQii2.sh
$ ./16S_AutoQii2.sh
It will show GUI Interface (dialogbox) for your confirmation, ask for raw data directory and metadata file selection :
Extract Single-End raw data and place it in Single-End/raw_data directory.
tar -xvzf raw_data_SE.tar.gz
Edit Single-End "metadata.tsv" file, according to your raw reads filename.
sample-id absolute-filepath Type
#q2:types categorical categorical
BPP01_1 $PWD/Single-End-Analysis/raw_data/HAM29_R1.fastq BPP 01
BPP01_2 $PWD/Single-End-Analysis/raw_data/HAM30_R1.fastq BPP 01
BPG01_1 $PWD/Single-End-Analysis/raw_data/ERR4362125_1.fastq BPG 01
BPG01_2 $PWD/Single-End-Analysis/raw_data/ERR4362126_1.fastq BPG 01
Activate Qiime2 through conda environment
conda activate qiime2-2019.10
Run "16S_AutoQii2.sh" Script.
*You need to make the shell script executable using chmod command
$chmod +x 16S_AutoQii2.sh
$ ./16S_AutoQii2.sh
It will show GUI Interface (Zenity dialogbox) for your confirmation, ask for raw data directory and metadata file selection :
Download "AutoQii2" on your system using command
$git clone https://gitlab.com/khatriabhi2319/autoqii2.git
After selecting metadatafile it will ask for enter some Denoising qiime parameters, the parameters will be selecting by demux file (How to select parameter : View next picture).
How to select Denoising parameters.
Entering sample_depth and max-depth for Alpha & Beta diversity and alpha rarefaction analysis, parameter would be select from table.qzv file (How to select parameter : View next picture).
In above case maximum sampling depth is 595
*Note : This pipeline is compatible with all qiime versions but users have to change greeen gene (gg) file according to their qiiime version
Enjoy and send comments and complaints to khatriabhi2319@gmail.com.