Skip to main content

Python SDK for the Biotailor bioinformatics pipeline platform

Project description

biotailor

Python SDK for the Biotailor bioinformatics pipeline platform.

Installation

pip install biotailor

Quickstart

import os
from biotailor import BiotailorClient, Pipeline

# 1. Create a client with your API key (get one at https://biotailor.com)
client = BiotailorClient(
    api_key=os.environ["BIOTAILOR_API_KEY"],
    base_url="https://api.biotailor.org",
)

# 2. Pick a bioinformatics tool
fastp = client.get_tool("fastp")

# 3. Build a quality-control pipeline
pipeline = (
    Pipeline(name="demo-fastp", tool=fastp)
    .set_pair_end(False)
    .set_input("--in1", "examples/reads.fastq")
    .set_param("--qualified_quality_phred", 20)
    .set_param("--length_required", 30)
)

# 4. Run and wait for results
job = client.run_and_wait(pipeline, output_dir="outputs/")
print(f"Done! Status: {job.job_status.value}")

Development

# Install in dev mode
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

# Lint
ruff check src/ tests/

Project details


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.1.tar.gz (10.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biotailor-0.1.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file biotailor-0.1.1.tar.gz.

File metadata

  • Download URL: biotailor-0.1.1.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

Hashes for biotailor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6e25b351fbb1c4e4d58de94cba577d275b0fe31023889b0b97a479e46106b90d
MD5 6e717b5597c82d10b75314e9796adc9b
BLAKE2b-256 b30dff85e3ceb66327f8b40f0b5964ec26af945d867e47464c6cbcd476c2784c

See more details on using hashes here.

File details

Details for the file biotailor-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: biotailor-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for biotailor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04979fbe86929749f2efc3570301e274192d754b6d9f3303d0513576c388c113
MD5 952bd654c2e6ed146e1b11fdb41e6c36
BLAKE2b-256 fd3fdc91968fc4d2925129447a2a30dc462e7a45ded213de08aade66ff1eb855

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page