On the complexity of haplotyping a microbial community

Samuel Nicholls, Wayne Aubrey, Kurt De Grave, Leander Schietgat, Christopher Creevey, Amanda Clare

Research output: Contribution to journalArticlepeer-review

9 Citations (Scopus)
95 Downloads (Pure)


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.
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.
Original languageEnglish
Article numberbtaa977
Pages (from-to)1360-1366
Number of pages7
Issue number10
Early online date18 Nov 2020
Publication statusPublished - 15 May 2021

Bibliographical note

© The Author(s) 2020. Published by Oxford University Press.


Dive into the research topics of 'On the complexity of haplotyping a microbial community'. Together they form a unique fingerprint.

Cite this