gaftools: a toolkit for analyzing and manipulating pangenome alignments

Read full text
Authors: Samarendra Pani, Fawaz Dabbaghie, Tobias Marschall, Arda Söylev
Cited by: 4
References: 20

Abstract

MOTIVATION: Linear reference genomes are ubiquitously used in genomics research, despite known biases associated with their use. In recent years, there has been a shift towards graph-based reference genomes to address some of these biases, which has required development of new algorithms and file formats. This has created a necessity for new tools capable of utilizing these formats and performing operations similar to those carried out by traditional methods. RESULTS: In this paper we present "gaftools," a multi-purpose tool that introduces several utilities for processing graph alignments in GAF format. gaftools enables users to index and sort alignments, with graph ordering serving as a necessary step for the sorting process. Additionally, it allows users to view subsets of alignments and perform realignment using the wavefront alignment algorithm, among other features. Many of these functionalities are inspired by SAMtools, which provides similar operations for linear genomes, while gaftools adapts and extends them for pangenomes. AVAILABILITY: gaftools is available under MIT license at https://github.com/marschall-lab/gaftools.

Fields of Study & Subjects

Natural Language Processing Techniques Digital Humanities and Scholarship

Publication details

Journal / source
Bioinformatics
Volume
42
Issue
8
Publication date
28 July 2026
Language
EN