On the complexity of haplotyping a microbial community

Abstract Motivation Population-level genetic variation enables competitiveness and niche specialization in microbial communities. Despite the difficulty in culturing many microbes from an environment, we can still study these communities by isolating and sequencing DNA directly from an environment (metagenomics). Recovering the genomic sequences of all isoforms of a given gene across all organisms in a metagenomic sample would aid evolutionary and ecological insights into microbial ecosystems with potential benefits for medicine and biotechnology. A significant obstacle to this goal arises from the lack of a computationally tractable solution that can recover these sequences from sequenced read fragments. This poses a problem analogous to reconstructing the two sequences that make up the genome of a diploid organism (i.e. haplotypes) but for an unknown number of individuals and haplotypes. Results The problem of single individual haplotyping was first formalized by Lancia et al. in 2001. Now, nearly two decades later, we discuss the complexity of ‘haplotyping’ metagenomic samples, with a new formalization of Lancia et al.’s data structure that allows us to effectively extend the single individual haplotype problem to microbial communities. This work describes and formalizes the problem of recovering genes (and other genomic subsequences) from all individuals within a complex community sample, which we term the metagenomic individual haplotyping problem. We also provide software implementations for a pairwise single nucleotide variant (SNV) co-occurrence matrix and greedy graph traversal algorithm. Availability and implementation Our reference implementation of the described pairwise SNV matrix (Hansel) and greedy haplotype path traversal algorithm (Gretel) is open source, MIT licensed and freely available online at github.com/samstudio8/hansel and github.com/samstudio8/gretel, respectively.

[1]  Yu Lin,et al.  Assembly of long, error-prone reads using repeat graphs , 2018, Nature Biotechnology.

[2]  Martin Vingron,et al.  Ranbow: A fast and accurate method for polyploid haplotype reconstruction , 2020, PLoS Comput. Biol..

[3]  Russell Schwartz,et al.  SNPs Problems, Complexity, and Algorithms , 2001, ESA.

[4]  Nicola Segata,et al.  On the Road to Strain-Resolved Comparative Metagenomics , 2018, mSystems.

[5]  P. Pevzner,et al.  metaSPAdes: a new versatile metagenomic assembler. , 2017, Genome research.

[6]  Michael Snyder,et al.  Synthetic long read sequencing reveals the composition and intraspecies diversity of the human microbiome , 2015, Nature Biotechnology.

[7]  Shuiquan Tang,et al.  Ultra-deep, long-read nanopore sequencing of mock microbial community standards , 2018, bioRxiv.

[8]  Benedict Paten,et al.  Haplotype-aware diplotyping from noisy long reads , 2019, Genome Biology.

[9]  Se-kwon Kim,et al.  Research and Application of Marine Microbial Enzymes: Status and Prospects , 2010, Marine drugs.

[10]  Sorin Istrail,et al.  Haplotype assembly in polyploid genomes and identical by descent shared tracts , 2013, Bioinform..

[12]  Leo van Iersel,et al.  On the Complexity of Several Haplotyping Problems , 2005, WABI.

[13]  Samuel Nicholls Computational recovery of enzyme haplotypes from a metagenome , 2018 .

[14]  Shuiquan Tang,et al.  Ultra-deep, long-read nanopore sequencing of mock microbial community standards , 2018 .

[15]  Mick Watson,et al.  Compendium of 4,941 rumen metagenome-assembled genomes for rumen microbiome biology and enzyme discovery , 2019, Nature Biotechnology.

[16]  M. Dunn,et al.  A human gut bacterial genome and culture collection for improved metagenomic analyses , 2019, Nature Biotechnology.

[17]  Sergey Koren,et al.  Accurate circular consensus long-read sequencing improves variant detection and assembly of a human genome , 2019, Nature Biotechnology.

[18]  Giuseppe Lancia Algorithmic approaches for the single individual haplotyping problem , 2016, RAIRO Oper. Res..

[19]  Vincent Lombard,et al.  Cultivation and sequencing of rumen microbiome members from the Hungate1000 Collection , 2018, Nature Biotechnology.

[20]  Dan He,et al.  Efficient algorithms for polyploid haplotype phasing , 2018, BMC Genomics.

[21]  P. Bork,et al.  Diversity within species: interpreting strains in microbiomes , 2020, Nature Reviews Microbiology.

[22]  M. Waterman,et al.  The accuracy of DNA sequences: estimating sequence quality. , 1992, Genomics.