Scripts for microbiome analysis of bacterial 16S sequences from ants.
Data:
- SRA accessions:
- PRJNA170251 (Mycocepurus): metadata in SRA correct,
data/SraRunTableSRP018247.txt - PRJNA170250 (Trachymyrmex/Cyphomyrmex): metadata in SRA is not correct, revised metadata in
data/SraRunTableSRP018246corrected.txt
- PRJNA170251 (Mycocepurus): metadata in SRA correct,
- Silva database:
- Use Full length sequences and taxonomy references for version 128, which includes taxonomy file. The
silva.nr_v128.taxfile andsilva.nr_v128.alignfile need to be moved to thesilva/. Another option is to use thesilva.bacteria.fastawhich is a silva reference file from the MiSeq SOP. Thesilva.bacteria.fastafile can be trimmed to the V1-V3 region using the align.seqs() and theE.coliV1V3.fasfile.
- Use Full length sequences and taxonomy references for version 128, which includes taxonomy file. The
Dependencies:
- SRA Toolkit v2.8.1or higher for data download
- seq_crumbs only if using
dataCheck.sh - MothuR for raw data cleaning and OTU assessment
Analysis Design
- MothuR analysis based on 454 and MiSeq tutorials to create OTU table
- Visualization and hypothesis testing in R
Workflow
dataDownload.shdownload data from NCBI SRA (takes several minutes depending on internet connectivity)data/dataCheck.shcheck SRA data against archived sequence files, do not need to run again
mothur_SilvaRef.batcreate custom Silva alignment for reference (takes ~10 minutes)mothur_prep.shsplit, trim, and aggregate sequence files (takes several minutes)mothur_otu.batprocesses combined sequences and outputs OTU table