disease-reversal-prediction

Predict a molecule's ability to reverse disease states using DLEPS (Disease-Ligand Embedding Projection Score) for drug repositioning and discovery.

157 stars

Best use case

disease-reversal-prediction is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Predict a molecule's ability to reverse disease states using DLEPS (Disease-Ligand Embedding Projection Score) for drug repositioning and discovery.

Teams using disease-reversal-prediction should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/disease-reversal-prediction/SKILL.md --create-dirs "https://raw.githubusercontent.com/InternScience/DrClaw/main/drclaw/agent_hub/templates/pharmacy/skills/disease-reversal-prediction/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/disease-reversal-prediction/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How disease-reversal-prediction Compares

Feature / Agentdisease-reversal-predictionStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Predict a molecule's ability to reverse disease states using DLEPS (Disease-Ligand Embedding Projection Score) for drug repositioning and discovery.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Disease State Reversal Prediction

## Usage

###

1. MCP Server Definition

Use the same `DrugSDAClient` class as defined in the drug-screening-docking skill.

### 2. Disease State Reversal Prediction Workflow

This workflow validates SMILES strings and predicts their ability to reverse disease states, useful for drug repositioning and therapeutic discovery.

**Workflow Steps:**

1. **Validate SMILES** - Check if input SMILES strings are chemically valid
2. **Calculate DLEPS Score** - Predict disease state reversal scores for valid molecules

**Implementation:**

```python
tool_client = DrugSDAClient("https://scp.intern-ai.org.cn/api/v1/mcp/2/DrugSDA-Tool")
model_client = DrugSDAClient("https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model")

if not await tool_client.connect() or not await model_client.connect():
    print("connection failed")
    return

## Input: List of candidate SMILES strings
smiles_list = [
    'Nc1nnc(S(=O)(=O)NCCc2ccc(O)cc2)s1',
    'COc1ccc2c(=O)cc(C(=O)N3CCN(c4ccc(F)cc4)CC3)oc2c1',
    'ABCCOOO'  # Invalid SMILES for demonstration
]

## Step 1: Validate SMILES strings
result = await tool_client.session.call_tool(
    "is_valid_smiles",
    arguments={"smiles_list": smiles_list}
)
result_data = tool_client.parse_result(result)
valid_smiles_list = [x['smiles'] for x in result_data['valid_res'] if x['is_valid'] is True]

print(f"Valid SMILES: {len(valid_smiles_list)}/{len(smiles_list)}")

## Step 2: Calculate DLEPS scores for disease state reversal
disease_name = "Aging"  # Can be: Aging, Alzheimer's, Parkinson's, etc.

result = await model_client.session.call_tool(
    "calculate_dleps_score",
    arguments={
        "smiles_list": valid_smiles_list,
        "disease_name": disease_name
    }
)
result_data = model_client.parse_result(result)

## Display results sorted by score
pred_scores = sorted(result_data['pred_scores'], key=lambda x: x['cs_score'], reverse=True)
for item in pred_scores:
    print(f"SMILES: {item['smiles']}")
    print(f"Disease Reversal Score: {item['cs_score']:.4f}\n")

await tool_client.disconnect()
await model_client.disconnect()
```

### Tool Descriptions

**DrugSDA-Tool Server:**
- `is_valid_smiles`: Validate SMILES strings for chemical correctness
  - Args: `smiles_list` (List[str])
  - Returns: `valid_res` with `is_valid` boolean for each SMILES

**DrugSDA-Model Server:**
- `calculate_dleps_score`: Predict disease state reversal scores
  - Args: `smiles_list` (List[str]), `disease_name` (str)
  - Returns: `pred_scores` with `cs_score` (float, 0-1) for each molecule

### Input/Output

**Input:**
- `smiles_list`: List of SMILES strings to evaluate
- `disease_name`: Target disease (e.g., "Aging", "Alzheimer's", "Parkinson's")

**Output:**
- `pred_scores`: List of dictionaries containing:
  - `smiles`: Input SMILES string
  - `cs_score`: Disease reversal score (0-1, higher is better)

### Score Interpretation

- **cs_score > 0.5**: Strong potential for disease state reversal
- **cs_score 0.2-0.5**: Moderate potential
- **cs_score < 0.2**: Low potential

Molecules with higher scores are more likely to reverse the disease-associated transcriptional signature.

### Supported Diseases

The model supports various diseases including but not limited to:
- Aging
- Alzheimer's Disease
- Parkinson's Disease
- Cardiovascular diseases
- Cancer subtypes
- Inflammatory diseases

Consult the MCP server documentation for the complete list of supported diseases.

Related Skills

disease_protein_profiling

157
from InternScience/DrClaw

Disease Protein Profiling - Profile a disease protein: UniProt data, AlphaFold structure, InterPro domains, phenotype associations from Ensembl. Use this skill for medical proteomics tasks involving query uniprot download alphafold structure query interpro get phenotype gene. Combines 4 tools from 2 SCP server(s).

rare_disease_genetics

157
from InternScience/DrClaw

Rare Disease Genetic Analysis - Analyze rare disease genetics: Monarch phenotype-disease mapping, ClinVar variants, NCBI gene data, and OpenTargets. Use this skill for rare disease genetics tasks involving get HPO ID by phenotype get joint associated diseases by HPO ID list clinvar search get associated targets by disease efoId. Combines 4 tools from 3 SCP server(s).

gene_disease_association

157
from InternScience/DrClaw

Gene-Disease Association Analysis - Analyze gene-disease associations: NCBI gene metadata, OpenTargets disease associations, TCGA expression, and Monarch phenotypes. Use this skill for medical genetics tasks involving get gene metadata by gene name get associated targets by disease efoId get gene expression across cancers get joint associated diseases by HPO ID list. Combines 4 tools from 4 SCP server(s).

infectious_disease_analysis

157
from InternScience/DrClaw

Infectious Disease Analysis - Analyze infectious disease: virus data, taxonomy, antimicrobial drugs, and resistance literature. Use this skill for infectious disease tasks involving get virus dataset report get taxonomy get mechanism of action by drug name pubmed search. Combines 4 tools from 3 SCP server(s).

disease_knowledge_graph

157
from InternScience/DrClaw

Disease Knowledge Graph - Build disease knowledge graph: OpenTargets targets, drugs, publications, and phenotypes. Use this skill for disease informatics tasks involving get associated targets by disease efoId get associated drugs by target name get publications by drug name get associated phenotypes by disease efoId. Combines 4 tools from 1 SCP server(s).

disease_drug_landscape

157
from InternScience/DrClaw

Disease-Drug Landscape Analysis - Map the drug landscape for a disease: OpenTargets disease drugs, FDA indications, and clinical studies. Use this skill for drug discovery tasks involving get associated drugs by target name get drug names by indication get clinical studies info by drug name. Combines 3 tools from 2 SCP server(s).

disease_compound_pipeline

157
from InternScience/DrClaw

Disease-Specific Compound Screening - Screen compounds for disease: get DLEPS score for disease relevance, predict ADMET, and check drug-likeness. Use this skill for drug discovery tasks involving calculate dleps score pred molecule admet calculate mol drug chemistry get compound by name. Combines 4 tools from 3 SCP server(s).

opentargets-disease-target

157
from InternScience/DrClaw

Retrieve disease-associated targets from Open Targets using disease EFO IDs to identify therapeutic targets.

variant-functional-prediction

157
from InternScience/DrClaw

Query FAVOR API for variant functional prediction scores (CADD, SIFT, PolyPhen, REVEL, etc.) and gene annotation.

acpx

157
from InternScience/DrClaw

Use the ACPX CLI through DrClaw's existing exec/long_exec tools to run Codex in the current project workspace.

ui-ux-pro-max

157
from InternScience/DrClaw

[Frontend] Frontend UI/UX design intelligence - activate FIRST when user requests beautiful, stunning, gorgeous, or aesthetic interfaces. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks. Triggers on ui design, ux design, design system, color palette, typography, glassmorphism, claymorphism, neumorphism, bento grid, font pairing, ui-ux-pro-max, stunning interface, beautiful ui.

fetch

157
from InternScience/DrClaw

Fetch metadata and links from arXiv for a given query.