← 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: X-148662220-A-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=148662220&ref=A&alt=G&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "X",
"pos": 148662220,
"ref": "A",
"alt": "G",
"effect": "missense_variant",
"transcript": "ENST00000370460.7",
"consequences": [
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 21,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.493A>G",
"hgvs_p": "p.Asn165Asp",
"transcript": "NM_002025.4",
"protein_id": "NP_002016.2",
"transcript_support_level": null,
"aa_start": 165,
"aa_end": null,
"aa_length": 1311,
"cds_start": 493,
"cds_end": null,
"cds_length": 3936,
"cdna_start": 974,
"cdna_end": null,
"cdna_length": 13748,
"mane_select": "ENST00000370460.7",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 21,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.493A>G",
"hgvs_p": "p.Asn165Asp",
"transcript": "ENST00000370460.7",
"protein_id": "ENSP00000359489.2",
"transcript_support_level": 5,
"aa_start": 165,
"aa_end": null,
"aa_length": 1311,
"cds_start": 493,
"cds_end": null,
"cds_length": 3936,
"cdna_start": 974,
"cdna_end": null,
"cdna_length": 13748,
"mane_select": "NM_002025.4",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.481A>G",
"hgvs_p": "p.Asn161Asp",
"transcript": "ENST00000342251.7",
"protein_id": "ENSP00000345459.4",
"transcript_support_level": 1,
"aa_start": 161,
"aa_end": null,
"aa_length": 1276,
"cds_start": 481,
"cds_end": null,
"cds_length": 3831,
"cdna_start": 871,
"cdna_end": null,
"cdna_length": 7313,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.493A>G",
"hgvs_p": "p.Asn165Asp",
"transcript": "ENST00000370457.9",
"protein_id": "ENSP00000359486.6",
"transcript_support_level": 1,
"aa_start": 165,
"aa_end": null,
"aa_length": 1276,
"cds_start": 493,
"cds_end": null,
"cds_length": 3831,
"cdna_start": 544,
"cdna_end": null,
"cdna_length": 3952,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.481A>G",
"hgvs_p": "p.Asn161Asp",
"transcript": "ENST00000370458.5",
"protein_id": "ENSP00000359487.1",
"transcript_support_level": 1,
"aa_start": 161,
"aa_end": null,
"aa_length": 427,
"cds_start": 481,
"cds_end": null,
"cds_length": 1284,
"cdna_start": 570,
"cdna_end": null,
"cdna_length": 1488,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 21,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.481A>G",
"hgvs_p": "p.Asn161Asp",
"transcript": "NM_001169123.2",
"protein_id": "NP_001162594.1",
"transcript_support_level": null,
"aa_start": 161,
"aa_end": null,
"aa_length": 1301,
"cds_start": 481,
"cds_end": null,
"cds_length": 3906,
"cdna_start": 962,
"cdna_end": null,
"cdna_length": 13718,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.481A>G",
"hgvs_p": "p.Asn161Asp",
"transcript": "NM_001169122.2",
"protein_id": "NP_001162593.1",
"transcript_support_level": null,
"aa_start": 161,
"aa_end": null,
"aa_length": 1276,
"cds_start": 481,
"cds_end": null,
"cds_length": 3831,
"cdna_start": 962,
"cdna_end": null,
"cdna_length": 13643,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.493A>G",
"hgvs_p": "p.Asn165Asp",
"transcript": "NM_001169124.2",
"protein_id": "NP_001162595.1",
"transcript_support_level": null,
"aa_start": 165,
"aa_end": null,
"aa_length": 1276,
"cds_start": 493,
"cds_end": null,
"cds_length": 3831,
"cdna_start": 974,
"cdna_end": null,
"cdna_length": 13643,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "N",
"aa_alt": "D",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"hgvs_c": "c.481A>G",
"hgvs_p": "p.Asn161Asp",
"transcript": "NM_001169125.2",
"protein_id": "NP_001162596.1",
"transcript_support_level": null,
"aa_start": 161,
"aa_end": null,
"aa_length": 1272,
"cds_start": 481,
"cds_end": null,
"cds_length": 3819,
"cdna_start": 962,
"cdna_end": null,
"cdna_length": 13631,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "AFF2",
"gene_hgnc_id": 3776,
"dbsnp": "rs142559324",
"frequency_reference_population": 0.00009506245,
"hom_count_reference_population": 33,
"allele_count_reference_population": 115,
"gnomad_exomes_af": 0.0000728643,
"gnomad_genomes_af": 0.000313059,
"gnomad_exomes_ac": 80,
"gnomad_genomes_ac": 35,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.0037844181060791016,
"computational_prediction_selected": "Benign",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.131,
"revel_prediction": "Benign",
"alphamissense_score": 0.1311,
"alphamissense_prediction": null,
"bayesdelnoaf_score": -0.73,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 3.41,
"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": -20,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS1,BS2",
"acmg_by_gene": [
{
"score": -20,
"benign_score": 20,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP6_Very_Strong",
"BS1",
"BS2"
],
"verdict": "Benign",
"transcript": "ENST00000370460.7",
"gene_symbol": "AFF2",
"hgnc_id": 3776,
"effects": [
"missense_variant"
],
"inheritance_mode": "XL",
"hgvs_c": "c.493A>G",
"hgvs_p": "p.Asn165Asp"
}
],
"clinvar_disease": "Inborn genetic diseases,not provided,not specified",
"clinvar_classification": "Benign/Likely benign",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "LB:3 B:1",
"phenotype_combined": "not specified|not provided|Inborn genetic diseases",
"pathogenicity_classification_combined": "Benign/Likely benign",
"custom_annotations": null
}
],
"message": null
}