Optimizing UniFrac with OpenACC Yields Greater Than One Thousand Times Speed Increase
Overview
Affiliations
UniFrac is an important tool in microbiome research that is used for phylogenetically comparing microbiome profiles to one another (beta diversity). Striped UniFrac recently added the ability to split the problem into many independent subproblems, exhibiting nearly linear scaling but suffering from memory contention. Here, we adapt UniFrac to graphics processing units using OpenACC, enabling greater than 1,000× computational improvement, and apply it to 307,237 samples, the largest 16S rRNA V4 uniformly preprocessed microbiome data set analyzed to date. UniFrac is an important tool in microbiome research that is used for phylogenetically comparing microbiome profiles to one another. Here, we adapt UniFrac to operate on graphics processing units, enabling a 1,000× computational improvement. To highlight this advance, we perform what may be the largest microbiome analysis to date, applying UniFrac to 307,237 16S rRNA V4 microbiome samples preprocessed with Deblur. These scaling improvements turn UniFrac into a real-time tool for common data sets and unlock new research questions as more microbiome data are collected.
Integration of 168,000 samples reveals global patterns of the human gut microbiome.
Abdill R, Graham S, Rubinetti V, Ahmadian M, Hicks P, Chetty A Cell. 2025; 188(4):1100-1118.e17.
PMID: 39848248 PMC: 11848717. DOI: 10.1016/j.cell.2024.12.017.
Greengenes2 unifies microbial data in a single reference tree.
McDonald D, Jiang Y, Balaban M, Cantrell K, Zhu Q, Gonzalez A Nat Biotechnol. 2023; 42(5):715-718.
PMID: 37500913 PMC: 10818020. DOI: 10.1038/s41587-023-01845-1.