Pangenome graph layout by Path-Guided Stochastic Gradient Descent
- PMID: 38960860
- PMCID: PMC11227364
- DOI: 10.1093/bioinformatics/btae363
Pangenome graph layout by Path-Guided Stochastic Gradient Descent
Abstract
Motivation: The increasing availability of complete genomes demands for models to study genomic variability within entire populations. Pangenome graphs capture the full genomic similarity and diversity between multiple genomes. In order to understand them, we need to see them. For visualization, we need a human-readable graph layout: a graph embedding in low (e.g. two) dimensional depictions. Due to a pangenome graph's potential excessive size, this is a significant challenge.
Results: In response, we introduce a novel graph layout algorithm: the Path-Guided Stochastic Gradient Descent (PG-SGD). PG-SGD uses the genomes, represented in the pangenome graph as paths, as an embedded positional system to sample genomic distances between pairs of nodes. This avoids the quadratic cost seen in previous versions of graph drawing by SGD. We show that our implementation efficiently computes the low-dimensional layouts of gigabase-scale pangenome graphs, unveiling their biological features.
Availability and implementation: We integrated PG-SGD in ODGI which is released as free software under the MIT open source license. Source code is available at https://github.com/pangenome/odgi.
© The Author(s) 2024. Published by Oxford University Press.
Conflict of interest statement
J.H is employed by Computomics GmbH.
Figures


Update of
-
Pangenome graph layout by Path-Guided Stochastic Gradient Descent.bioRxiv [Preprint]. 2023 Oct 17:2023.09.22.558964. doi: 10.1101/2023.09.22.558964. bioRxiv. 2023. Update in: Bioinformatics. 2024 Jul 1;40(7):btae363. doi: 10.1093/bioinformatics/btae363. PMID: 37790531 Free PMC article. Updated. Preprint.
References
-
- Cheong S-H, Si Y-W.. Force-directed algorithms for schematic drawings and placement: a survey. Inf Vis 2019;9:65–91.
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources