Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2017 Oct 1;33(19):3094-3095.
doi: 10.1093/bioinformatics/btx398.

GfaPy: a flexible and extensible software library for handling sequence graphs in Python

Affiliations

GfaPy: a flexible and extensible software library for handling sequence graphs in Python

Giorgio Gonnella et al. Bioinformatics. .

Abstract

Summary: GFA 1 and GFA 2 are recently defined formats for representing sequence graphs, such as assembly, variation or splicing graphs. The formats are adopted by several software tools. Here, we present GfaPy, a software package for creating, parsing and editing GFA graphs using the programming language Python. GfaPy supports GFA 1 and GFA 2, using the same interface and allows for interconversion between both formats. The software package provides a simple interface for custom record types, which is an important new feature of GFA 2 (compared to GFA 1). This enables new applications of the format.

Availability and implementation: GfaPy is available open source at https://github.com/ggonnella/gfapy and installable via pip.

Contact: gonnella@zbh.uni-hamburg.de.

Supplementary information: Supplementary data are available at Bioinformatics online.

PubMed Disclaimer

LinkOut - more resources