Skip to content
/ MIDAS Public
forked from snayfach/MIDAS

An integrated pipeline for estimating strain-level genomic variation from metagenomic data

License

Notifications You must be signed in to change notification settings

palc/MIDAS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Applications

  1. Profile bacterial species abundance: rapidly estimate the abundance of 5,952 bacterial species
  2. Strain-level pan-genome profiling: estimate the gene content of populations based on mapping to genes from reference genomes
  3. Single-nucleotide-polymorphism prediction: identify single-nucleotide polymorphisms (SNPs) of populations based on mapping to reference genomes
  4. Phylogenetic inference: reconstruct the phylogeny of strains from metagenomes and reference genomes
  5. Population genetic inference: quantify strain-level diversity, differentiation, and selection within and between metagenomes

Table of Contents

  1. [Dependencies, Download, Installation, Testing, and Updating] (https://github.com/snayfach/MIDAS/blob/master/docs/install.md)
  2. [Reference database] (https://github.com/snayfach/MIDAS/blob/master/docs/ref_db.md)
  3. [Tutorial] (https://github.com/snayfach/MIDAS/blob/master/docs/tutorial.md)
  4. Scripts to run MIDAS on a single sample:
  1. Scripts to merge results across samples:

Citation

If you use this tool, please cite: Nayfach, S. and Pollard, KS. "Population genetic analyses of metagenomes reveal extensive strain-level variation in prevalent human-associated bacteria". bioRxiv 2015.

Pipeline

**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.

Examples

**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.

About

An integrated pipeline for estimating strain-level genomic variation from metagenomic data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.7%
  • Perl 21.3%