BiomeAI
Simple Python package for Multiple Sequence Alignment search using NVIDIA's ColabFold.
Install
pip install biomeai
Quick Usage
from biomeai import ColabFoldMSA
# Initialize with API key
msa = ColabFoldMSA(api_key="your-api-key")
# Or set NVCF_RUN_KEY environment variable
# Your protein sequence
sequence = "MVPSAGQLALFALGIVLAACQALENSTSPLSADPPVAAAVVSHFNDCPDSHTQFCFHGTCRFL"
# 1. Use a single database
results = msa.search_sync(
sequence=sequence,
databases=["Uniref30_2302"]
)
# 2. Use multiple databases
results = msa.search_sync(
sequence=sequence,
databases=["Uniref30_2302", "PDB70_220313"]
)
# 3. Use all databases (Cascaded Search)
results = msa.search_sync(
sequence=sequence,
databases=["Uniref30_2302", "PDB70_220313", "colabfold_envdb_202108"]
)
# Save results (optional)
msa.save_results(results, "results.json")
Available Databases
Uniref30_2302: Universal Reference DatabasePDB70_220313: Protein Data Bankcolabfold_envdb_202108: Environmental Database
Additional Options
results = msa.search_sync(
sequence=sequence,
databases=["Uniref30_2302"],
e_value=0.0001, # E-value threshold
iterations=1, # Number of iterations
output_formats=["a3m", "fasta"] # Output formats
)
Async Support
import asyncio
async def search_msa():
results = await msa.search(
sequence=sequence,
databases=["Uniref30_2302"]
)
return results
results = asyncio.run(search_msa())
Development
Install with development dependencies:
pip install biomeai[dev]
Run tests:
pytest
License
MIT License - see the LICENSE file for details.
Metadata
Release files for biomeai 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biomeai-1.0.0.tar.gz | 6.1 kB | Without provenance | Details for biomeai-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biomeai-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for biomeai-1.0.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / biomeai-1.0.0.tar.gz
| Download URL | biomeai-1.0.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
725e9319f977d4e0fd3f2ad940d3c8bb70d7241d89539177da38045b734d4cab
|
|
BLAKE2b-256 checksum How to use checksums |
4be67ba120c9353d7ffedc010ee38195e2cf195050508aee76af114780ff941f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / biomeai-1.0.0-py3-none-any.whl
| Download URL | biomeai-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a76aaf43166cd18f48ada62f57f80f07d755dc4be1ac08665fbb40c24a8618c3
|
|
BLAKE2b-256 checksum How to use checksums |
8b1cd3e5dd0379e9c4a9b0c81ee2c4f5e134501ed0f51570a184571a690cc4a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for biomeai 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.