bio-nexus-api / docs /API.md
Samad14's picture
Upload folder using huggingface_hub
f783f69 verified
|
Raw History Blame Contribute Delete
11 kB
# BioNexus API (automatically generated)
> Generated by `scripts/generate_docs.py` β€” do not edit by hand.
- `POST` `/api/admet/descriptors` β€” Compute molecular descriptors from SMILES / chemical name / PubChem CID.
- `POST` `/api/admet/protox` β€” ProTox 3.0 ML-based toxicity prediction (CharitΓ©).
- `GET` `/api/admet/search` β€” PubChem autocomplete for chemical name search.
- `GET` `/api/admin/cache-stats` β€”
- `POST` `/api/admin/cache-stats/reset` β€”
- `POST` `/api/ai/interpret` β€”
- `POST` `/api/ai/interpret/stream` β€”
- `POST` `/api/ai/tool-interpret` β€” Generate a plain-language AI interpretation of a single tool result on demand.
- `POST` `/api/alignment/pairwise` β€”
- `POST` `/api/alignment/run` β€”
- `POST` `/api/audit/event` β€”
- `GET` `/api/audit/insights` β€”
- `GET` `/api/benchmarks` β€” Benchmark catalog (BBS-1 expansion), optionally filtered by category.
- `POST` `/api/benchmarks/seed` β€” Upsert the JSON benchmark catalog (app/data/benchmarks) into the DB.
- `GET` `/api/benchmarks/summary` β€” Per-category pass/fail statistics across recorded benchmark runs.
- `GET` `/api/benchmarks/{benchmark_id}` β€”
- `POST` `/api/benchmarks/{benchmark_id}/run` β€” Execute a benchmark against the stored context of an existing job.
- `POST` `/api/castp/analyze` β€”
- `GET` `/api/dashboard/datasets` β€”
- `GET` `/api/dashboard/engines` β€”
- `GET` `/api/dashboard/runs` β€”
- `GET` `/api/dashboard/summary` β€”
- `POST` `/api/dashboard/upload_data` β€” Ingest a scientist's own dataset file into the dashboard library.
- `GET` `/api/datasets` β€” Summaries of every dataset in the library.
- `GET` `/api/datasets/{name}` β€” One full dataset (records included).
- `POST` `/api/datasets/{name}/snapshot` β€” Copy a dataset (records + manifest) into an engine workspace folder.
- `GET` `/api/docking` β€”
- `GET` `/api/docking/result/{job_id}/complex.pdb` β€” Receptor + docked ligand merged into a single PDB (techspec Β§2).
- `GET` `/api/docking/result/{job_id}/ligand.sdf` β€” Ligand-only SDF of the docked poses (techspec Β§2).
- `GET` `/api/docking/result/{job_id}/pdb` β€”
- `POST` `/api/docking/run` β€”
- `GET` `/api/docking/status/{job_id}` β€”
- `POST` `/api/domains/scan` β€” Scan a raw protein sequence against PROSITE signatures (best-effort).
- `GET` `/api/domains/{accession}` β€” Fetch InterPro domain architecture (Pfam, SMART, PROSITE, CDD, PANTHER, PRINTS).
- `GET` `/api/domains/{accession}/all` β€” Combined analysis: domains, sites, PTMs, topology, motifs, variants, GO, pathways.
- `GET` `/api/domains/{accession}/composition` β€” Compositionally biased regions and low-complexity sequences.
- `GET` `/api/domains/{accession}/disulfide` β€” Disulfide bond connectivity.
- `GET` `/api/domains/{accession}/features` β€” Full UniProt feature table categorized by type.
- `GET` `/api/domains/{accession}/go` β€” Gene Ontology annotations (molecular function, biological process, cellular component).
- `GET` `/api/domains/{accession}/motifs` β€” Structural motifs: zinc fingers, coiled coils, repeats, domain families.
- `GET` `/api/domains/{accession}/pathways` β€” Pathway annotations from KEGG, Reactome, and WikiPathways.
- `GET` `/api/domains/{accession}/ptm` β€” Post-translational modifications (phosphorylation, glycosylation, etc.).
- `GET` `/api/domains/{accession}/sites` β€” Active sites, binding sites, and catalytic residues.
- `GET` `/api/domains/{accession}/topology` β€” Signal peptides, transmembrane regions, chains, and propeptides.
- `GET` `/api/domains/{accession}/variants` β€” Mutagenesis sites and natural variants.
- `GET` `/api/engines` β€” Every registered engine: name, tool, databases, benchmark coverage.
- `GET` `/api/engines/{name}` β€”
- `POST` `/api/engines/{name}/export` β€” Export an engine result to JSON or CSV.
- `POST` `/api/engines/{name}/figure` β€” Render a publication-style SVG figure for the result.
- `POST` `/api/engines/{name}/validate` β€” Validate a canonical engine output; returns PASS/FAIL checks,
- `GET` `/api/experiments` β€” Recent experiments (provenance metadata for reproducibility).
- `GET` `/api/experiments/debug/fingerprint` β€” Return the reproducibility fingerprint for an input (used by tests).
- `POST` `/api/experiments/debug/new` β€” Create an experiment record on demand (used by tests).
- `POST` `/api/experiments/debug/trace` β€” Record a provenance node on demand (used by tests).
- `GET` `/api/experiments/{job_id}` β€” The immutable experiment record for a job, including its provenance DAG.
- `GET` `/api/experiments/{job_id}/evidence` β€” Evidence graph linking every AI claim to its supporting computation.
- `GET` `/api/experiments/{job_id}/evidence/validate` β€” Validation report over the evidence graph (honesty invariant).
- `POST` `/api/experiments/{job_id}/finalize` β€” Manually finalize an experiment (used by tests / admin).
- `GET` `/api/experiments/{job_id}/ledger` β€”
- `POST` `/api/experiments/{job_id}/ledger` β€”
- `GET` `/api/experiments/{job_id}/ledger/validate` β€”
- `GET` `/api/experiments/{job_id}/paper` β€” Manuscript draft generated from the recorded experiment. Zero external calls.
- `GET` `/api/experiments/{job_id}/paper/latest` β€”
- `POST` `/api/experiments/{job_id}/paper/regenerate` β€”
- `GET` `/api/experiments/{job_id}/paper/versions` β€”
- `GET` `/api/experiments/{job_id}/provenance` β€” Clickable provenance trace: nodes + edges for a job's experiment.
- `GET` `/api/figure/formats` β€” Publication formats the Figure Engine can emit (SVG only by design:
- `GET` `/api/figures/{job_id}` β€” One publication figure for a recorded experiment (paneled, captioned).
- `POST` `/api/function/predict` β€” Submit a function prediction job (queued through the durable worker).
- `GET` `/api/function/status/{job_id}` β€”
- `POST` `/api/history/branch` β€” Create a new pipeline job branched from an existing job's results.
- `GET` `/api/history/children/{job_id}` β€” Return direct children of a job (for the 'branch from here' list).
- `GET` `/api/history/graph/{job_id}` β€” Return the full ancestry + descendants of a job as a DAG.
- `GET` `/api/interactions/{gene_name}` β€”
- `GET` `/api/jobs` β€”
- `GET` `/api/jobs/count` β€”
- `DELETE` `/api/jobs/{job_id}` β€”
- `GET` `/api/jobs/{job_id}` β€”
- `GET` `/api/keys` β€”
- `POST` `/api/keys` β€”
- `DELETE` `/api/keys/{key_id}` β€”
- `GET` `/api/md/forcefields` β€” Return the force field / solvent menu (verified combos only).
- `POST` `/api/md/run` β€” Submit an MD simulation job (queued through the durable worker).
- `GET` `/api/md/status/{job_id}` β€”
- `POST` `/api/md/v2/analyze` β€” Run the full in-process staged MD DAG over a structure and return the audit report.
- `GET` `/api/md/v2/engine` β€” Report MD engine availability + versions (OpenMM primary, GROMACS gated).
- `GET` `/api/md/v2/stages` β€” Return the ordered stage contracts (names + human explanations) for the MD v2 DAG.
- `GET` `/api/ngs/references` β€”
- `POST` `/api/ngs/run` β€”
- `GET` `/api/ngs/status/{job_id}` β€”
- `POST` `/api/ngs/v2/analyze` β€”
- `GET` `/api/ngs/v2/benchmarks/portable` β€”
- `POST` `/api/ngs/v2/clinical/evaluate` β€”
- `GET` `/api/ngs/v2/demos` β€”
- `POST` `/api/ngs/v2/detect` β€”
- `GET` `/api/ngs/v2/production/capabilities` β€”
- `POST` `/api/ngs/v2/production/plan` β€”
- `GET` `/api/ngs/v2/production/runs/{run_id}` β€”
- `GET` `/api/ngs/v2/production/runs/{run_id}/artifacts` β€”
- `POST` `/api/ngs/v2/production/submit` β€”
- `GET` `/api/ngs/v2/stages` β€”
- `POST` `/api/paper/continuous` β€”
- `GET` `/api/paper/continuous/subscriptions` β€”
- `POST` `/api/paper/continuous/tick` β€”
- `GET` `/api/paper/journal-formats` β€” Journal templates the Publication Engine can emit.
- `POST` `/api/pathways/detail` β€”
- `POST` `/api/pathways/enrichment` β€”
- `POST` `/api/pathways/enrichment/cross-validate` β€” Run both Reactome and g:Profiler enrichment, returning concordant pathways.
- `POST` `/api/pathways/kegg/search` β€”
- `POST` `/api/pathways/search` β€”
- `POST` `/api/pipeline/v2/run` β€”
- `GET` `/api/pipeline/v2/status/{job_id}` β€”
- `GET` `/api/pipelines/definitions` β€”
- `POST` `/api/pipelines/run` β€”
- `GET` `/api/pipelines/{pipeline_type}/definition` β€”
- `GET` `/api/plugins` β€”
- `POST` `/api/plugins/event` β€”
- `POST` `/api/plugins/reload` β€”
- `POST` `/api/plugins/{name}/disable` β€”
- `POST` `/api/plugins/{name}/enable` β€”
- `POST` `/api/primers/analyze` β€” Run oligo QC (hairpin, self-/hetero-dimer, Tm, GC) and in-silico PCR.
- `POST` `/api/primers/design` β€”
- `POST` `/api/primers/search` β€” Search NCBI Nucleotide for a gene/sequence to design primers against.
- `GET` `/api/profile` β€”
- `PUT` `/api/profile` β€”
- `POST` `/api/seq-tools/analyze` β€”
- `POST` `/api/seq-tools/dotplot` β€”
- `POST` `/api/seq-tools/motif-library` β€”
- `GET` `/api/seq-tools/motif-library/categories` β€” Return the ordered list of motif categories for UI filters.
- `GET` `/api/seq-tools/motif-library/patterns` β€” Return the curated motif library so the UI can offer presets.
- `POST` `/api/seq-tools/motif-scan` β€”
- `POST` `/api/sequences/fetch` β€”
- `POST` `/api/sequences/search` β€”
- `POST` `/api/sequences/validate` β€”
- `GET` `/api/sequencing/references` β€”
- `POST` `/api/sequencing/run` β€”
- `GET` `/api/sequencing/status/{job_id}` β€”
- `POST` `/api/share` β€”
- `GET` `/api/share/{token}` β€”
- `GET` `/api/structure-export/structure/{identifier}` β€” Download a structure as PDB, mmCIF, or a styled PyMOL session (.pse).
- `POST` `/api/structure-predict/predict` β€”
- `GET` `/api/structure-predict/status/{job_id}` β€”
- `POST` `/api/structure-prep/run` β€”
- `GET` `/api/structure-prep/status/{job_id}` β€”
- `GET` `/api/structure_analysis/compare/{pdb_id}` β€”
- `GET` `/api/structure_analysis/ramachandran/{pdb_id}` β€”
- `GET` `/api/structure_analysis/secondary_structure/{identifier}` β€”
- `POST` `/api/structures/fetch` β€”
- `POST` `/api/structures/inventory` β€” Return lightweight chain and non-polymer inventory for workbench controls.
- `POST` `/api/structures/search` β€”
- `GET` `/api/swissmodel/coordinates/{accession}` β€”
- `POST` `/api/swissmodel/repository` β€”
- `GET` `/api/templates` β€”
- `POST` `/api/templates` β€”
- `GET` `/api/templates/shared/{token}` β€”
- `DELETE` `/api/templates/{template_id}` β€”
- `GET` `/api/templates/{template_id}` β€”
- `PUT` `/api/templates/{template_id}` β€”
- `POST` `/api/templates/{template_id}/share` β€”
- `GET` `/api/tools` β€”
- `GET` `/api/tools/{tool_id}` β€”
- `POST` `/api/uniprot/cds` β€” Fetch the CDS nucleotide sequence for a UniProt entry given an EMBL/GenBank accession.
- `POST` `/api/uniprot/detail` β€”
- `POST` `/api/uniprot/search` β€”
- `GET` `/docs` β€”
- `GET` `/docs/oauth2-redirect` β€”
- `GET` `/openapi.json` β€”
- `GET` `/phylo/models` β€”
- `POST` `/phylo/run` β€”
- `GET` `/phylo/status/{job_id}` β€”
- `GET` `/redoc` β€”