You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
ornetworkx
togfa
. Assume that we worked on a graph inPython
and then we want to print it to agfa
file. One way is to iterate over the graph and add lines to agfa
instance, but it would probably be very useful and more convenient to have this implemented withingfapy
.Also, in a more general way, would be nice if we could have access to functions like
add_graph_node()
oradd_graph_edge
, that add the lines for nodes and edges without the user spelling the full line usingadd_line
The text was updated successfully, but these errors were encountered: