Tarkg
Skill BioTender-max/awesome-bio-agent-skills/skills/drugclaw/tarkg
Query canonical TarKG drug-target triplets. Use when the user asks about drug-target interactions, relation labels, disease/pathway context, or quick lookups for drugs/targets in TarKG.From its SKILL.md
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill tarkgAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
0.9 KB, 184 tokens by cl100k_base, as published. Nobody here has run it
TarKG Query Skill
Query the canonical packaged TarKG TSV output.
Data
- Path:
resources_metadata/dti/TarKG/tarkg.tsv - Columns:
drug,target,relation,disease,pathway
API
| Function | Input | Returns |
|---|---|---|
load_tarkg(path) | TSV path | list[dict] |
query_entity(entity, rows, limit) | single entity string | dict |
query_entities(entities, path, limit) | list of entity strings | list[dict] |
query_entity returns keys used by retrieve.py: matched, node_info,
outgoing_edges, incoming_edges, candidates.
Usage
Run example.py directly for demo queries against the canonical TSV.
What ships with it: 5 files
9.7 KB alongside SKILL.md, 4 of them executable
- example.pyruns3.3 KB
- __init__.pyruns126 B
- README.md1.2 KB
- retrieve.pyruns1.7 KB
- tarkg_skill.pyruns3.4 KB