variant-functional-prediction
$
npx mdskill add InternScience/scp/variant-functional-prediction```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.) ```
SKILL.md
.github/skills/variant-functional-predictionView on GitHub ↗
---
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')}")
```
More from InternScience/scp
- admet_druglikeness_reportADMET & Drug-Likeness Report - Generate comprehensive ADMET and drug-likeness report: molecular properties, H-bond analysis, hydrophobicity, topology, and ADMET prediction. Use this skill for medicinal chemistry tasks involving calculate mol basic info calculate mol hbond calculate mol hydrophobicity calculate mol topology pred molecule admet. Combines 5 tools from 2 SCP server(s).
- affinity_maturationAffinity Maturation Pipeline - Affinity maturation: compute binding affinity, predict mutations, compute hydrophilicity, and predict drug-target interaction. Use this skill for antibody engineering tasks involving ComputeAffinityCalculator zero shot sequence prediction ComputeHydrophilicity PredictDrugTargetInteraction. Combines 4 tools from 3 SCP server(s).
- alanine_scanning_pipelineAlanine Scanning Mutagenesis Pipeline - Alanine scanning: design scan, compute properties for each mutant, predict interactions, and compare. Use this skill for protein biochemistry tasks involving AlanineScanningDesigner ComputeProtPara PredictDrugTargetInteraction calculate protein sequence properties. Combines 4 tools from 3 SCP server(s).
- aliphatic_ring_analysisRing System Analysis - Analyze ring systems: count aliphatic carbocycles, analyze aromaticity, compute topology, and structure complexity. Use this skill for organic chemistry tasks involving GetAliphaticCarbocyclesNum AromaticityAnalyzer calculate mol topology calculate mol structure complexity. Combines 4 tools from 3 SCP server(s).
- alphafold_structure_pipelineAlphaFold Structure Analysis Pipeline - AlphaFold pipeline: download predicted structure, predict pockets, extract sequence, and compute properties. Use this skill for computational biology tasks involving download alphafold structure run fpocket extract pdb sequence calculate pdb basic info. Combines 4 tools from 3 SCP server(s).
- antibody_drug_developmentAntibody Drug Development - Develop antibody drug: target protein analysis, biotherapeutic lookup, protein properties, and interaction prediction. Use this skill for biologics tasks involving get uniprotkb entry by accession get biotherapeutic by name ComputeProtPara ComputeHydrophilicity. Combines 4 tools from 3 SCP server(s).
- antibody_target_analysisAntibody-Target Analysis - Analyze an antibody target: UniProt protein info, InterPro domains, protein properties, and biotherapeutic data from ChEMBL. Use this skill for immunology tasks involving get uniprotkb entry by accession query interpro ComputeProtPara get biotherapeutic by name. Combines 4 tools from 4 SCP server(s).
- atc_drug_classificationATC Drug Classification Lookup - Look up drug in ATC classification: ChEMBL ATC class, FDA drug info, PubChem compound, and mechanism of action. Use this skill for pharmacology tasks involving get atc class by level5 get mechanism of action by drug name get compound by name get drug by name. Combines 4 tools from 3 SCP server(s).
- atmospheric-science-calculationsCalculate atmospheric parameters including Coriolis parameter, geostrophic wind, heat index, potential temperature, and dewpoint for meteorology and climate science.
- binding_site_characterizationBinding Site Characterization - Characterize binding sites: predict pockets with fpocket and P2Rank, get binding site info from ChEMBL, and visualize. Use this skill for structural biology tasks involving run fpocket pred pocket prank get binding site by id visualize protein. Combines 4 tools from 3 SCP server(s).