Metagenomic Intra-Species Diversity Analysis System (MIDAS)
MIDAS is an integrated pipeline that leverages >30,000 reference genomes to estimate bacterial species abundance and strain-level genomic variation, including gene content and SNPs, from shotgun metagnomes.
- Profile bacterial species abundance: rapidly estimate the abundance of 5,952 bacterial species
- Strain-level pan-genome profiling: estimate the gene content of populations based on mapping to genes from reference genomes
- Single nucleotide polymorphism prediction: identify single-nucleotide polymorphisms (SNPs) of populations based on mapping to reference genomes
- Phylogenetic inference: reconstruct the phylogeny of strains from metagenomes and reference genomes
- Population genetic inference: quantify strain-level diversity, differentiation, and selection within and between metagenomes
Table of Contents
- Step-by-step tutorial
- Install or update MIDAS
- Download default MIDAS database
- Build your own custom database
- Scripts to run MIDAS on a single sample:
- Scripts to merge MIDAS results across samples:
- Example scripts for analyzing gene content and SNPs:
If you use this tool, please cite: S Nayfach, B Rodriguez-Mueller, N Garud, and KS Pollard. "An integrated metagenomics pipeline for strain profiling reveals novel patterns of transmission and global biogeography of bacteria". Genome Research 2016. doi: 10.1101/gr.201863.115
An integrated pipeline to estimate bacterial species abundance and strain-level genomic variation from shotgun metagnomes A) Metagenome species profiling. Reads from a metagenomic sample are aligned against a database of phylogenetic marker genes and are assigned to species groups. Mapped reads are used to estimate the genome-coverage and relative abundance of 5,952 genome-clusters. B) Metagenome pan-genome profiling. A pan-genome database is dynamically constructed based on the subset of species that are present at high coverage (e.g. >1x) in the metagenome. Reads are mapped to the gene database using Bowtie2. Mapped reads are used to infer gene copy number and gene presence/absence. C) Single-nucleotide variant prediction. A representative genome database is constructed, as described in (B). Reads are globally aligned to the genome database using Bowtie2. Mapped reads are used to identify variants, predict consensus alleles, and estimate allele frequencies. D) Merge results. For each species, results are merged across one or more samples to generate several outputs, including: a gene presence/absence matrix, an allele frequency matrix, an approximate maximum-likelihood phylogenetic tree.
Comparative genomics of Bacteroides ovatus strains across host microbiomes
A) Presence or absence of genes in the Bacteroides ovatus pangenome across human faecal metagenomes. Column colors indicate whether a gene is core (blue; occurs in >95% of samples), auxiliary (red; occurs in 1-95% of samples ), or absent (green; occurs in < 1% of samples). B) Gene set enrichment analysis identifies functions overrepresented in the core genome, auxiliary genome, and genes that only occur in reference genomes.