Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: converting graphs to GFA #26

Open
aafshinfard opened this issue Jun 23, 2022 · 1 comment
Open

Feature: converting graphs to GFA #26

aafshinfard opened this issue Jun 23, 2022 · 1 comment

Comments

@aafshinfard
Copy link

aafshinfard commented Jun 23, 2022

Thank you for your work on gfapy;

In the documentation, I could not find a function to convert well-known graph data structures like igraph or networkx to gfa. Assume that we worked on a graph in Python and then we want to print it to a gfa file. One way is to iterate over the graph and add lines to a gfa instance, but it would probably be very useful and more convenient to have this implemented within gfapy.

Also, in a more general way, would be nice if we could have access to functions like add_graph_node() or add_graph_edge, that add the lines for nodes and edges without the user spelling the full line using add_line

@ggonnella
Copy link
Owner

Hi @aafshinfard, for sure it would be interesting to implement automatic conversion.

It is probably not so difficult to add basic functionality for it. Unfortunately I have not much time for that at the moment, since I am too busy with other projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants