← 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-47678251-C-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=47678251&ref=C&alt=G&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 47678251,
"ref": "C",
"alt": "G",
"effect": "missense_variant,splice_region_variant",
"transcript": "NM_001406633.1",
"consequences": [
{
"aa_ref": "P",
"aa_alt": "R",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_rank": 18,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "c.2897C>G",
"hgvs_p": "p.Pro966Arg",
"transcript": "NM_001406633.1",
"protein_id": "NP_001393562.1",
"transcript_support_level": null,
"aa_start": 966,
"aa_end": null,
"aa_length": 975,
"cds_start": 2897,
"cds_end": null,
"cds_length": 2928,
"cdna_start": 2933,
"cdna_end": null,
"cdna_length": 3134,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 20,
"exon_rank_end": null,
"exon_count": 21,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.3099C>G",
"hgvs_p": null,
"transcript": "NR_176241.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3300,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 18,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.2895C>G",
"hgvs_p": null,
"transcript": "NR_176243.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3096,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 22,
"exon_rank_end": null,
"exon_count": 23,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.3525C>G",
"hgvs_p": null,
"transcript": "NR_176244.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3726,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 18,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.2981C>G",
"hgvs_p": null,
"transcript": "NR_176245.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3182,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 19,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.3007C>G",
"hgvs_p": null,
"transcript": "NR_176247.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3208,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 20,
"exon_rank_end": null,
"exon_count": 21,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.3207C>G",
"hgvs_p": null,
"transcript": "NR_176248.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3408,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": 17,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "c.2895-849C>G",
"hgvs_p": null,
"transcript": "NM_001406635.1",
"protein_id": "NP_001393564.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 969,
"cds_start": -4,
"cds_end": null,
"cds_length": 2910,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 3051,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": 17,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "c.2862-849C>G",
"hgvs_p": null,
"transcript": "NM_001406636.1",
"protein_id": "NP_001393565.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 958,
"cds_start": -4,
"cds_end": null,
"cds_length": 2877,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 3018,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 17,
"intron_rank": 16,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "c.2753-29932C>G",
"hgvs_p": null,
"transcript": "NM_001406637.1",
"protein_id": "NP_001393566.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 957,
"cds_start": -4,
"cds_end": null,
"cds_length": 2874,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 4436,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": 17,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "c.*38-849C>G",
"hgvs_p": null,
"transcript": "NM_001406640.1",
"protein_id": "NP_001393569.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 945,
"cds_start": -4,
"cds_end": null,
"cds_length": 2838,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 3032,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 17,
"intron_rank": 16,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "c.2753-849C>G",
"hgvs_p": null,
"transcript": "NM_001406642.1",
"protein_id": "NP_001393571.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 929,
"cds_start": -4,
"cds_end": null,
"cds_length": 2790,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2909,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": 18,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.3112-849C>G",
"hgvs_p": null,
"transcript": "NR_176242.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3232,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": 18,
"intron_rank_end": null,
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"hgvs_c": "n.3144-849C>G",
"hgvs_p": null,
"transcript": "NR_176246.1",
"protein_id": null,
"transcript_support_level": null,
"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": 3264,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "MSH2",
"gene_hgnc_id": 7325,
"dbsnp": "rs17036817",
"frequency_reference_population": 0.0035615405,
"hom_count_reference_population": 30,
"allele_count_reference_population": 1626,
"gnomad_exomes_af": 0.00154078,
"gnomad_genomes_af": 0.00760424,
"gnomad_exomes_ac": 469,
"gnomad_genomes_ac": 1157,
"gnomad_exomes_homalt": 3,
"gnomad_genomes_homalt": 27,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.9100000262260437,
"computational_prediction_selected": "Benign",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": null,
"splice_prediction_selected": null,
"splice_source_selected": null,
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": -0.91,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 0.295,
"phylop100way_prediction": "Benign",
"spliceai_max_score": null,
"spliceai_max_prediction": null,
"dbscsnv_ada_score": null,
"dbscsnv_ada_prediction": null,
"apogee2_score": null,
"apogee2_prediction": null,
"mitotip_score": null,
"mitotip_prediction": null,
"acmg_score": -9,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BS1_Supporting,BS2",
"acmg_by_gene": [
{
"score": -9,
"benign_score": 9,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BS1_Supporting",
"BS2"
],
"verdict": "Benign",
"transcript": "NM_001406633.1",
"gene_symbol": "MSH2",
"hgnc_id": 7325,
"effects": [
"missense_variant",
"splice_region_variant"
],
"inheritance_mode": "AD,AR",
"hgvs_c": "c.2897C>G",
"hgvs_p": "p.Pro966Arg"
}
],
"clinvar_disease": "not specified",
"clinvar_classification": "not provided",
"clinvar_review_status": "no classification provided",
"clinvar_submissions_summary": "O:1",
"phenotype_combined": "not specified",
"pathogenicity_classification_combined": "not provided",
"custom_annotations": null
}
],
"message": null
}