bioRxiv · 10.1101/087171
EMDUnifrac: Exact linear time computation of the Unifrac metric and identification of differentially abundant organisms
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 movers 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. 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.
Source connections
Explore related subjects
Keep this discovery
McClelland, J., Koslicki, D.. 2016-11-11. EMDUnifrac: Exact linear time computation of the Unifrac metric and identification of differentially abundant organisms. https://doi.org/10.1101/087171
Cite the original work for its findings. Save a collection to share your selection of sources.