Skip to content

gpp-rnd/stringdb

Repository files navigation

stringdb

image

image

Documentation Status

Python functions to access the STRINGdb API, a source of protein-protein association networks. Documentation for the api can be found here: https://string-db.org/help/api/

Tutorial

To install:

$ pip install stringdb

Basic Usage

import stringdb
genes = ['TP53', 'BRCA1', 'FANCD1', 'FANCL']
string_ids = stringdb.get_string_ids(genes)
enrichment_df = stringdb.get_enrichment(string_ids.queryItem)

There are 5 functions for querying a list of stringIds, which follow the pattern get_*

where * can be 'enrichment', 'interaction_partners', 'ppi_enrichment', 'network', and 'functional_annotation'

TODO

Credits

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