Oracle

Predict Variant Impact

POST /predict_variant_impact
Predicts the functional and clinical impact of any genetic variant (SNVs, indels, structural variants) at a genome scale, quantifying disruptiveness.

Parameters

taskstringRequired

The API task identifier

Example: predict_variant_impact
reference_genomestringRequired

Parameter: reference_genome

Example: GRCh38
locusstringRequired

Parameter: locus

Example: chr7:55249071
ref_allelestringRequired

Parameter: ref_allele

Example: G
alt_allelestringRequired

Parameter: alt_allele

Example: A

Code Examples

Python Example

PYTHON
import requests

response = requests.post(
    "https://api.crispro.ai/predict_variant_impact",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
    "task": "predict_variant_impact",
    "reference_genome": "GRCh38",
    "locus": "chr7:55249071",
    "ref_allele": "G",
    "alt_allele": "A"
}
)

result = response.json()
print(result)

cURL Example

CURL
curl -X POST https://api.crispro.ai/predict_variant_impact \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"task":"predict_variant_impact","reference_genome":"GRCh38","locus":"chr7:55249071","ref_allele":"G","alt_allele":"A"}'

Response Schema

{
  "delta_likelihood_score": "string",
  "pathogenicity_prediction": "string",
  "predicted_consequence": "string",
  "feature_disruption_scores": "string"
}