Predefined Pipelines
Ready-to-run multi-step bioinformatics workflows that run on managed AWS infrastructure. Submit a pipeline ID, poll for progress, and download your results — no infrastructure setup required.
1. Upload input files
2. POST /v1/pipelines
3. Poll for status
4. Download outputs
12
Predefined pipelines
2
Categories
AWS
Managed infrastructure
NGS Sequencing8 pipelines
| Pipeline ID | Name | Description | Runtime |
|---|---|---|---|
| quality-control | Quality Control | FastQC + MultiQC report generation for one or more sequencing datasets. | 10–30 min |
| alignment-wes | WES Alignment | Whole-exome sequencing alignment: FastQC → Trimmomatic → BWA-MEM → Picard → GATK BQSR. | 2–4 hours |
| whole-genome-sequencing | Whole Genome Sequencing | WGS alignment with QC, duplicate marking, and variant-ready BAM generation. | 4–8 hours |
| rna-seq-analysis | RNA-seq Analysis | FastQC → Trimmomatic → HISAT2 → SAMtools → featureCounts → DESeq2. Produces a real count matrix and a ranked differential expression table. Pass `conditions` (e.g. "control,control,treated,treated") to run the DE step; without it the pipeline stops at counts. | 2–5 hours |
| atac-seq | ATAC-seq | Adapter trimming → Bowtie2 alignment → MACS2 peak calling → fragment size analysis. | 1–2 hours |
| chip-seq | ChIP-seq | ChIP-seq alignment, MACS2 peak calling, and de novo motif enrichment with HOMER. | 1–3 hours |
| gatk-variant-calling | GATK Variant Calling | Germline SNP & indel discovery using GATK4 HaplotypeCaller in GVCF mode. | 1–4 hours |
| somatic-variant-calling | Somatic Variant Calling | Tumor-normal somatic SNV & indel detection using GATK Mutect2 with artifact filtering. | 2–5 hours |
AI Protein Design4 pipelines
| Pipeline ID | Name | Description | Runtime |
|---|---|---|---|
| protein-binder-design-validated | Protein Binder Design | AI binder design (generative models) + automated binding affinity validation with Boltz-2. | 30–90 min |
| nanobody-discovery | Nanobody Discovery | De novo VHH nanobody design: RFdiffusion3 holds a real VHH framework fixed and diffuses only CDR1/CDR2/CDR3 against the epitope, ProteinMPNN designs sequences, RoseTTAFold3 validates, then Boltz-2 co-folds each candidate with the antigen and ranks by interface confidence (ipTM, pTM, pLDDT). Requires a vhhScaffold framework to build on. No numeric ΔG or Kd — Boltz-2 scores affinity only for small-molecule binders. | 1–2 hours |
| enzyme-engineering | Enzyme Engineering | Redesigns an enzyme scaffold with its catalytic residues held fixed, validates the fold with Boltz-2, and scores thermostability with ThermoMPNN. | 25–50 min |
| structure-based-drug-discovery | Structure-Based Drug Discovery | Target structure retrieval or prediction, binding site identification, and virtual screening. | 30–120 min |
Quick Start
Upload your input files, submit a pipeline by ID, poll until completion, then download outputs. The SDKs provide a .wait() helper that handles polling automatically.
from smartsbio import SmartsBio
client = SmartsBio(api_key="sk_live_...")
ws_id = "ws_abc123"
# 1. Upload FASTQ files
r1 = client.files.upload("sample_R1.fastq.gz", workspace_id=ws_id, path="input/")
r2 = client.files.upload("sample_R2.fastq.gz", workspace_id=ws_id, path="input/")
# 2. Start the RNA-seq pipeline
pipeline = client.pipelines.create(
pipeline_id="rna-seq-analysis",
workspace_id=ws_id,
input={
"fastq_r1": r1["key"],
"fastq_r2": r2["key"],
"gtf": "input/genome.gtf",
"reference": "GRCh38",
"output_path": "results/rnaseq/",
},
)
print(f"Pipeline {pipeline['id']} queued")
# 3. Wait for completion (polls every 30 s)
pipeline = client.pipelines.wait(
pipeline["id"],
workspace_id=ws_id,
poll_interval=30,
on_progress=lambda p: print(f" [{p.get('current_step', '?')}] {p['progress_pct']}%"),
)
# 4. Download output files
for key in pipeline["output_paths"]:
client.files.download(key, workspace_id=ws_id, dest="./output/")
print("Done!")import { SmartsBio } from '@smartsbio/sdk';
const client = new SmartsBio({ apiKey: 'sk_live_...' });
const wsId = 'ws_abc123';
// 1. Upload FASTQ files
const r1 = await client.files.upload('sample_R1.fastq.gz', { workspaceId: wsId, path: 'input/' });
const r2 = await client.files.upload('sample_R2.fastq.gz', { workspaceId: wsId, path: 'input/' });
// 2. Start the RNA-seq pipeline
const pipeline = await client.pipelines.create({
pipelineId: 'rna-seq-analysis',
workspaceId: wsId,
input: {
fastqR1: r1.key,
fastqR2: r2.key,
gtf: 'input/genome.gtf',
reference: 'GRCh38',
outputPath: 'results/rnaseq/',
},
});
console.log(`Pipeline ${pipeline.id} queued`);
// 3. Wait for completion
const done = await client.pipelines.wait(pipeline.id, wsId, {
pollInterval: 30_000,
onProgress: p => console.log(` [${p.currentStep ?? '?'}] ${p.progressPct}%`),
});
// 4. Download outputs
for (const key of done.outputPaths) {
await client.files.download(key, { workspaceId: wsId, dest: './output/' });
}
console.log('Done!');# 1. Upload a FASTQ file
curl -X POST https://api.smarts.bio/v1/files/upload \
-H "Authorization: Bearer sk_live_..." \
-F "file=@sample_R1.fastq.gz" \
-F "workspace_id=ws_abc123" \
-F "path=input/"
# → { "data": { "key": "/input/sample_R1.fastq.gz", ... } }
# 2. Start the pipeline
curl -X POST https://api.smarts.bio/v1/pipelines \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"pipeline_id": "rna-seq-analysis",
"workspace_id": "ws_abc123",
"input": {
"fastq_r1": "/input/sample_R1.fastq.gz",
"fastq_r2": "/input/sample_R2.fastq.gz",
"reference": "GRCh38",
"output_path": "results/rnaseq/"
}
}'
# → { "data": { "id": "pipe_xyz789", "status": "queued" } }
# 3. Poll for status
curl "https://api.smarts.bio/v1/pipelines/pipe_xyz789?workspace_id=ws_abc123" \
-H "Authorization: Bearer sk_live_..."
# → { "data": { "status": "running", "progress_pct": 45, "current_step": "HISAT2 alignment" } }# 1. Upload FASTQ files smarts file upload sample_R1.fastq.gz -w ws_abc123 --path input/ smarts file upload sample_R2.fastq.gz -w ws_abc123 --path input/ # 2. Start the RNA-seq pipeline smarts pipeline run rna-seq-analysis \ -w ws_abc123 \ --param fastq_r1=/input/sample_R1.fastq.gz \ --param fastq_r2=/input/sample_R2.fastq.gz \ --param gtf=input/genome.gtf \ --param reference=GRCh38 \ --param output_path=results/rnaseq/ # → run queued: run_xyz789 # 3. Watch until completion (streams progress) smarts run watch run_xyz789 # 4. Download outputs smarts file download results/rnaseq/ -w ws_abc123 --dest ./output/
Discover at Runtime
Use the list_pipelines tool to fetch the current pipeline registry with required inputs and estimated runtimes.
result = client.tools.run(tool_id="list_pipelines", input={})
for p in result["pipelines"]:
print(f"{p['id']:45s} ~{p['estimated_runtime']}")const result = await client.tools.run('list_pipelines', { input: {} });
for (const p of result.pipelines) {
console.log(`${p.id.padEnd(45)} ~${p.estimatedRuntime}`);
}curl -X POST https://api.smarts.bio/v1/tools/list_pipelines/run \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"input": {}}'# List the current pipeline registry smarts pipeline list
Full API details: The Pipelines API Reference covers all endpoints (POST, GET, DELETE), the pipeline object schema, polling options, log access, and input/output details for every predefined pipeline.