Skip to main content

Loads BioGRID data into NDEx

Project description

NDEx BioGRID Content Loader Documentation Status

Python application for loading BioGRID data into NDEx.

This tool downloads and unpacks the BioGRID files below

NOTE: script --biogridversion parameter dictates version (3.5.187 above)



  • Python 3.3+


git clone
cd ndexbiogridloader
make dist
pip install dist/ndexloadbiogrid*whl

Run make command with no arguments to see other build/deploy options including creation of Docker image



clean                remove all build, test, coverage and Python artifacts
clean-build          remove build artifacts
clean-pyc            remove Python file artifacts
clean-test           remove test and coverage artifacts
lint                 check style with flake8
test                 run tests quickly with the default Python
test-all             run tests on every Python version with tox
coverage             check code coverage quickly with the default Python
docs                 generate Sphinx HTML documentation, including API docs
servedocs            compile the docs watching for changes
testrelease          package and upload a TEST release
release              package and upload a release
dist                 builds source and wheel package
install              install the package to the active Python's site-packages
dockerbuild          build docker image and store in local repository
dockerpush           push image to dockerhub


The requires a configuration file in the following format be created. The default path for this configuration is ~/.ndexutils.conf but can be overridden with --conf flag.

Format of configuration file:

[<value in --profile (default ndexbiogridloader)>]

user = <NDEx username>
password = <NDEx password>
server = <NDEx server(omit http) ie>

Example of default configuration file:

user = joe123
password = somepassword123
server =


For information invoke -h

The command shown below will download the default version of BioGRID files (3.5.178) to the working directory biogrid_data, will generate CX networks in this directory, and then upload these networks to default account specified in [ndexbiogridloader] section of default configuration file: biogrid_data


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


0.2.0 (2020-07-27)

  • Updated default --biogridversion version to 3.5.187

  • Modified organism_list file to include 3 strains of coronavirus (SARS-1, SARS-2 and MERS)

  • Modified organism_style file to add an orange border to all viral protein nodes. This change affects all the both new and already existing viral organisms.

0.1.3 (2019-11-21)

Fixed a bug where networkType used to be a string, now it is a list of strings and we specify ‘list_of_string’ type when setting networkType attribute with network.set_network_attribute(“networkType”, networkType, ‘list_of_string’). This results in correct representation of networkType in CX model, for example: {“n”:”networkType”,”v”:[“interactome”,”ppi”],”d”:”list_of_string”}.

0.1.2 (2019-10-25)

In organism_load_plan.json, changed types of edge columns “Experimental System Type” and “Throughput” to be “list_of_string”, and “Score” to be “list_of_double”. This change resolves UD-761 Biogrid network can’t be imported to Cytoscape.

0.1.1 (2019-08-23)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndexbiogridloader-0.2.0.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

ndexbiogridloader-0.2.0-py2.py3-none-any.whl (46.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page