The Parallelism Motifs of Genomic Data Analysis

Katherine A. Yelick, Aydin Buluç, Muaaz G. Awan, Ariful Azad, Benjamin Brock, Rob Egan, Saliya Ekanayake, Marquita Ellis, Evangelos Georganas, Giulia Guidi, Steven A. Hofmeyr, Oguz Selvitopi, Cristina Teodoropol, Leonid Oliker · DOI

Abstract

Genomic data sets are growing dramatically as the cost of sequencing continues to decline and small sequencing devices become available. Enormous community databases store and share this data with the research community, but some of these genomic data analysis problems require large scale computational platforms to meet both the memory and computational requirements. These applications differ from scientific simulations that dominate the workload on high end parallel systems today and place different requirements on programming support, software libraries, and parallel architectural design. For example, they involve irregular communication patterns such as asynchronous updates to shared data structures. We consider several problems in high performance genomics analysis, including alignment, profiling, clustering, and assembly for both single genomes and metagenomes. We identify some of the common computational patterns or motifs that help inform parallelization strategies and compare our motifs to some of the established lists, arguing that at least two key patterns, sorting and hashing, are missing.

Introduction: The Spectrum of Irregularity

For decades, High-Performance Computing (HPC) has been dominated by scientific simulations—such as weather modeling or physics—that follow predictable, "regular" patterns. In these scenarios, data is partitioned into physical domains, and processors communicate primarily with their neighbors at set intervals.

Genomics is fundamentally different. As sequencing costs plummet, researchers are dealing with terabytes of data where analysis is "irregular" in both space and time. Because one cannot know which DNA fragments overlap until they are found, communication between processors is unpredictable and global. Traditional HPC tools and "motif" lists (like the famous "Seven Dwarfs" of Berkeley) do not fully capture the unique bottlenecks of genomics, such as the massive use of hash tables and global sorting.

The spectrum of regularity in parallel computing applications, communication, and synchronization.

This irregularity makes load balancing difficult and stresses network bisection bandwidth rather than raw floating-point performance. This paper seeks to bridge the gap by defining the specific computational building blocks needed for exascale genomics.

Defining the Seven Parallelism Motifs

By analyzing the algorithms used in the ExaBiome project, a suite of tools designed for massive-scale metagenomics, the authors identify seven key motifs that appear across various genomic tasks:

The seven parallelism motifs identified for large-scale genomic data analysis.
  1. Hash Tables: Used for k-mer counting and indexing.
  2. Sorting: Used for organizing sequences and prioritizing graph operations.
  3. Graph Traversals: Essential for de Bruijn graph-based genome assembly.
  4. Alignment: Dynamic programming (e.g., Smith-Waterman) to find sequence similarities.
  5. Generalized N-Body: Comparing all sequences in one set against another (often optimized via k-mer seeding).
  6. Sparse Matrices: Recasting alignment and clustering as sparse linear algebra (e.g., SpGEMM).
  7. Dense Matrices: Primarily used in the deep learning layers of genomic analysis.

The authors argue that hashing and sorting are "first-class citizens" in genomics. While often ignored in simulation-focused lists, they deserve dedicated hardware and library support in future HPC systems.

Implementation and Scalability

A major breakthrough in this research is the realization that many genomic problems can be elegantly expressed as Sparse Generalized Matrix-Matrix Multiplication (SpGEMM). This allows biologists to leverage decades of optimization in the linear algebra community. Furthermore, because genomic tasks are so unpredictable, the most successful parallel strategies involve "hiding" data movement time by overlapping it with computation using non-blocking, asynchronous, one-sided communication (RDMA) and atomics.

The paper demonstrates that by optimizing for these motifs, genomic analysis can reach unprecedented scales:

  • Metagenome Assembly: The team performed the largest single co-assembly to date (a 2.6 TB wetland sample with 7.5 billion reads) in just 5.1 hours using 1,024 nodes on the Cori supercomputer.
  • Protein Clustering: Using the HipMCL tool, they clustered 383 million proteins in approximately one hour on 729 nodes of the Summit supercomputer.
  • Efficiency: One-sided communication (UPC/UPC++) significantly reduces the overhead of building massive distributed hash tables compared to standard MPI.

Future Challenges

Despite these successes, challenges remain. Most genomic motifs rely on integer and character operations, while current HPC hardware is heavily optimized for floating-point math (FLOPs). Additionally, aggregating small messages to improve network efficiency puts significant pressure on memory-per-node. Future work will focus on "communication-avoiding" algorithms and better integration of deep learning with the highly sparse and irregular data structures of genomics.

Summary updated

Abstract

Genomic data sets are growing dramatically as the cost of sequencing continues to decline and small sequencing devices become available. Enormous community databases store and share this data with the research community, but some of these genomic data analysis problems require large scale computational platforms to meet both the memory and computational requirements. These applications differ from scientific simulations that dominate the workload on high end parallel systems today and place different requirements on programming support, software libraries, and parallel architectural design. For example, they involve irregular communication patterns such as asynchronous updates to shared data structures. We consider several problems in high performance genomics analysis, including alignment, profiling, clustering, and assembly for both single genomes and metagenomes. We identify some of the common computational patterns or motifs that help inform parallelization strategies and compare our motifs to some of the established lists, arguing that at least two key patterns, sorting and hashing, are missing.
BibTeX
@inproceedings{yelick2020parallelism,
  author = {Katherine A. Yelick and Aydin Buluç and Muaaz G. Awan and Ariful Azad and Benjamin Brock and Rob Egan and Saliya Ekanayake and Marquita Ellis and Evangelos Georganas and Giulia Guidi and Steven A. Hofmeyr and Oguz Selvitopi and Cristina Teodoropol and Leonid Oliker},
  title = {{The Parallelism Motifs of Genomic Data Analysis}},
  booktitle = {Philosophical},
  year = {2020},
  doi = {10.1098/rsta.2019.0394},
}

Loading related content...

Figure