← 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: 18-22171983-G-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=18&pos=22171983&ref=G&alt=C&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "18",
"pos": 22171983,
"ref": "G",
"alt": "C",
"effect": "missense_variant",
"transcript": "ENST00000269216.10",
"consequences": [
{
"aa_ref": "G",
"aa_alt": "A",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "GATA6",
"gene_hgnc_id": 4174,
"hgvs_c": "c.839G>C",
"hgvs_p": "p.Gly280Ala",
"transcript": "NM_005257.6",
"protein_id": "NP_005248.2",
"transcript_support_level": null,
"aa_start": 280,
"aa_end": null,
"aa_length": 595,
"cds_start": 839,
"cds_end": null,
"cds_length": 1788,
"cdna_start": 970,
"cdna_end": null,
"cdna_length": 3624,
"mane_select": "ENST00000269216.10",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "G",
"aa_alt": "A",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "GATA6",
"gene_hgnc_id": 4174,
"hgvs_c": "c.839G>C",
"hgvs_p": "p.Gly280Ala",
"transcript": "ENST00000269216.10",
"protein_id": "ENSP00000269216.3",
"transcript_support_level": 1,
"aa_start": 280,
"aa_end": null,
"aa_length": 595,
"cds_start": 839,
"cds_end": null,
"cds_length": 1788,
"cdna_start": 970,
"cdna_end": null,
"cdna_length": 3624,
"mane_select": "NM_005257.6",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "G",
"aa_alt": "A",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "GATA6",
"gene_hgnc_id": 4174,
"hgvs_c": "c.839G>C",
"hgvs_p": "p.Gly280Ala",
"transcript": "ENST00000581694.1",
"protein_id": "ENSP00000462313.1",
"transcript_support_level": 1,
"aa_start": 280,
"aa_end": null,
"aa_length": 595,
"cds_start": 839,
"cds_end": null,
"cds_length": 1788,
"cdna_start": 1051,
"cdna_end": null,
"cdna_length": 2057,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "G",
"aa_alt": "A",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "GATA6",
"gene_hgnc_id": 4174,
"hgvs_c": "c.839G>C",
"hgvs_p": "p.Gly280Ala",
"transcript": "XM_047437483.1",
"protein_id": "XP_047293439.1",
"transcript_support_level": null,
"aa_start": 280,
"aa_end": null,
"aa_length": 595,
"cds_start": 839,
"cds_end": null,
"cds_length": 1788,
"cdna_start": 1017,
"cdna_end": null,
"cdna_length": 3671,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "GATA6",
"gene_hgnc_id": 4174,
"dbsnp": "rs904519303",
"frequency_reference_population": 0.0005763972,
"hom_count_reference_population": 0,
"allele_count_reference_population": 704,
"gnomad_exomes_af": 0.000628724,
"gnomad_genomes_af": 0.000205355,
"gnomad_exomes_ac": 673,
"gnomad_genomes_ac": 31,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.3676115870475769,
"computational_prediction_selected": "Benign",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.298,
"revel_prediction": "Uncertain_significance",
"alphamissense_score": 0.087,
"alphamissense_prediction": null,
"bayesdelnoaf_score": -0.15,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 3.288,
"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": -2,
"acmg_classification": "Likely_benign",
"acmg_criteria": "BP4,BS1_Supporting",
"acmg_by_gene": [
{
"score": -2,
"benign_score": 2,
"pathogenic_score": 0,
"criteria": [
"BP4",
"BS1_Supporting"
],
"verdict": "Likely_benign",
"transcript": "ENST00000269216.10",
"gene_symbol": "GATA6",
"hgnc_id": 4174,
"effects": [
"missense_variant"
],
"inheritance_mode": "AD,AR",
"hgvs_c": "c.839G>C",
"hgvs_p": "p.Gly280Ala"
}
],
"clinvar_disease": "Atrial septal defect 9,Atrioventricular septal defect 5,Conotruncal heart malformations,Pancreatic hypoplasia-diabetes-congenital heart disease syndrome,Tetralogy of Fallot,not provided",
"clinvar_classification": "Uncertain significance",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "US:3",
"phenotype_combined": "Atrioventricular septal defect 5|Tetralogy of Fallot;Conotruncal heart malformations;Pancreatic hypoplasia-diabetes-congenital heart disease syndrome;Atrioventricular septal defect 5;Atrial septal defect 9|not provided",
"pathogenicity_classification_combined": "Uncertain significance",
"custom_annotations": null
}
],
"message": null
}