Cargando…

WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs

A Wheeler graph represents a collection of strings in a way that is particularly easy to index and query. Such a graph is a practical choice for representing a graph-shaped pangenome, and it is the foundation for current graph-based pangenome indexes. However, there are no practical tools to visuali...

Descripción completa

Detalles Bibliográficos
Autores principales: Chao, Kuan-Hao, Chen, Pei-Wei, Seshia, Sanjit A., Langmead, Ben
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Elsevier 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10415921/
https://www.ncbi.nlm.nih.gov/pubmed/37575187
http://dx.doi.org/10.1016/j.isci.2023.107402
_version_ 1785087655054147584
author Chao, Kuan-Hao
Chen, Pei-Wei
Seshia, Sanjit A.
Langmead, Ben
author_facet Chao, Kuan-Hao
Chen, Pei-Wei
Seshia, Sanjit A.
Langmead, Ben
author_sort Chao, Kuan-Hao
collection PubMed
description A Wheeler graph represents a collection of strings in a way that is particularly easy to index and query. Such a graph is a practical choice for representing a graph-shaped pangenome, and it is the foundation for current graph-based pangenome indexes. However, there are no practical tools to visualize or to check graphs that may have the Wheeler properties. Here, we present Wheelie, an algorithm that combines a renaming heuristic with a permutation solver (Wheelie-PR) or a Satisfiability Modulo Theory (SMT) solver (Wheelie-SMT) to check whether a given graph has the Wheeler properties, a problem that is NP-complete in general. Wheelie can check a variety of random and real-world graphs in far less time than any algorithm proposed to date. It can check a graph with 1,000s of nodes in seconds. We implement these algorithms together with complementary visualization tools in the WGT toolkit, available as open source software at https://github.com/Kuanhao-Chao/Wheeler_Graph_Toolkit.
format Online
Article
Text
id pubmed-10415921
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Elsevier
record_format MEDLINE/PubMed
spelling pubmed-104159212023-08-12 WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs Chao, Kuan-Hao Chen, Pei-Wei Seshia, Sanjit A. Langmead, Ben iScience Article A Wheeler graph represents a collection of strings in a way that is particularly easy to index and query. Such a graph is a practical choice for representing a graph-shaped pangenome, and it is the foundation for current graph-based pangenome indexes. However, there are no practical tools to visualize or to check graphs that may have the Wheeler properties. Here, we present Wheelie, an algorithm that combines a renaming heuristic with a permutation solver (Wheelie-PR) or a Satisfiability Modulo Theory (SMT) solver (Wheelie-SMT) to check whether a given graph has the Wheeler properties, a problem that is NP-complete in general. Wheelie can check a variety of random and real-world graphs in far less time than any algorithm proposed to date. It can check a graph with 1,000s of nodes in seconds. We implement these algorithms together with complementary visualization tools in the WGT toolkit, available as open source software at https://github.com/Kuanhao-Chao/Wheeler_Graph_Toolkit. Elsevier 2023-07-14 /pmc/articles/PMC10415921/ /pubmed/37575187 http://dx.doi.org/10.1016/j.isci.2023.107402 Text en © 2023 The Author(s) https://creativecommons.org/licenses/by/4.0/This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Chao, Kuan-Hao
Chen, Pei-Wei
Seshia, Sanjit A.
Langmead, Ben
WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs
title WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs
title_full WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs
title_fullStr WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs
title_full_unstemmed WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs
title_short WGT: Tools and algorithms for recognizing, visualizing, and generating Wheeler graphs
title_sort wgt: tools and algorithms for recognizing, visualizing, and generating wheeler graphs
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10415921/
https://www.ncbi.nlm.nih.gov/pubmed/37575187
http://dx.doi.org/10.1016/j.isci.2023.107402
work_keys_str_mv AT chaokuanhao wgttoolsandalgorithmsforrecognizingvisualizingandgeneratingwheelergraphs
AT chenpeiwei wgttoolsandalgorithmsforrecognizingvisualizingandgeneratingwheelergraphs
AT seshiasanjita wgttoolsandalgorithmsforrecognizingvisualizingandgeneratingwheelergraphs
AT langmeadben wgttoolsandalgorithmsforrecognizingvisualizingandgeneratingwheelergraphs