Herb Tcm

v0.2.1
io.github.pipeworx-io/herb-tcm Checked 4 days ago Published 1 month ago

HERB 2.0 (herb.ac.cn) — Traditional Chinese Medicine herb/ingredient/target/ disease knowledge…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

herb_browse

Page through HERB 2.0's full herb, ingredient, target or disease list (7,263 herbs / 49,258 ingredients / 12,933 targets / 28,212 diseases). Use herb_search instead when you already have a name to look up.

ParameterTypeDescription
category *stringTable to browse.
pagenumber1-based page number. Defaults to 1.
page_sizenumberRows per page, max 100. Defaults to 20.

herb_detail

Full record for one HERB id: herb (composition + traditional-use summary + predicted and literature target/disease links), ingredient (structure + predicted and literature target/disease links), target (curated disease associations + which herbs are statistically linked to it), or disease (which targets and herbs are statistically linked to it). Every relationship row carries an evidence_tier. computational_prediction means a statistical or database-mined association with NO clinical or experimental confirmation — it is a hypothesis, not proof the herb/ingredient treats the condition. tradit…

ParameterTypeDescription
category *stringMust match the id's prefix.
id *stringHERB id, e.g. HERB004520 (herb), HBIN016960 (ingredient), HBTAR000001 (target), HBDIS000001 (disease).
limitnumberMax rows returned per relationship table (herb_ingredient, herb_target, herb_disease, ingredient_target, ingredient_disease, target_disease, drug_paper_target, drug_paper_disease). Default 25, max 200…
offsetnumber0-based row offset applied to each relationship table. Default 0.
sectionsarrayReturn only these sections — e.g. ["summary","herb_ingredient"] for composition without pulling hundreds of predicted disease rows. Omit for all sections.

herb_papers

List PubMed-cited papers in HERB's reference index — the literature backing herb/ingredient-target and -disease associations. Each row is tagged evidence_tier human_clinical (its "Experiment type" includes "Clinical Experiment") or laboratory (cell/animal studies only). Filter by drug type or experiment type, or leave both blank to page through all ~2,000 references.

ParameterTypeDescription
drug_typestringRestrict to papers about herbs or about single ingredients.
experiment_typestringUpstream free-text filter, e.g. "Clinical Experiment", "Animal Experiment", "Cell Experiment".
limitnumberMax rows to return, default 25, max 100 (the full index is fetched upstream and sliced here).
offsetnumber0-based offset for paging past the first `limit` rows.
sort_bystringUpstream sort field (optional; upstream default order is used if omitted).

herb_paper_detail

One reference's bibliographic record (journal, PubMed id, experiment type, phenotype) plus the specific targets/diseases that paper reports, tagged evidence_tier human_clinical or laboratory from the paper's own experiment type. Use the Paper id from a drug_paper_target/drug_paper_disease row (herb_detail) or from herb_papers.

ParameterTypeDescription
paper_id *stringHERB reference id, e.g. HBREF000003.

herb_experiments

List HERB's transcriptomic experiments (herb/ingredient treatment vs. control, GEO-deposited) — the raw evidence behind the differential-expression predictions in herb_experiment_detail. Filter by drug type, species or platform.

ParameterTypeDescription
drug_typestring
experiment_typestring
limitnumberMax rows to return, default 25, max 100.
offsetnumber0-based offset for paging past the first `limit` rows.
speciesstring

herb_experiment_detail

Differential-expression results for one HERB transcriptomic experiment: top up/down-regulated genes and enriched GO terms / KEGG pathways, plus connectivity-map hit counts (compounds/knockdowns/overexpression signatures matching the expression pattern). Every row is evidence_tier computational_prediction — this is a statistical enrichment over one dataset, not a validated mechanism or a clinical finding.

ParameterTypeDescription
experiment_id *stringHERB experiment id, e.g. HBEXP000001.