← 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: 2-27239442-C-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=27239442&ref=C&alt=T&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 27239442,
"ref": "C",
"alt": "T",
"effect": "stop_gained",
"transcript": "NM_004341.5",
"consequences": [
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 33,
"exon_rank_end": null,
"exon_count": 44,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5365C>T",
"hgvs_p": "p.Arg1789*",
"transcript": "NM_004341.5",
"protein_id": "NP_004332.2",
"transcript_support_level": null,
"aa_start": 1789,
"aa_end": null,
"aa_length": 2225,
"cds_start": 5365,
"cds_end": null,
"cds_length": 6678,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000264705.9",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_004341.5"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 33,
"exon_rank_end": null,
"exon_count": 44,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5365C>T",
"hgvs_p": "p.Arg1789*",
"transcript": "ENST00000264705.9",
"protein_id": "ENSP00000264705.3",
"transcript_support_level": 1,
"aa_start": 1789,
"aa_end": null,
"aa_length": 2225,
"cds_start": 5365,
"cds_end": null,
"cds_length": 6678,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_004341.5",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000264705.9"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 32,
"exon_rank_end": null,
"exon_count": 43,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5176C>T",
"hgvs_p": "p.Arg1726*",
"transcript": "ENST00000403525.5",
"protein_id": "ENSP00000384510.1",
"transcript_support_level": 1,
"aa_start": 1726,
"aa_end": null,
"aa_length": 2162,
"cds_start": 5176,
"cds_end": null,
"cds_length": 6489,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000403525.5"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 34,
"exon_rank_end": null,
"exon_count": 45,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5485C>T",
"hgvs_p": "p.Arg1829*",
"transcript": "ENST00000854433.1",
"protein_id": "ENSP00000524492.1",
"transcript_support_level": null,
"aa_start": 1829,
"aa_end": null,
"aa_length": 2265,
"cds_start": 5485,
"cds_end": null,
"cds_length": 6798,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000854433.1"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 33,
"exon_rank_end": null,
"exon_count": 43,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5362C>T",
"hgvs_p": "p.Arg1788*",
"transcript": "ENST00000912693.1",
"protein_id": "ENSP00000582752.1",
"transcript_support_level": null,
"aa_start": 1788,
"aa_end": null,
"aa_length": 2190,
"cds_start": 5362,
"cds_end": null,
"cds_length": 6573,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000912693.1"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 32,
"exon_rank_end": null,
"exon_count": 43,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5176C>T",
"hgvs_p": "p.Arg1726*",
"transcript": "NM_001306079.2",
"protein_id": "NP_001293008.1",
"transcript_support_level": null,
"aa_start": 1726,
"aa_end": null,
"aa_length": 2162,
"cds_start": 5176,
"cds_end": null,
"cds_length": 6489,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001306079.2"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.226C>T",
"hgvs_p": "p.Arg76*",
"transcript": "ENST00000456311.1",
"protein_id": "ENSP00000388740.1",
"transcript_support_level": 5,
"aa_start": 76,
"aa_end": null,
"aa_length": 277,
"cds_start": 226,
"cds_end": null,
"cds_length": 836,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000456311.1"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 33,
"exon_rank_end": null,
"exon_count": 45,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5365C>T",
"hgvs_p": "p.Arg1789*",
"transcript": "XM_047445803.1",
"protein_id": "XP_047301759.1",
"transcript_support_level": null,
"aa_start": 1789,
"aa_end": null,
"aa_length": 2242,
"cds_start": 5365,
"cds_end": null,
"cds_length": 6729,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "XM_047445803.1"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 32,
"exon_rank_end": null,
"exon_count": 44,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "c.5176C>T",
"hgvs_p": "p.Arg1726*",
"transcript": "XM_006712101.4",
"protein_id": "XP_006712164.1",
"transcript_support_level": null,
"aa_start": 1726,
"aa_end": null,
"aa_length": 2179,
"cds_start": 5176,
"cds_end": null,
"cds_length": 6540,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "XM_006712101.4"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "n.193C>T",
"hgvs_p": null,
"transcript": "ENST00000487239.5",
"protein_id": null,
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": null,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "retained_intron",
"feature": "ENST00000487239.5"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"hgvs_c": "n.112C>T",
"hgvs_p": null,
"transcript": "ENST00000491461.1",
"protein_id": null,
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": null,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "pseudogene",
"feature": "ENST00000491461.1"
}
],
"gene_symbol": "CAD",
"gene_hgnc_id": 1424,
"dbsnp": "rs62130681",
"frequency_reference_population": 0.0000024786925,
"hom_count_reference_population": 0,
"allele_count_reference_population": 4,
"gnomad_exomes_af": 6.84189e-7,
"gnomad_genomes_af": 0.0000197148,
"gnomad_exomes_ac": 1,
"gnomad_genomes_ac": 3,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.24699999392032623,
"computational_prediction_selected": "Benign",
"computational_source_selected": "REVEL",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.247,
"revel_prediction": "Benign",
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.46,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 2.086,
"phylop100way_prediction": "Benign",
"spliceai_max_score": 0,
"spliceai_max_prediction": "Benign",
"dbscsnv_ada_score": null,
"dbscsnv_ada_prediction": null,
"apogee2_score": null,
"apogee2_prediction": null,
"mitotip_score": null,
"mitotip_prediction": null,
"acmg_score": 18,
"acmg_classification": "Pathogenic",
"acmg_criteria": "PVS1,PM2,PP5_Very_Strong",
"acmg_by_gene": [
{
"score": 18,
"benign_score": 0,
"pathogenic_score": 18,
"criteria": [
"PVS1",
"PM2",
"PP5_Very_Strong"
],
"verdict": "Pathogenic",
"transcript": "NM_004341.5",
"gene_symbol": "CAD",
"hgnc_id": 1424,
"effects": [
"stop_gained"
],
"inheritance_mode": "AR",
"hgvs_c": "c.5365C>T",
"hgvs_p": "p.Arg1789*"
}
],
"clinvar_disease": " 50,Developmental and epileptic encephalopathy,not provided",
"clinvar_classification": "Pathogenic",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "P:2",
"phenotype_combined": "Developmental and epileptic encephalopathy, 50|not provided",
"pathogenicity_classification_combined": "Pathogenic",
"custom_annotations": null
}
],
"message": null
}