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
client.print_tools()
tools = client.list_tools()
# 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.11.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
File details
Details for the file biotailor-0.1.11.tar.gz.
File metadata
- Download URL: biotailor-0.1.11.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 |
96abbdba485cc4c1d8d448c0bb64b2f2dc3c2d7d43a878ca7bfe5cbb1985eaa6
|
|
| MD5 |
a1fa7924d640b28dd96cec0267b2d44d
|
|
| BLAKE2b-256 |
77f55bc9a784d01209dc12ea2797f3a654b1045ac65d26236ee6be479ad48d61
|
File details
Details for the file biotailor-0.1.11-py3-none-any.whl.
File metadata
- Download URL: biotailor-0.1.11-py3-none-any.whl
- Upload date:
- Size: 20.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 |
a81b3bca4ee29f253d1de6c975ec55d16c682ec2a5bc1815f4c7c75b2c79b0eb
|
|
| MD5 |
f8441625087cb89065d5e94bc4f5e1d7
|
|
| BLAKE2b-256 |
ff6a6cc20eb3e5b1d952ba865c2fb96cf5a45963325e61a5665b6b689f16e278
|