← Back to variant description
GeneBe API Showcase
This page demonstrates how to use the GeneBe API to query variant information. The API provides programmatic access to genomic annotations and variant data.
API presented here should be used for checking single variants. If you want to check many variants at once, please use other API endpoints that you will find in the documentation.
Documentation & Advanced Usage
• Complete API documentation:docs.genebe.net/docs/api/overview/
• Interactive endpoint tester:api.genebe.net/cloud/gb-api-doc/swagger-ui/
• Python client for pandas:pypi.org/project/genebe/
• Java CLI for VCF files:github.com/pstawinski/genebe-cli
• All tools documented at:docs.genebe.net
API Request Examples for Variant: 5-147831550-TG-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=5&pos=147831550&ref=TG&alt=T&genome=hg38&allGenes=true"API Response
json
{
"message": null,
"variants": [
{
"acmg_by_gene": [
{
"benign_score": 4,
"criteria": [
"PVS1_Strong",
"PS3",
"PP5_Very_Strong",
"BS2"
],
"effects": [
"frameshift_variant"
],
"gene_symbol": "SPINK1",
"hgnc_id": 11244,
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"inheritance_mode": "AD,Unknown",
"pathogenic_score": 16,
"score": 12,
"transcript": "NM_003122.5",
"verdict": "Pathogenic"
},
{
"benign_score": 0,
"criteria": [
"PS3",
"PM2",
"PP5_Very_Strong"
],
"effects": [
"non_coding_transcript_exon_variant"
],
"gene_symbol": "LOC124901101",
"hgnc_id": null,
"hgvs_c": "n.509delG",
"hgvs_p": null,
"inheritance_mode": "",
"pathogenic_score": 14,
"score": 14,
"transcript": "XR_007058987.1",
"verdict": "Pathogenic"
}
],
"acmg_classification": "Pathogenic",
"acmg_criteria": "PVS1_Strong,PS3,PP5_Very_Strong,BS2",
"acmg_score": 12,
"allele_count_reference_population": 39,
"alphamissense_prediction": null,
"alphamissense_score": null,
"alt": "T",
"apogee2_prediction": null,
"apogee2_score": null,
"bayesdelnoaf_prediction": null,
"bayesdelnoaf_score": null,
"chr": "5",
"clinvar_classification": "Pathogenic",
"clinvar_disease": "Hereditary pancreatitis,not provided",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "P:4 O:1",
"computational_prediction_selected": null,
"computational_score_selected": null,
"computational_source_selected": null,
"consequences": [
{
"aa_alt": null,
"aa_end": null,
"aa_length": 79,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 413,
"cdna_start": 121,
"cds_end": null,
"cds_length": 240,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 4,
"exon_rank": 1,
"exon_rank_end": null,
"feature": "NM_001379610.1",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": "ENST00000296695.10",
"protein_coding": true,
"protein_id": "NP_001366539.1",
"strand": false,
"transcript": "NM_001379610.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": 79,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": true,
"cdna_end": null,
"cdna_length": 413,
"cdna_start": 121,
"cds_end": null,
"cds_length": 240,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 4,
"exon_rank": 1,
"exon_rank_end": null,
"feature": "ENST00000296695.10",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": "NM_001379610.1",
"protein_coding": true,
"protein_id": "ENSP00000296695.5",
"strand": false,
"transcript": "ENST00000296695.10",
"transcript_support_level": 1
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": 79,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 606,
"cdna_start": 314,
"cds_end": null,
"cds_length": 240,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 5,
"exon_rank": 2,
"exon_rank_end": null,
"feature": "NM_001354966.2",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "NP_001341895.1",
"strand": false,
"transcript": "NM_001354966.2",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": 79,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 573,
"cdna_start": 281,
"cds_end": null,
"cds_length": 240,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 5,
"exon_rank": 2,
"exon_rank_end": null,
"feature": "NM_003122.5",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "NP_003113.2",
"strand": false,
"transcript": "NM_003122.5",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": 65,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 1188,
"cdna_start": 85,
"cds_end": null,
"cds_length": 198,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 3,
"exon_rank": 1,
"exon_rank_end": null,
"feature": "ENST00000510027.2",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "ENSP00000427376.1",
"strand": false,
"transcript": "ENST00000510027.2",
"transcript_support_level": 3
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": 79,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 650,
"cdna_start": 358,
"cds_end": null,
"cds_length": 240,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 6,
"exon_rank": 3,
"exon_rank_end": null,
"feature": "XM_047417625.1",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "XP_047273581.1",
"strand": false,
"transcript": "XM_047417625.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": 79,
"aa_ref": "L",
"aa_start": 9,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 683,
"cdna_start": 391,
"cds_end": null,
"cds_length": 240,
"cds_start": 27,
"consequences": [
"frameshift_variant"
],
"exon_count": 6,
"exon_rank": 3,
"exon_rank_end": null,
"feature": "XM_047417626.1",
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"hgvs_c": "c.27delC",
"hgvs_p": "p.Ser10fs",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "XP_047273582.1",
"strand": false,
"transcript": "XM_047417626.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 569,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_count": 2,
"exon_rank": 2,
"exon_rank_end": null,
"feature": "XR_007058987.1",
"gene_hgnc_id": null,
"gene_symbol": "LOC124901101",
"hgvs_c": "n.509delG",
"hgvs_p": null,
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "XR_007058987.1",
"transcript_support_level": null
}
],
"custom_annotations": null,
"dbscsnv_ada_prediction": null,
"dbscsnv_ada_score": null,
"dbsnp": "rs193922659",
"effect": "frameshift_variant",
"frequency_reference_population": 0.000024169409,
"gene_hgnc_id": 11244,
"gene_symbol": "SPINK1",
"gnomad_exomes_ac": 36,
"gnomad_exomes_af": 0.000024634,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_ac": 3,
"gnomad_genomes_af": 0.0000197086,
"gnomad_genomes_homalt": 0,
"gnomad_mito_heteroplasmic": null,
"gnomad_mito_homoplasmic": null,
"hom_count_reference_population": 0,
"mitotip_prediction": null,
"mitotip_score": null,
"pathogenicity_classification_combined": "Pathogenic",
"phenotype_combined": "Hereditary pancreatitis|not provided",
"phylop100way_prediction": "Benign",
"phylop100way_score": -0.786,
"pos": 147831550,
"ref": "TG",
"revel_prediction": null,
"revel_score": null,
"splice_prediction_selected": "Benign",
"splice_score_selected": 0.03999999910593033,
"splice_source_selected": "max_spliceai",
"spliceai_max_prediction": "Benign",
"spliceai_max_score": 0.04,
"transcript": "NM_003122.5"
}
]
}