Skip to content
Back to skills

Variant Functional Prediction

ASecurity

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

  • 390 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 6, 2026
ai-agentspythongoapi

Works with

  • api

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add SpectrAI-Initiative/InnoClaw --skill variant-functional-prediction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Variant Functional Prediction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Variant Functional Prediction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spectrai-initiative-variant-functional-prediction/badge)](https://www.skillsdirectory.com/skills/spectrai-initiative-variant-functional-prediction)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: variant-functional-prediction
description: "Query FAVOR API for variant functional prediction scores (CADD, SIFT, PolyPhen, REVEL, etc.) and gene annotation."
license: MIT license
metadata:
    skill-author: PJLab
---

# 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')}")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.