Command line exporters written in Python used by the NDEx REST service.
Supported Exporters
- ndex_exporters.py Takes file in NDEx CX format and converts to format specified as a command line argument
- Python 3.5+
pip install ndex_webapp_python_exporters
Or directly from repo (requires git)
git clone https://github.com/ndexbio/ndex_webapp_python_exporters.git cd ndex_webapp_python_exporters python setup.py install
The example below assumes foo.cx is a file in NDEx CX format
cat foo.cx | ndex_exporters.py graphml > foo.graphml
NOTE: For the above example, the network Thyroid Cancer can be downloaded as a file named foo.cx in NDEx CX format.
- Graphml exporter derived from code developed by Cecilia Zhang
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.