← 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: 8-22123727-G-A (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=8&pos=22123727&ref=G&alt=A&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "8",
"pos": 22123727,
"ref": "G",
"alt": "A",
"effect": "stop_gained",
"transcript": "NM_005144.5",
"consequences": [
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"hgvs_c": "c.1837C>T",
"hgvs_p": "p.Arg613*",
"transcript": "NM_005144.5",
"protein_id": "NP_005135.2",
"transcript_support_level": null,
"aa_start": 613,
"aa_end": null,
"aa_length": 1189,
"cds_start": 1837,
"cds_end": null,
"cds_length": 3570,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000381418.9",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_005144.5"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 19,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"hgvs_c": "c.1837C>T",
"hgvs_p": "p.Arg613*",
"transcript": "ENST00000381418.9",
"protein_id": "ENSP00000370826.4",
"transcript_support_level": 1,
"aa_start": 613,
"aa_end": null,
"aa_length": 1189,
"cds_start": 1837,
"cds_end": null,
"cds_length": 3570,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_005144.5",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000381418.9"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"hgvs_c": "c.1837C>T",
"hgvs_p": "p.Arg613*",
"transcript": "ENST00000680789.1",
"protein_id": "ENSP00000505181.1",
"transcript_support_level": null,
"aa_start": 613,
"aa_end": null,
"aa_length": 1189,
"cds_start": 1837,
"cds_end": null,
"cds_length": 3570,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000680789.1"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 17,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"hgvs_c": "c.1840C>T",
"hgvs_p": "p.Arg614*",
"transcript": "ENST00000902240.1",
"protein_id": "ENSP00000572299.1",
"transcript_support_level": null,
"aa_start": 614,
"aa_end": null,
"aa_length": 1172,
"cds_start": 1840,
"cds_end": null,
"cds_length": 3519,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000902240.1"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"hgvs_c": "c.1837C>T",
"hgvs_p": "p.Arg613*",
"transcript": "NM_018411.4",
"protein_id": "NP_060881.2",
"transcript_support_level": null,
"aa_start": 613,
"aa_end": null,
"aa_length": 1134,
"cds_start": 1837,
"cds_end": null,
"cds_length": 3405,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_018411.4"
},
{
"aa_ref": "R",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"hgvs_c": "c.1837C>T",
"hgvs_p": "p.Arg613*",
"transcript": "ENST00000312841.9",
"protein_id": "ENSP00000326765.8",
"transcript_support_level": 5,
"aa_start": 613,
"aa_end": null,
"aa_length": 1134,
"cds_start": 1837,
"cds_end": null,
"cds_length": 3405,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000312841.9"
}
],
"gene_symbol": "HR",
"gene_hgnc_id": 5172,
"dbsnp": "rs121434449",
"frequency_reference_population": 0.000003478348,
"hom_count_reference_population": 0,
"allele_count_reference_population": 5,
"gnomad_exomes_af": 0.00000347835,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": 5,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.5199999809265137,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": 0.1899999976158142,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.52,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 0.007,
"phylop100way_prediction": "Benign",
"spliceai_max_score": 0.19,
"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": 11,
"acmg_classification": "Pathogenic",
"acmg_criteria": "PVS1,PM2,PP5",
"acmg_by_gene": [
{
"score": 11,
"benign_score": 0,
"pathogenic_score": 11,
"criteria": [
"PVS1",
"PM2",
"PP5"
],
"verdict": "Pathogenic",
"transcript": "NM_005144.5",
"gene_symbol": "HR",
"hgnc_id": 5172,
"effects": [
"stop_gained"
],
"inheritance_mode": "AR,AD",
"hgvs_c": "c.1837C>T",
"hgvs_p": "p.Arg613*"
}
],
"clinvar_disease": "Atrichia with papular lesions",
"clinvar_classification": "Pathogenic",
"clinvar_review_status": "no assertion criteria provided",
"clinvar_submissions_summary": "null",
"phenotype_combined": "Atrichia with papular lesions",
"pathogenicity_classification_combined": "Pathogenic",
"custom_annotations": null
}
],
"message": null
}