← 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-168976590-C-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=168976590&ref=C&alt=G&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 168976590,
"ref": "C",
"alt": "G",
"effect": "missense_variant",
"transcript": "ENST00000650372.1",
"consequences": [
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.1295G>C",
"hgvs_p": "p.Arg432Thr",
"transcript": "NM_003742.4",
"protein_id": "NP_003733.2",
"transcript_support_level": null,
"aa_start": 432,
"aa_end": null,
"aa_length": 1321,
"cds_start": 1295,
"cds_end": null,
"cds_length": 3966,
"cdna_start": 1422,
"cdna_end": null,
"cdna_length": 6934,
"mane_select": "ENST00000650372.1",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.1295G>C",
"hgvs_p": "p.Arg432Thr",
"transcript": "ENST00000650372.1",
"protein_id": "ENSP00000497931.1",
"transcript_support_level": null,
"aa_start": 432,
"aa_end": null,
"aa_length": 1321,
"cds_start": 1295,
"cds_end": null,
"cds_length": 3966,
"cdna_start": 1422,
"cdna_end": null,
"cdna_length": 6934,
"mane_select": "NM_003742.4",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 29,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.1397G>C",
"hgvs_p": "p.Arg466Thr",
"transcript": "XM_011512078.3",
"protein_id": "XP_011510380.1",
"transcript_support_level": null,
"aa_start": 466,
"aa_end": null,
"aa_length": 1355,
"cds_start": 1397,
"cds_end": null,
"cds_length": 4068,
"cdna_start": 1524,
"cdna_end": null,
"cdna_length": 4974,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.1337G>C",
"hgvs_p": "p.Arg446Thr",
"transcript": "XM_006712817.4",
"protein_id": "XP_006712880.1",
"transcript_support_level": null,
"aa_start": 446,
"aa_end": null,
"aa_length": 1335,
"cds_start": 1337,
"cds_end": null,
"cds_length": 4008,
"cdna_start": 1464,
"cdna_end": null,
"cdna_length": 4181,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.1397G>C",
"hgvs_p": "p.Arg466Thr",
"transcript": "XM_017005165.2",
"protein_id": "XP_016860654.1",
"transcript_support_level": null,
"aa_start": 466,
"aa_end": null,
"aa_length": 1314,
"cds_start": 1397,
"cds_end": null,
"cds_length": 3945,
"cdna_start": 1524,
"cdna_end": null,
"cdna_length": 4287,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 22,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.626G>C",
"hgvs_p": "p.Arg209Thr",
"transcript": "XM_017005166.2",
"protein_id": "XP_016860655.1",
"transcript_support_level": null,
"aa_start": 209,
"aa_end": null,
"aa_length": 1098,
"cds_start": 626,
"cds_end": null,
"cds_length": 3297,
"cdna_start": 719,
"cdna_end": null,
"cdna_length": 3436,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 23,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.1397G>C",
"hgvs_p": "p.Arg466Thr",
"transcript": "XM_011512080.3",
"protein_id": "XP_011510382.1",
"transcript_support_level": null,
"aa_start": 466,
"aa_end": null,
"aa_length": 936,
"cds_start": 1397,
"cds_end": null,
"cds_length": 2811,
"cdna_start": 1524,
"cdna_end": null,
"cdna_length": 3053,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"hgvs_c": "c.80G>C",
"hgvs_p": "p.Arg27Thr",
"transcript": "XM_017005167.2",
"protein_id": "XP_016860656.1",
"transcript_support_level": null,
"aa_start": 27,
"aa_end": null,
"aa_length": 916,
"cds_start": 80,
"cds_end": null,
"cds_length": 2751,
"cdna_start": 276,
"cdna_end": null,
"cdna_length": 2993,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "ABCB11",
"gene_hgnc_id": 42,
"dbsnp": "rs121908935",
"frequency_reference_population": null,
"hom_count_reference_population": 0,
"allele_count_reference_population": 0,
"gnomad_exomes_af": null,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": null,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.976523756980896,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.892,
"revel_prediction": "Pathogenic",
"alphamissense_score": 0.9482,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.38,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 7.902,
"phylop100way_prediction": "Pathogenic",
"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": 8,
"acmg_classification": "Likely_pathogenic",
"acmg_criteria": "PM2,PP3_Strong,PP5_Moderate",
"acmg_by_gene": [
{
"score": 8,
"benign_score": 0,
"pathogenic_score": 8,
"criteria": [
"PM2",
"PP3_Strong",
"PP5_Moderate"
],
"verdict": "Likely_pathogenic",
"transcript": "ENST00000650372.1",
"gene_symbol": "ABCB11",
"hgnc_id": 42,
"effects": [
"missense_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.1295G>C",
"hgvs_p": "p.Arg432Thr"
}
],
"clinvar_disease": "Benign recurrent intrahepatic cholestasis type 2,not provided",
"clinvar_classification": "Likely pathogenic",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "LP:1",
"phenotype_combined": "Benign recurrent intrahepatic cholestasis type 2|not provided",
"pathogenicity_classification_combined": "Likely pathogenic",
"custom_annotations": null
}
],
"message": null
}