← 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: 17-8152405-A-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=17&pos=8152405&ref=A&alt=G&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "17",
"pos": 8152405,
"ref": "A",
"alt": "G",
"effect": "intron_variant",
"transcript": "ENST00000498285.1",
"consequences": [
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": 4,
"intron_rank_end": null,
"gene_symbol": "ENSG00000263620",
"gene_hgnc_id": null,
"hgvs_c": "c.335-1560T>C",
"hgvs_p": null,
"transcript": "ENST00000498285.1",
"protein_id": "ENSP00000464383.1",
"transcript_support_level": 4,
"aa_start": null,
"aa_end": null,
"aa_length": 120,
"cds_start": -4,
"cds_end": null,
"cds_length": 364,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 460,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "W",
"aa_alt": "R",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "c.28T>C",
"hgvs_p": "p.Trp10Arg",
"transcript": "ENST00000581703.1",
"protein_id": "ENSP00000463385.1",
"transcript_support_level": 4,
"aa_start": 10,
"aa_end": null,
"aa_length": 174,
"cds_start": 28,
"cds_end": null,
"cds_length": 525,
"cdna_start": 31,
"cdna_end": null,
"cdna_length": 528,
"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": 18,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "c.49-1795T>C",
"hgvs_p": null,
"transcript": "ENST00000354903.9",
"protein_id": "ENSP00000346979.5",
"transcript_support_level": 2,
"aa_start": null,
"aa_end": null,
"aa_length": 859,
"cds_start": -4,
"cds_end": null,
"cds_length": 2580,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 3115,
"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": 3,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "c.-139-1560T>C",
"hgvs_p": null,
"transcript": "ENST00000577253.5",
"protein_id": "ENSP00000462546.1",
"transcript_support_level": 4,
"aa_start": null,
"aa_end": null,
"aa_length": 116,
"cds_start": -4,
"cds_end": null,
"cds_length": 351,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 589,
"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": 4,
"intron_rank": 2,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "c.-140+1525T>C",
"hgvs_p": null,
"transcript": "ENST00000584202.1",
"protein_id": "ENSP00000463661.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 111,
"cds_start": -4,
"cds_end": null,
"cds_length": 337,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 576,
"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": 16,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "n.-139-1560T>C",
"hgvs_p": null,
"transcript": "ENST00000581395.5",
"protein_id": "ENSP00000464696.1",
"transcript_support_level": 2,
"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": 3209,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 23,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "c.-208T>C",
"hgvs_p": null,
"transcript": "NM_002616.3",
"protein_id": "NP_002607.2",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 1290,
"cds_start": -4,
"cds_end": null,
"cds_length": 3873,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 4676,
"mane_select": "ENST00000317276.9",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 23,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "c.-208T>C",
"hgvs_p": null,
"transcript": "ENST00000317276.9",
"protein_id": "ENSP00000314420.4",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 1290,
"cds_start": -4,
"cds_end": null,
"cds_length": 3873,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 4676,
"mane_select": "NM_002616.3",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "n.-22T>C",
"hgvs_p": null,
"transcript": "ENST00000579065.1",
"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": 1262,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 22,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PER1",
"gene_hgnc_id": 8845,
"hgvs_c": "n.-208T>C",
"hgvs_p": null,
"transcript": "ENST00000582719.5",
"protein_id": "ENSP00000463054.1",
"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": 3677,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "ENSG00000263620",
"gene_hgnc_id": null,
"dbsnp": "rs3027172",
"frequency_reference_population": 0.1676174,
"hom_count_reference_population": 2498,
"allele_count_reference_population": 25564,
"gnomad_exomes_af": 0.167785,
"gnomad_genomes_af": 0.167617,
"gnomad_exomes_ac": 50,
"gnomad_genomes_ac": 25514,
"gnomad_exomes_homalt": 4,
"gnomad_genomes_homalt": 2494,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.001388460397720337,
"computational_prediction_selected": "Benign",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": 0.1444,
"alphamissense_prediction": "Benign",
"bayesdelnoaf_score": -0.57,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 1.853,
"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": -12,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BA1",
"acmg_by_gene": [
{
"score": -12,
"benign_score": 12,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000498285.1",
"gene_symbol": "ENSG00000263620",
"hgnc_id": null,
"effects": [
"intron_variant"
],
"inheritance_mode": "",
"hgvs_c": "c.335-1560T>C",
"hgvs_p": null
},
{
"score": -12,
"benign_score": 12,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000581703.1",
"gene_symbol": "PER1",
"hgnc_id": 8845,
"effects": [
"missense_variant"
],
"inheritance_mode": "",
"hgvs_c": "c.28T>C",
"hgvs_p": "p.Trp10Arg"
}
],
"clinvar_disease": "",
"clinvar_classification": "",
"clinvar_review_status": "",
"clinvar_submissions_summary": "",
"phenotype_combined": null,
"pathogenicity_classification_combined": null,
"custom_annotations": null
}
],
"message": null
}