ndex-webapp-python-exporters

Command line exporters written in Python used by the NDex REST service


Keywords
ndex_webapp_python_exporters
License
BSD-3-Clause
Install
pip install ndex-webapp-python-exporters==0.1.1

Documentation

ndex-webapp-python-exporters

https://coveralls.io/repos/github/ndexbio/ndex_webapp_python_exporters/badge.svg?branch=master

Command line exporters written in Python used by the NDEx REST service.

Supported Exporters

Tools

  • ndex_exporters.py Takes file in NDEx CX format and converts to format specified as a command line argument

Dependencies

Compatibility

  • Python 3.5+

Installation

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

Example usage

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.

Credits

  • Graphml exporter derived from code developed by Cecilia Zhang

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.