structural_pharmacogenomics
Connects protein structural changes to pharmacogenomic data and drug binding.
Install
mkdir -p .claude/skills/structural-pharmacogenomics && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11959" && unzip -o skill.zip -d .claude/skills/structural-pharmacogenomics && rm skill.zipInstalls to .claude/skills/structural-pharmacogenomics
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Structural Pharmacogenomics - Link structure to pharmacogenomics: variant effect, protein structure change, drug binding, and clinical data. Use this skill for pharmacogenomics tasks involving get vep hgvs pred protein structure esmfold boltz binding affinity get pharmacogenomics info by drug name. Combines 4 tools from 3 SCP server(s).Key capabilities
- →Predict variant effect using `get_vep_hgvs`
- →Predict mutant protein structure with `pred_protein_structure_esmfold`
- →Compare binding affinity using `boltz_binding_affinity`
- →Retrieve pharmacogenomics data via `get_pharmacogenomics_info_by_drug_name`
- →Link genetic variants to protein structural changes and drug binding
How it works
The skill executes a sequence of four tools from different servers to predict variant effects, protein structure, binding affinity, and retrieve pharmacogenomics information.
Inputs & outputs
When to use structural_pharmacogenomics
- →Predict variant protein impact
- →Check drug binding affinity
- →Analyze pharmacogenomic data
About this skill
Structural Pharmacogenomics
Discipline: Pharmacogenomics | Tools Used: 4 | Servers: 3
Description
Link structure to pharmacogenomics: variant effect, protein structure change, drug binding, and clinical data.
Tools Used
get_vep_hgvsfromensembl-server(streamable-http) -https://scp.intern-ai.org.cn/api/v1/mcp/12/Origene-Ensemblpred_protein_structure_esmfoldfromserver-3(streamable-http) -https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Modelboltz_binding_affinityfromserver-3(streamable-http) -https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Modelget_pharmacogenomics_info_by_drug_namefromfda-drug-server(streamable-http) -https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug
Workflow
- Predict variant effect
- Predict mutant structure
- Compare binding affinity
- Get pharmacogenomics data
Test Case
Input
{
"variant": "ENSP00000227163.5:p.Pro227Ser",
"sequence": "MKTIIALSYIFCLVFA",
"drug": "warfarin"
}
Expected Steps
- Predict variant effect
- Predict mutant structure
- Compare binding affinity
- Get pharmacogenomics data
Usage Example
Note: Replace
sk-b04409a1-b32b-4511-9aeb-22980abdc05cwith your own SCP Hub API Key. You can obtain one from the SCP Platform.
import asyncio
import json
from contextlib import AsyncExitStack
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
from mcp.client.sse import sse_client
SERVERS = {
"ensembl-server": "https://scp.intern-ai.org.cn/api/v1/mcp/12/Origene-Ensembl",
"server-3": "https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model",
"fda-drug-server": "https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug"
}
async def connect(url, stack):
transport = streamablehttp_client(url=url, headers={"SCP-HUB-API-KEY": "sk-b04409a1-b32b-4511-9aeb-22980abdc05c"})
read, write, _ = await stack.enter_async_context(transport)
ctx = ClientSession(read, write)
session = await stack.enter_async_context(ctx)
await session.initialize()
return session
def parse(result):
try:
if hasattr(result, 'content') and result.content:
c = result.content[0]
if hasattr(c, 'text'):
try: return json.loads(c.text)
except: return c.text
return str(result)
except: return str(result)
async def main():
async with AsyncExitStack() as stack:
# Connect to required servers
sessions = {}
sessions["ensembl-server"] = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/12/Origene-Ensembl", stack)
sessions["server-3"] = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model", stack)
sessions["fda-drug-server"] = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug", stack)
# Execute workflow steps
# Step 1: Predict variant effect
result_1 = await sessions["ensembl-server"].call_tool("get_vep_hgvs", arguments={})
data_1 = parse(result_1)
print(f"Step 1 result: {json.dumps(data_1, indent=2, ensure_ascii=False)[:500]}")
# Step 2: Predict mutant structure
result_2 = await sessions["server-3"].call_tool("pred_protein_structure_esmfold", arguments={})
data_2 = parse(result_2)
print(f"Step 2 result: {json.dumps(data_2, indent=2, ensure_ascii=False)[:500]}")
# Step 3: Compare binding affinity
result_3 = await sessions["server-3"].call_tool("boltz_binding_affinity", arguments={})
data_3 = parse(result_3)
print(f"Step 3 result: {json.dumps(data_3, indent=2, ensure_ascii=False)[:500]}")
# Step 4: Get pharmacogenomics data
result_4 = await sessions["fda-drug-server"].call_tool("get_pharmacogenomics_info_by_drug_name", arguments={})
data_4 = parse(result_4)
print(f"Step 4 result: {json.dumps(data_4, indent=2, ensure_ascii=False)[:500]}")
# Cleanup
print("Workflow complete!")
if __name__ == "__main__":
asyncio.run(main())
When not to use it
- →When the SCP Hub API Key is not available or invalid
- →When only a single step of the workflow is needed without the full integration
- →When the input variant, sequence, or drug information is incomplete
Limitations
- →It requires an SCP Hub API Key for server connections.
- →The workflow is predefined as a sequence of four specific steps.
- →It relies on external servers for tool execution.
How it compares
This skill integrates multiple specialized tools across different servers to provide a complete structural pharmacogenomics analysis, unlike using individual tools in isolation.
Compared to similar skills
structural_pharmacogenomics side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| structural_pharmacogenomics (this skill) | 0 | 4mo | No flags | Advanced |
| llm-evaluation | 6 | 2mo | No flags | Advanced |
| evaluating-llms-harness | 3 | 7mo | Review | Advanced |
| qutip | 4 | 7mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by SpectrAI-Initiative
View all by SpectrAI-Initiative →You might also like
llm-evaluation
wshobson
Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.
evaluating-llms-harness
davila7
Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.
qutip
davila7
Quantum mechanics simulations and analysis using QuTiP (Quantum Toolbox in Python). Use when working with quantum systems including: (1) quantum states (kets, bras, density matrices), (2) quantum operators and gates, (3) time evolution and dynamics (Schrödinger, master equations, Monte Carlo), (4) open quantum systems with dissipation, (5) quantum measurements and entanglement, (6) visualization (Bloch sphere, Wigner functions), (7) steady states and correlation functions, or (8) advanced methods (Floquet theory, HEOM, stochastic solvers). Handles both closed and open quantum systems across various domains including quantum optics, quantum computing, and condensed matter physics.
torchdrug
davila7
Graph-based drug discovery toolkit. Molecular property prediction (ADMET), protein modeling, knowledge graph reasoning, molecular generation, retrosynthesis, GNNs (GIN, GAT, SchNet), 40+ datasets, for PyTorch-based ML on molecules, proteins, and biomedical graphs.
string-database
davila7
Query STRING API for protein-protein interactions (59M proteins, 20B interactions). Network analysis, GO/KEGG enrichment, interaction discovery, 5000+ species, for systems biology.
transformer-lens-interpretability
davila7
Provides guidance for mechanistic interpretability research using TransformerLens to inspect and manipulate transformer internals via HookPoints and activation caching. Use when reverse-engineering model algorithms, studying attention patterns, or performing activation patching experiments.