EMDUnifrac: Exact Linear Time Computation of the Unifrac Metric and Identification of Differentially Abundant Organisms

Jason McClelland, David Koslicki
11/14/2016
28 citations
q-bio.QM

Official code: dkoslicki/EMDUnifrac (10 stars, Python, last commit 2022-06-20).

Abstract

Both the weighted and unweighted Unifrac distances have been very successfully employed to assess if two communities differ, but do not give any information about how two communities differ. We take advantage of recent observations that the Unifrac metric is equivalent to the so-called earth mover's distance (also known as the Kantorovich-Rubinstein metric) to develop an algorithm that not only computes the Unifrac distance in linear time and space, but also simultaneously finds which operational taxonomic units are responsible for the observed differences between samples.

Show full abstract

This allows the algorithm, called EMDUnifrac, to determine why given samples are different, not just if they are different, and with no added computational burden. EMDUnifrac can be utilized on any distribution on a tree, and so is particularly suitable to analyzing both operational taxonomic units derived from amplicon sequencing, as well as community profiles resulting from classifying whole genome shotgun metagenomes. The EMDUnifrac source code (written in python) is freely available at: https://github.com/dkoslicki/EMDUnifrac.

View on arXivView PDF

Code Implementations(1)

Computation of Unifrac using Earth Movers Distance

105PythonApr 19, 20164 years agoNOASSERTION

Similar Papers

Cite this paper

@article{mcclelland2016emdunifrac,
  title  = {EMDUnifrac: Exact Linear Time Computation of the Unifrac Metric and Identification of Differentially Abundant Organisms},
  author = {Jason McClelland and David Koslicki},
  year   = {2016},
  eprint = {1611.04634},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1611.04634}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1611.04634.svg)](https://codeofpaper.com/paper/1611.04634)

Discussion