← 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: 6-32584361-G-GA (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=6&pos=32584361&ref=G&alt=GA&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "6",
"pos": 32584361,
"ref": "G",
"alt": "GA",
"effect": "frameshift_variant",
"transcript": "NM_002124.4",
"consequences": [
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "NM_002124.4",
"protein_id": "NP_002115.2",
"transcript_support_level": null,
"aa_start": 39,
"aa_end": null,
"aa_length": 266,
"cds_start": 117,
"cds_end": null,
"cds_length": 801,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000360004.6",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_002124.4"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "ENST00000360004.6",
"protein_id": "ENSP00000353099.5",
"transcript_support_level": 6,
"aa_start": 39,
"aa_end": null,
"aa_length": 266,
"cds_start": 117,
"cds_end": null,
"cds_length": 801,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_002124.4",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000360004.6"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.195_196insT",
"hgvs_p": "p.Pro66fs",
"transcript": "ENST00000963203.1",
"protein_id": "ENSP00000633262.1",
"transcript_support_level": null,
"aa_start": 65,
"aa_end": null,
"aa_length": 292,
"cds_start": 195,
"cds_end": null,
"cds_length": 879,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000963203.1"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "ENST00000859900.1",
"protein_id": "ENSP00000529959.1",
"transcript_support_level": null,
"aa_start": 39,
"aa_end": null,
"aa_length": 258,
"cds_start": 117,
"cds_end": null,
"cds_length": 777,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000859900.1"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "ENST00000859898.1",
"protein_id": "ENSP00000529957.1",
"transcript_support_level": null,
"aa_start": 39,
"aa_end": null,
"aa_length": 236,
"cds_start": 117,
"cds_end": null,
"cds_length": 711,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000859898.1"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "ENST00000859899.1",
"protein_id": "ENSP00000529958.1",
"transcript_support_level": null,
"aa_start": 39,
"aa_end": null,
"aa_length": 229,
"cds_start": 117,
"cds_end": null,
"cds_length": 690,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000859899.1"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "ENST00000859901.1",
"protein_id": "ENSP00000529960.1",
"transcript_support_level": null,
"aa_start": 39,
"aa_end": null,
"aa_length": 215,
"cds_start": 117,
"cds_end": null,
"cds_length": 648,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000859901.1"
},
{
"aa_ref": "Q",
"aa_alt": "Q?",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"frameshift_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs",
"transcript": "ENST00000859897.1",
"protein_id": "ENSP00000529956.1",
"transcript_support_level": null,
"aa_start": 39,
"aa_end": null,
"aa_length": 127,
"cds_start": 117,
"cds_end": null,
"cds_length": 384,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000859897.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "n.*22_*23insT",
"hgvs_p": null,
"transcript": "ENST00000696610.1",
"protein_id": "ENSP00000512754.1",
"transcript_support_level": null,
"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": "nonsense_mediated_decay",
"feature": "ENST00000696610.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "n.40_41insT",
"hgvs_p": null,
"transcript": "ENST00000696611.1",
"protein_id": null,
"transcript_support_level": null,
"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": "ENST00000696611.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "n.180_181insT",
"hgvs_p": null,
"transcript": "ENST00000696612.1",
"protein_id": null,
"transcript_support_level": null,
"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": "ENST00000696612.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "n.95_96insT",
"hgvs_p": null,
"transcript": "ENST00000696613.1",
"protein_id": null,
"transcript_support_level": null,
"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": "ENST00000696613.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"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": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "n.245_246insT",
"hgvs_p": null,
"transcript": "ENST00000696614.1",
"protein_id": null,
"transcript_support_level": null,
"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": "ENST00000696614.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"hgvs_c": "n.*22_*23insT",
"hgvs_p": null,
"transcript": "ENST00000696610.1",
"protein_id": "ENSP00000512754.1",
"transcript_support_level": null,
"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": "nonsense_mediated_decay",
"feature": "ENST00000696610.1"
}
],
"gene_symbol": "HLA-DRB1",
"gene_hgnc_id": 4948,
"dbsnp": "rs749085224",
"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": null,
"computational_prediction_selected": null,
"computational_source_selected": null,
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": null,
"bayesdelnoaf_prediction": null,
"phylop100way_score": -1.349,
"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": -1,
"acmg_classification": "Likely_benign",
"acmg_criteria": "BP6",
"acmg_by_gene": [
{
"score": -1,
"benign_score": 1,
"pathogenic_score": 0,
"criteria": [
"BP6"
],
"verdict": "Likely_benign",
"transcript": "NM_002124.4",
"gene_symbol": "HLA-DRB1",
"hgnc_id": 4948,
"effects": [
"frameshift_variant"
],
"inheritance_mode": "Unknown",
"hgvs_c": "c.117_118insT",
"hgvs_p": "p.Pro40fs"
}
],
"clinvar_disease": "not specified",
"clinvar_classification": "Benign",
"clinvar_review_status": "no assertion criteria provided",
"clinvar_submissions_summary": "null",
"phenotype_combined": "not specified",
"pathogenicity_classification_combined": "Benign",
"custom_annotations": null
}
],
"message": null
}