Programmatic access to the biocentral ecosystem.
Project description
biocentral_api - Python Client
Python API package for biocentral.
Installation
pip install biocentral-api
Basic Usage
Embedding protein sequences:
from biocentral_api import BiocentralAPI, CommonEmbedder
biocentral_api = BiocentralAPI()
# ProtT5
embedder_name = CommonEmbedder.ProtT5
reduce = True
sequence_data = {"Seq1": "MMALSLALM"}
result = biocentral_api.embed(embedder_name=embedder_name, reduce=reduce, sequence_data=sequence_data,
use_half_precision=False).run()
print(result)
For more examples, please refer to the examples folder.
Citation
Please cite our paper if you are using the biocentral API in your work:
@Article{Franz2026,
author = {Franz, Sebastian and Olenyi, Tobias and Schloetermann, Paula and Smaoui, Amine and Jimenez-Soto, Luisa F. and Rost, Burkhard},
journal = {Journal of Molecular Biology},
title = {biocentral: embedding-based protein predictions},
year = {2026},
issn = {0022-2836},
month = jan,
pages = {169673},
doi = {10.1016/j.jmb.2026.169673},
groups = {[JMB] biocentral: embedding-based protein predictions, swc_bo_engineering},
publisher = {Elsevier BV},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
biocentral_api-1.1.1.tar.gz
(73.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biocentral_api-1.1.1.tar.gz.
File metadata
- Download URL: biocentral_api-1.1.1.tar.gz
- Upload date:
- Size: 73.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f20a6e29064e3b12fa81eb16e7ea3daf6c795da50a8556d36219361fa274f67
|
|
| MD5 |
a2d93818d64668780efafa4b3632221f
|
|
| BLAKE2b-256 |
cdf048a1cfbdfefc7c3ff9027c65ced794449ca91445018f97412da8f3a4bc9a
|
File details
Details for the file biocentral_api-1.1.1-py3-none-any.whl.
File metadata
- Download URL: biocentral_api-1.1.1-py3-none-any.whl
- Upload date:
- Size: 165.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a90820371462b7c696848fdb106f44ba30efe9dbdca719c0d49b20922f49f12c
|
|
| MD5 |
112dc4f27335f92954ad9037912dbaff
|
|
| BLAKE2b-256 |
cc7e67a7d95327942db908e6d91888678124c43b98a1c6ec3eaa99df46d5162e
|