skills/science/bio-db-tools/SKILL.md
Query public biology databases and APIs including UniProt, RCSB PDB, AlphaFold DB, ClinVar, dbSNP, gnomAD, Ensembl, GEO, InterPro, KEGG, OpenTargets, Reactome, and STRING. Use when the user asks to look up protein annotations, structures, variants, population frequencies, pathway knowledge, public datasets, interaction networks, or disease-target evidence.
npx skillsauth add drugclaw/drugclaw bio-db-toolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user asks to search or fetch data from public biology knowledge bases rather than analyze local files.
Typical triggers:
The bundled template uses Python plus HTTP APIs. Check first.
which python3 || true
python3 - <<'PY'
mods = ["requests"]
for name in mods:
try:
__import__(name)
print(f"{name}: ok")
except Exception as exc:
print(f"{name}: missing ({exc})")
PY
If outbound network access is blocked, say so explicitly before claiming the lookup ran.
Use the reusable template instead of rewriting API snippets every time:
templates/bio_db_lookup.pySupported sources:
uniprotpdbalphafoldclinvardbsnpgnomadensemblgeointerprokeggopentargetsreactomestringdbpython3 templates/bio_db_lookup.py uniprot \
--query TP53 \
--organism-id 9606 \
--output bio/uniprot_tp53.csv \
--summary bio/uniprot_tp53.json
python3 templates/bio_db_lookup.py pdb \
--query "EGFR kinase inhibitor" \
--limit 5 \
--output bio/pdb_egfr.csv \
--summary bio/pdb_egfr.json
python3 templates/bio_db_lookup.py clinvar \
--query 'BRCA1[gene] AND clinsig_pathogenic[prop]' \
--output bio/clinvar_brca1.csv \
--summary bio/clinvar_brca1.json
python3 templates/bio_db_lookup.py gnomad \
--mode gene-constraint \
--gene-symbol BRCA1 \
--output bio/gnomad_brca1.csv \
--summary bio/gnomad_brca1.json
python3 templates/bio_db_lookup.py reactome \
--mode enrichment \
--gene BRCA1 --gene BRCA2 --gene TP53 --gene ATM \
--output bio/reactome_dna_repair.csv \
--summary bio/reactome_dna_repair.json
python3 templates/bio_db_lookup.py uniprot \
--accession P04637 \
--output bio/uniprot_p04637.csv \
--summary bio/uniprot_p04637.json
python3 templates/bio_db_lookup.py pdb \
--pdb-id 6LU7 \
--output bio/pdb_6lu7.csv \
--summary bio/pdb_6lu7.json
python3 templates/bio_db_lookup.py alphafold \
--uniprot-id P04637 \
--download bio/AF-P04637-F1-model.pdb \
--output bio/alphafold_tp53.csv \
--summary bio/alphafold_tp53.json
python3 templates/bio_db_lookup.py dbsnp \
--rsid rs429358 \
--output bio/dbsnp_rs429358.csv \
--summary bio/dbsnp_rs429358.json
python3 templates/bio_db_lookup.py opentargets \
--mode disease-targets \
--id EFO_0000305 \
--limit 10 \
--output bio/opentargets_breast_cancer.csv \
--summary bio/opentargets_breast_cancer.json
python3 templates/bio_db_lookup.py stringdb \
--mode network \
--gene BRCA1 --gene BRCA2 --gene TP53 \
--species 9606 \
--output bio/string_brca_network.csv \
--summary bio/string_brca_network.json
Good answers should mention:
For local sequence analysis, QC, plotting, or PubMed-style literature work, activate bio-tools.
For single-cell, BAM or mzML dataset triage, activate omics-tools.
For local VCF, SNV, indel, or SV summarization, activate variant-analysis-tools.
For integrated target briefs across disease, drug, pathway, and interaction evidence, activate target-intelligence-tools.
For public compound, regulatory, clinical-trial, or literature APIs such as PubChem, ChEMBL, openFDA, ClinicalTrials.gov, or OpenAlex, activate pharma-db-tools.
For docking and structure preparation, activate docking-tools.
For ligand properties, ADMET, DrugBank, or chemistry ML, activate chem-tools.
tools
Survival and time-to-event workflow guide for Kaplan-Meier summaries, log-rank tests, and Cox proportional hazards models with reproducible outputs. Use when the user asks for time-to-event analysis, censored data summaries, hazard ratios, or survival-group comparison for research datasets.
tools
Statistical modeling workflow guide for hypothesis tests, effect-size reporting, statsmodels regression, diagnostics, and structured result export. Use when the user asks for statistical test selection, OLS or logistic regression, coefficient tables, inference, or reproducible statistical summaries for scientific datasets.
tools
Research-method workflow guide for hypothesis framing, peer-review style critique, reproducibility planning, study-design checks, and scientific-writing structure. Use when the user asks for manuscript critique, research-gap framing, hypothesis generation, reproducibility checklists, or study-planning support that should stay on the research side rather than patient-care decisions.
tools
Scientific visualization workflow guide for publication-ready static figures with seaborn or matplotlib and interactive figures with Plotly. Use when the user asks for scientific plots, cohort or assay figures, publication graphics, dashboards, or reusable plotting scripts for research datasets.