Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
/ SGA Public archive

Prototype implementation of sequence to graph alignment algorithms

License

Notifications You must be signed in to change notification settings

haowenz/SGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SGA

We provide a prototype implementation of two sequence to graph alignment algorithms [1] and [2]. The implementation is straitforward without any code optimization. A faster parallel version is still in progress.

Installation

Install dependencies

CMake >=3.3.

Download and install

First get the repo:

git clone [email protected]:haowenz/SGA.git

Then just run:

cd SGA && mkdir build && cd build
cmake -DSGAL_BUILD_TESTING=ON ..
make

This will build the tests. Then the tests can be run:

ctest

Usage

SGA is a header only C++ library. It supports loading graphs in txt format and sequence files in fasta/q format. You can easily use its API to build your own applications. An example on how to use the library to align sequences to graphs is given. After the installation, you can simply test it by running:

./sga_example graph_file read_file

References

[1] Jain, Chirag, Haowen Zhang, Yu Gao, and Srinivas Aluru. "On the complexity of sequence to graph alignment." In International Conference on Research in Computational Molecular Biology, pp. 85-100. Springer, Cham, 2019.

[2] Navarro, Gonzalo. "Improved approximate pattern matching on hypertext." Theoretical Computer Science 237, no. 1-2 (2000): 455-463.

About

Prototype implementation of sequence to graph alignment algorithms

Resources

License

Stars

Watchers

Forks

Packages

No packages published