Skip to content
/ gfatools Public

Tools for manipulating sequence graphs in the GFA and rGFA formats

Notifications You must be signed in to change notification settings

lh3/gfatools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c31be8a · Feb 20, 2024
Jul 6, 2019
Feb 20, 2024
Feb 14, 2022
Jul 24, 2019
Feb 7, 2019
Jul 26, 2023
Mar 21, 2021
Jul 6, 2019
Feb 14, 2022
Nov 30, 2019
Jul 26, 2023
Mar 11, 2021
Feb 7, 2019
May 25, 2022
Jul 26, 2023
Oct 21, 2023
Jan 29, 2024
Feb 25, 2021
Feb 14, 2022
Oct 21, 2023
Oct 21, 2023
Jun 5, 2022
Jun 5, 2022
Jun 29, 2019
Feb 14, 2022
Jun 29, 2019
Feb 14, 2022
Feb 7, 2019
Jun 29, 2019
Feb 7, 2019
Feb 14, 2022
Feb 7, 2019
Oct 21, 2023
Nov 30, 2019

Repository files navigation

Getting Started

git clone https://github.com/lh3/gfatools
cd gfatools && make
# Extract a subgraph
./gfatools view -l MTh4502 -r 1 test/MT.gfa > sub.gfa
# Convert GFA to segment FASTA
./gfatools gfa2fa test/MT.gfa > MT-seg.fa
# Convert rGFA to stable FASTA or BED
./gfatools gfa2fa -s test/MT.gfa > MT.fa
./gfatools gfa2bed -m test/MT.gfa > MT.bed

Introduction

gfatools is a set of tools for manipulating sequence graphs in the GFA or the rGFA format. It has implemented parsing, subgraph and conversion to FASTA/BED. More functionality may be added in future.