-
Notifications
You must be signed in to change notification settings - Fork 8
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
Export data to cytoscape sif and graphml format #287
Comments
Another format to investigate that was mentioned by a BOSC reviewer is MIMIx. |
Notes on BioTapestry: http://www.biotapestry.org/
|
I have created a .sif version of the 21-genes_31-edges_Schade-data_input.xlsx demo file that loads in BioTapestry |
21-genes_31-edges_Schade-data_estimation_output.sif.zip
|
Notes on yED: http://www.yworks.com/products/yed
|
|
Initial design decisions have been made for this functionality, with a SIF export function implemented for non-weighted graphs. Key design decisions are:
|
http://pynetconv.sourceforge.net/ PyNetConv is a python program that can convert cytoscape sif to gml. I've been searching for additional documentation about SIF format and am puzzled by two things:
|
Latest Cytoscape user manual v3.4.0: http://manual.cytoscape.org/en/3.4.0/index.html |
So, it turns out that the stand-alone Cytoscape v3.4.0 can directly import json from cytoscape.js (and export json, too.) I need a break from this right now. From what I've seen so far we can leave the relationship type for the unweighted network as "pd". For the weighted network, if we use the actual weight values as the relationship type, they will automatically display on the edges in Cytoscape. I just don't know whether they need to be specified differently so they can be used as ways to change the color or width of the edges. |
The first export variant, export to SIF, has been implemented and has replaced the Placeholder menus have been applied for import, export data, and export image, but for now only Export Data > To SIF will work. Once a GRN has been loaded into the application, this menu item will activate. When selected (and if functional), the menu item will then trigger a download that deposits the SIF export to the user's Downloads folder. While this full-cycle functionality is under review, I will continue with implementation of import/export for the remaining intended formats. |
Export to GraphML is now available on the beta 1.15 deployment. Workflow is identical to SIF export, except that the resulting file ends in .graphml. I used http://graphml.graphdrawing.org/primer/graphml-primer.html as my main reference for putting together the exported data. |
We are not going to export data in GML format so that we can focus on other issues. Although @dondi notes that the export would be easier than the import if we ever wanted to do it. |
GML menu items have been removed from the deployed beta v1.15 (I guess this note applies to #288 too). |
This has been separated from issue #59 because image export is a different issue than data export.
Reviewer 1 comment (#278):
"As it does not accept a standard input file type, the output of any other network analysis package requires conversion in to the matrix format required here. Similarly, the tool provides no export function (the option in the File menu remained stubbornly greyed out) and so I can’t take a network from GRNsight and utilise it elsewhere. I also can’t use GRNsight to convert the GRNmap format to something I might like to use elsewhere.
The authors refer to future features coming in version 2 (lines 323-329). I encourage them to consider implementing at least one standard filetype for displaying graph data within their tool. Be it sif, graphml or even gml, it would significantly increase the utility of the tool as it currently exists."
We need to look into import/export of adjacency matrix in sif, graphml, or gml format.
The text was updated successfully, but these errors were encountered: