All Projects → ggonnella → gfapy

ggonnella / gfapy

Licence: other
Gfapy: a flexible and extensible software library for handling sequence graphs in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to gfapy

simplexspatial
The Reactive Geospatial Server
Stars: ✭ 17 (-68.52%)
Mutual labels:  graphs
hacktoberfest-data
Generating stats from the raw Hacktoberfest application data.
Stars: ✭ 21 (-61.11%)
Mutual labels:  graphs
graphql
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations.
Stars: ✭ 397 (+635.19%)
Mutual labels:  graphs
The-Stata-Guide
Files for the Stata Guide on Medium https://medium.com/the-stata-guide
Stars: ✭ 105 (+94.44%)
Mutual labels:  graphs
kalign
A fast multiple sequence alignment program.
Stars: ✭ 89 (+64.81%)
Mutual labels:  sequence-analysis
ldbc snb docs
Specification of the LDBC Social Network Benchmark suite
Stars: ✭ 39 (-27.78%)
Mutual labels:  graphs
algoexpert
AlgoExpert is an online platform that helps software engineers to prepare for coding and technical interviews.
Stars: ✭ 8 (-85.19%)
Mutual labels:  graphs
graphite
Haskell graphs and networks library
Stars: ✭ 31 (-42.59%)
Mutual labels:  graphs
Advanced-Shortest-Paths-Algorithms
Java Code for Contraction Hierarchies Algorithm, A-Star Algorithm and Bidirectional Dijkstra Algorithm. Tested and Verified Code.
Stars: ✭ 63 (+16.67%)
Mutual labels:  graphs
js-data-structures
🌿 Data structures for JavaScript
Stars: ✭ 56 (+3.7%)
Mutual labels:  graphs
awesome-knowledge-graphs
Graph databases, Knowledge Graphs, SPARQ
Stars: ✭ 56 (+3.7%)
Mutual labels:  graphs
MetaGraphsNext.jl
This is an experimental, type-stable replacement for MetaGraphs
Stars: ✭ 50 (-7.41%)
Mutual labels:  graphs
ntds 2019
Material for the EPFL master course "A Network Tour of Data Science", edition 2019.
Stars: ✭ 62 (+14.81%)
Mutual labels:  graphs
awesome-dynamic-graphs
A collection of resources on dynamic/streaming/temporal/evolving graph processing systems, databases, data structures, datasets, and related academic and industrial work
Stars: ✭ 89 (+64.81%)
Mutual labels:  graphs
Causing
Causing: CAUsal INterpretation using Graphs
Stars: ✭ 47 (-12.96%)
Mutual labels:  graphs
Minefana
Bungee/Spigot plugin to send stats to a InfluxDB to be displayed by a Grafana instance.
Stars: ✭ 23 (-57.41%)
Mutual labels:  graphs
corona cases
🦠 Coronavirus Information on Telegram Chatbot
Stars: ✭ 19 (-64.81%)
Mutual labels:  graphs
WikiChron
Data visualization tool for wikis evolution
Stars: ✭ 19 (-64.81%)
Mutual labels:  graphs
CovidIndiaStats
A dashboard to visualise the spread of covid19 in India(state and districtwise) and around the world(countrywise).
Stars: ✭ 22 (-59.26%)
Mutual labels:  graphs
StaticGraphs.jl
Memory-efficient immutable LightGraphs.
Stars: ✭ 33 (-38.89%)
Mutual labels:  graphs

Gfapy

Travis ReadTheDocs Latest GitHub tag ISC License

Bioconda PyPI Debian Ubuntu

The Graphical Fragment Assembly (GFA) are formats for the representation of sequence graphs, including assembly, variation and splicing graphs. Two versions of GFA have been defined (GFA1 and GFA2) and several sequence analysis programs have been adopting the formats as an interchange format, which allow to easily combine different sequence analysis tools.

This library implements the GFA1 and GFA2 specification described at https://github.com/GFA-spec/GFA-spec/blob/master/GFA-spec.md. It allows to create a Gfa object from a file in the GFA format or from scratch, to enumerate the graph elements (segments, links, containments, paths and header lines), to traverse the graph (by traversing all links outgoing from or incoming to a segment), to search for elements (e.g. which links connect two segments) and to manipulate the graph (e.g. to eliminate a link or a segment or to duplicate a segment distributing the read counts evenly on the copies).

The GFA format can be easily extended by users by defining own custom tags and record types. In Gfapy, it is easy to write extensions modules, which allow to define custom record types and datatypes for the parsing and validation of custom fields. The custom lines can be connected, using references, to each other and to lines of the standard record types.

Requirements

Gfapy has been written for Python 3 and tested using Python version 3.7. It does not require any additional Python packages or other software.

Installation

Gfapy is distributed as a Python package and can be installed using the Python package manager pip, as well as conda (in the Bioconda channel). It is also available as a package in some Linux distributions (Debian, Ubuntu).

The following command installs the current stable version from the Python Packages index:

pip install gfapy

If you would like to install the current development version from Github, use the following command:

pip install -e git+https://github.com/ggonnella/gfapy.git#egg=gfapy

Alternatively it is possible to install gfapy using conda. Gfapy is included in the Bioconda (https://bioconda.github.io/) channel:

conda install -c bioconda gfapy

Usage

If you installed gfapy as described above, you can import it in your script using the conventional Python syntax:

>>> import gfapy

Documentation

The documentation, including this introduction to Gfapy, a user manual and the API documentation is hosted on the ReadTheDocs server, at the URL http://gfapy.readthedocs.io/en/latest/ and it can be downloaded as PDF from the URL https://github.com/ggonnella/gfapy/blob/master/manual/gfapy-manual.pdf.

References

Giorgio Gonnella and Stefan Kurtz "GfaPy: a flexible and extensible software library for handling sequence graphs in Python", Bioinformatics (2017) btx398 https://doi.org/10.1093/bioinformatics/btx398

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].