Aim:
Process metagenomics data using metadata groups ( --metadata metadata.tsv )to enable the generation of alpha and beta diversity analyses
...
Running nfcore/ampliseq with metadata information
Metadata is optional to run the ampliseq pipeline, but for performing downstream analysis such as barplots, diversity indices (alpha and beta diversities) or differential abundance testing, a metadata file is essential.
The public data we are using in the workshop does not have associated metadata information, so we will used an ‘artificially’ created metadata.tsv file that assigns the first 15 samples to a “control” group and the remaining samples to a group called “illumina” (technology used to created the amplicon data.
...
Let’s copy the samplesheet.tsv, launch script and metadata file to the newly created folder:
Code Block |
---|
cp /work/workshoptraining/2025/S1W1/metagenomics/runs/run3_ampliseq_metadata/samplesheet.tsv . cp /work/workshoptraining/2025/S1W1/metagenomics/runs/run3_ampliseq_metadata/launch_nfcore_ampliseq_illumina_metadata.pbs . cp /work/workshoptraining/2025/S1W1/metagenomics/runs/run3_ampliseq_metadata/metadata.tsv . |
...
Move to the /results/qiime2/diversity folder and evaluate the alpha diversity results, particularly, open the interactive “index.html” reports for each type of alpha diversity generated:
...
Move to the /results/qiime2/diversity folder and evaluate the beta diversity results, particularly, open the interactive “index.html” reports for each type of beta diversity generated:
...