Skip to main content

Python functions to access the STRING API, a source of protein-protein association networks.

Project description

stringdb

https://img.shields.io/pypi/v/stringdb.svg https://api.travis-ci.com/gpp-rnd/stringdb.svg 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.

History

0.1.5 (2020-08-18)

  • Allow for background identifiers in enrichment analysis

0.1.4 - 0.1.2 (2020-06-24)

  • Setup travis pypi release

0.1.1 (2020-06-24)

  • Added requests to requirements

0.1.0 (2020-06-22)

  • 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

stringdb-0.1.5.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

stringdb-0.1.5-py2.py3-none-any.whl (5.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