Skip to content

UniProt Demo highlights some of the features of the UniProt API and dsome useful analyses with the available data.

License

Notifications You must be signed in to change notification settings

stuartmac/uniprot_demo

Repository files navigation

UniProt Demo

image

image

Documentation Status

UniProt Demo highlights some of the features of the UniProt API and dsome useful analyses with the available data.

Features

  • TODO

Installation

To install the module, run:

pip install .

Usage

You can use this module as a library in your Python code:

from uniprot_demo import get_protein_domains

uniprot_id = "P12345"
domains_df = get_protein_domains(uniprot_id)
print(domains_df)

You can also use it as a command line tool:

uniprot-domains P12345

Configuration

You can customize the configuration by creating a config.json file with the following content:

{
  "cache_expiration_seconds": 3600
}

Then, set the MY_UNIPROT_MODULE_CONFIG environment variable to the path of the custom configuration file.

Tests

To run the tests, execute:

python -m unittest discover tests

Credits

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

About

UniProt Demo highlights some of the features of the UniProt API and dsome useful analyses with the available data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published