This repository contains all the code used in Chapter 2 - Comparative amplicon and shotgun metagenome profiling of soil microbial communities in kauri forests affected by Phytophthora agathidicida.
There is an associated wiki page that runs through the data analysis workflow for this chapter.
The repository is structured as follows:
amplicon-datacontains the scrips used to run DADA2 and analyse the amplicon reads.- DADA2 processing scripts are in
00_16S-amplicon-scriptsand00_ITS-amplicon-scripts. - Scripts used to analyse the taxonomic composition and functional potential of the communities are in
01_taxonomy_scriptsand02_function-picrust2-scripts.
- DADA2 processing scripts are in
metagenome-datacontains the scripts used to run QC on the shotgun metagenome reads as well as taxonomically and functionally annotating the reads.00_quality_controlcontains scripts for trimming and filtering reads.01_taxonomy_scriptscontains scripts for runningKraken2andBrackenfor taxonomic classification of reads and the associated R scripts for analysis.02_function_sciptscontains scripts for further cleaning of reads, assembly usingMEGAHIT, gene prediction usingProdigal, annotation usingeggNOG, and various other processing scripts.
R-combined-scriptscontains the scripts used to compare the outputs from amplicon and shotgun sequencing.misc-scriptscontains several different scripts, including parsing KEGG information, rarefaction curve generation, creating bubble pie charts, and comparing PA detection methods.