UniProt Demo highlights some of the features of the UniProt API and dsome useful analyses with the available data.
- Free software: MIT license
- Documentation: https://uniprot-demo.readthedocs.io.
- TODO
To install the module, run:
pip install .
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
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.
To run the tests, execute:
python -m unittest discover tests
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.