← 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-168907884-C-A (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=168907884&ref=C&alt=A&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "2",
"pos": 168907884,
"ref": "C",
"alt": "A",
"effect": "missense_variant",
"transcript": "NM_021176.3",
"consequences": [
{
"aa_ref": "S",
"aa_alt": "R",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.873C>A",
"hgvs_p": "p.Ser291Arg",
"transcript": "NM_021176.3",
"protein_id": "NP_066999.1",
"transcript_support_level": null,
"aa_start": 291,
"aa_end": null,
"aa_length": 355,
"cds_start": 873,
"cds_end": null,
"cds_length": 1068,
"cdna_start": 914,
"cdna_end": null,
"cdna_length": 3030,
"mane_select": "ENST00000375363.8",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "R",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.873C>A",
"hgvs_p": "p.Ser291Arg",
"transcript": "ENST00000375363.8",
"protein_id": "ENSP00000364512.3",
"transcript_support_level": 1,
"aa_start": 291,
"aa_end": null,
"aa_length": 355,
"cds_start": 873,
"cds_end": null,
"cds_length": 1068,
"cdna_start": 914,
"cdna_end": null,
"cdna_length": 3030,
"mane_select": "NM_021176.3",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "n.*454C>A",
"hgvs_p": null,
"transcript": "ENST00000282075.5",
"protein_id": "ENSP00000282075.4",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2918,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "n.473C>A",
"hgvs_p": null,
"transcript": "ENST00000461586.1",
"protein_id": null,
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1284,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "n.*454C>A",
"hgvs_p": null,
"transcript": "ENST00000282075.5",
"protein_id": "ENSP00000282075.4",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2918,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "R",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.645C>A",
"hgvs_p": "p.Ser215Arg",
"transcript": "XM_011511564.4",
"protein_id": "XP_011509866.1",
"transcript_support_level": null,
"aa_start": 215,
"aa_end": null,
"aa_length": 279,
"cds_start": 645,
"cds_end": null,
"cds_length": 840,
"cdna_start": 686,
"cdna_end": null,
"cdna_length": 2802,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "R",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.525C>A",
"hgvs_p": "p.Ser175Arg",
"transcript": "XM_011511565.4",
"protein_id": "XP_011509867.1",
"transcript_support_level": null,
"aa_start": 175,
"aa_end": null,
"aa_length": 239,
"cds_start": 525,
"cds_end": null,
"cds_length": 720,
"cdna_start": 804,
"cdna_end": null,
"cdna_length": 2920,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.*292C>A",
"hgvs_p": null,
"transcript": "NM_001081686.2",
"protein_id": "NP_001075155.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 154,
"cds_start": -4,
"cds_end": null,
"cds_length": 465,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2914,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SPC25",
"gene_hgnc_id": 24031,
"hgvs_c": "c.-173+5316G>T",
"hgvs_p": null,
"transcript": "ENST00000451987.5",
"protein_id": "ENSP00000393322.1",
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": 114,
"cds_start": -4,
"cds_end": null,
"cds_length": 346,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 596,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SPC25",
"gene_hgnc_id": 24031,
"hgvs_c": "n.176+5312G>T",
"hgvs_p": null,
"transcript": "ENST00000472216.2",
"protein_id": null,
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 754,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"downstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.*292C>A",
"hgvs_p": null,
"transcript": "ENST00000429379.2",
"protein_id": "ENSP00000396939.2",
"transcript_support_level": 2,
"aa_start": null,
"aa_end": null,
"aa_length": 154,
"cds_start": -4,
"cds_end": null,
"cds_length": 465,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 645,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"downstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 2,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"hgvs_c": "c.*292C>A",
"hgvs_p": null,
"transcript": "ENST00000421979.1",
"protein_id": "ENSP00000392183.1",
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": 80,
"cds_start": -4,
"cds_end": null,
"cds_length": 243,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 494,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "G6PC2",
"gene_hgnc_id": 28906,
"dbsnp": "rs1414397570",
"frequency_reference_population": 0.000008210686,
"hom_count_reference_population": 0,
"allele_count_reference_population": 12,
"gnomad_exomes_af": 0.00000821069,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": 12,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.1893341839313507,
"computational_prediction_selected": "Benign",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.399,
"revel_prediction": "Uncertain_significance",
"alphamissense_score": 0.1768,
"alphamissense_prediction": "Benign",
"bayesdelnoaf_score": -0.14,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 0.753,
"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": 0,
"acmg_classification": "Uncertain_significance",
"acmg_criteria": "PM2,BP4_Moderate",
"acmg_by_gene": [
{
"score": 0,
"benign_score": 2,
"pathogenic_score": 2,
"criteria": [
"PM2",
"BP4_Moderate"
],
"verdict": "Uncertain_significance",
"transcript": "NM_021176.3",
"gene_symbol": "G6PC2",
"hgnc_id": 28906,
"effects": [
"missense_variant"
],
"inheritance_mode": "",
"hgvs_c": "c.873C>A",
"hgvs_p": "p.Ser291Arg"
},
{
"score": 0,
"benign_score": 2,
"pathogenic_score": 2,
"criteria": [
"PM2",
"BP4_Moderate"
],
"verdict": "Uncertain_significance",
"transcript": "ENST00000451987.5",
"gene_symbol": "SPC25",
"hgnc_id": 24031,
"effects": [
"intron_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.-173+5316G>T",
"hgvs_p": null
}
],
"clinvar_disease": "not specified",
"clinvar_classification": "Uncertain significance",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "US:1",
"phenotype_combined": "not specified",
"pathogenicity_classification_combined": "Uncertain significance",
"custom_annotations": null
}
],
"message": null
}