variant-functional-prediction

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

Best use case

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

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

Teams using variant-functional-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/variant-functional-prediction/SKILL.md --create-dirs "https://raw.githubusercontent.com/SpectrAI-Initiative/InnoClaw/main/.claude/skills/variant-functional-prediction/SKILL.md"

Manual Installation

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

How variant-functional-prediction Compares

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

Frequently Asked Questions

What does this skill do?

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

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

# FAVOR Functional Prediction

## Usage

### Tool Description

```tex
Query FAVOR (GenoHub) API to get variant functional prediction scores.
API: GET https://api.genohub.org/v1/rsids/{rs_id}
Note: Returns a JSON list; use first element.
Args:
    rs_id (str): dbSNP rsID (e.g. "rs7412")
Return:
    Gene name, exonic category, functional prediction scores
    (CADD, SIFT, PolyPhen2, MutationTaster, GERP, etc.)
```

### Query Example

```python
import requests

rs_id = "rs7412"
url = f"https://api.genohub.org/v1/rsids/{rs_id}"
resp = requests.get(url, timeout=30).json()
d = resp[0] if isinstance(resp, list) else resp

print(f"[FAVOR] variant: {d.get('variant_vcf')}")
print(f"[FAVOR] 基因: {d.get('genecode_comprehensive_info')}")
print(f"[FAVOR] 区域: {d.get('genecode_comprehensive_category')}")
print(f"[FAVOR] 外显子变异类别: {d.get('genecode_comprehensive_exonic_category')}")
print(f"[FAVOR] CADD phred: {d.get('cadd_phred')} (>20=有害)")
print(f"[FAVOR] SIFT: {d.get('sift_cat')} (val={d.get('sift_val')})")
print(f"[FAVOR] PolyPhen2 HDIV: {d.get('polyphen2_hdiv_score')}")
print(f"[FAVOR] PolyPhen2 HVAR: {d.get('polyphen2_hvar_score')}")
print(f"[FAVOR] MutationTaster: {d.get('mutation_taster_score')}")
print(f"[FAVOR] MutationAssessor: {d.get('mutation_assessor_score')}")
print(f"[FAVOR] MetaSVM pred: {d.get('metasvm_pred')}")
print(f"[FAVOR] GERP_N: {d.get('gerp_n')}, GERP_S: {d.get('gerp_s')}")
print(f"[FAVOR] BRAVO AF: {d.get('bravo_af')}")
```

Related Skills

variant_pathogenicity

370
from SpectrAI-Initiative/InnoClaw

Variant Pathogenicity Assessment - Assess variant pathogenicity: Ensembl VEP prediction, ClinVar lookup, variation details, and gene phenotype associations. Use this skill for clinical genetics tasks involving get vep hgvs clinvar search get variation get phenotype gene. Combines 4 tools from 2 SCP server(s).

variant-population-frequency

370
from SpectrAI-Initiative/InnoClaw

Query gnomAD for variant allele frequency across populations. Uses FAVOR to convert rsID→variant_id first, then queries gnomAD.

variant-pharmacogenomics

370
from SpectrAI-Initiative/InnoClaw

Query PharmGKB (clinPGx) for pharmacogenomic clinical annotations — how a variant affects drug response, dosing, and adverse reactions.

variant-gwas-associations

370
from SpectrAI-Initiative/InnoClaw

Query EBI GWAS Catalog for GWAS statistical associations (p-value, effect size, risk allele) between a variant and traits/diseases.

variant-genomic-location

370
from SpectrAI-Initiative/InnoClaw

Query dbSNP + NCBI Gene to get variant genomic position (chromosome, coordinates, ref/alt alleles, mutation type) and associated gene coordinates.

variant-cross-database-ids

370
from SpectrAI-Initiative/InnoClaw

Query ClinGen Allele Registry to map variant rsID to identifiers in other databases (ClinVar, gnomAD, COSMIC, UniProtKB, OMIM, etc.).

variant-clinical-significance

370
from SpectrAI-Initiative/InnoClaw

Query NCBI ClinVar for variant clinical pathogenicity classification (Pathogenic/Benign/VUS), review status and associated diseases.

snp_functional_analysis

370
from SpectrAI-Initiative/InnoClaw

SNP Functional Impact Analysis - Analyze SNP function: VEP prediction, variation details, phenotype association, and literature evidence. Use this skill for functional genomics tasks involving get vep id get variation get phenotype accession pubmed search. Combines 4 tools from 2 SCP server(s).

gene_variant_drug_nexus

370
from SpectrAI-Initiative/InnoClaw

Gene-Variant-Drug Nexus - Connect gene variants to drugs: variant effect, gene-disease link, drug associations, and clinical evidence. Use this skill for translational genomics tasks involving get vep hgvs get associated targets by disease efoId get associated drugs by target name clinvar search. Combines 4 tools from 3 SCP server(s).

functional_group_profiling

370
from SpectrAI-Initiative/InnoClaw

Functional Group Profiling - Profile functional groups: radical assignment, H-bond analysis, aromaticity, and abbreviation condensation. Use this skill for organic chemistry tasks involving AssignRadicals GetHBANum AromaticityAnalyzer CondenseAbbreviationSubstanceGroups. Combines 4 tools from 2 SCP server(s).

disease-reversal-prediction

370
from SpectrAI-Initiative/InnoClaw

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

comprehensive-variant-annotation

370
from SpectrAI-Initiative/InnoClaw

Given an rsID, query multiple databases (dbSNP, FAVOR, GWAS Catalog, ClinVar, gnomAD, PharmGKB, ClinGen) for comprehensive annotation. Use when user asks a general question about a variant without specifying which aspect.