Python SDK for the Biotailor bioinformatics pipeline platform
Project description
biotailor
Python SDK for the Biotailor bioinformatics pipeline platform.
Installation
pip install biotailor
Quickstart
from biotailor import BiotailorClient, Pipeline
# 1. Create a client (get your API key from the Biotailor website)
client = BiotailorClient(api_key="btk_xxx.sk_yyy")
# 2. Discover available tools
tools = client.list_tools()
for t in tools:
print(f"{t.toolid}: {t.display_name}")
# 3. Build a pipeline
tool = client.get_tool("fastp-single")
pipeline = (
Pipeline(name="QC my reads", tool=tool)
.set_input("input", "reads.fastq")
.set_param("qualified_quality_phred", 20)
)
# 4. Run and wait
job = client.run_and_wait(pipeline, output_dir="./results")
print(f"Job {job.jobid} finished with status: {job.job_status.value}")
Development
# Install in dev mode
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Lint
ruff check src/ tests/
Publishing to PyPI
# 1. Install build tools
pip install build twine
# 2. Clean old builds and build the package
rm -rf dist/
python -m build
# 3. (Optional) Test on TestPyPI first
twine upload --repository testpypi dist/*
# 4. Upload to PyPI
twine upload dist/*
Note: Bump
versioninpyproject.tomlbefore each release — PyPI rejects duplicate versions. Use a PyPI API token for authentication (username:__token__).
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
biotailor-0.1.5.tar.gz
(10.8 MB
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
biotailor-0.1.5-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file biotailor-0.1.5.tar.gz.
File metadata
- Download URL: biotailor-0.1.5.tar.gz
- Upload date:
- Size: 10.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04a860f30f77e1929971160080b3c96b2e404e9c048e8aeffa67755ab0cc1327
|
|
| MD5 |
f519af671fdb551c0bfc7ab01d50311d
|
|
| BLAKE2b-256 |
2aaa3e911a16062bf94fb141415e10b60dcfa52560306d515e2f9e2677308c84
|
File details
Details for the file biotailor-0.1.5-py3-none-any.whl.
File metadata
- Download URL: biotailor-0.1.5-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc413208913c42d7f4e4bd463ac5727faf17379a9f4f768555233d09782149af
|
|
| MD5 |
1a10708db03ea9c88f4b2097ca3e3ea9
|
|
| BLAKE2b-256 |
be77cd10e55e94b11c0c29e94ffb6aed0e09405bea019297db913df20f20bb90
|