← 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-47234782-T-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=6&pos=47234782&ref=T&alt=C&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "6",
"pos": 47234782,
"ref": "T",
"alt": "C",
"effect": "synonymous_variant",
"transcript": "NM_014452.5",
"consequences": [
{
"aa_ref": "P",
"aa_alt": "P",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"hgvs_c": "c.1626A>G",
"hgvs_p": "p.Pro542Pro",
"transcript": "NM_014452.5",
"protein_id": "NP_055267.1",
"transcript_support_level": null,
"aa_start": 542,
"aa_end": null,
"aa_length": 655,
"cds_start": 1626,
"cds_end": null,
"cds_length": 1968,
"cdna_start": 2020,
"cdna_end": null,
"cdna_length": 3595,
"mane_select": "ENST00000296861.2",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_014452.5"
},
{
"aa_ref": "P",
"aa_alt": "P",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"hgvs_c": "c.1626A>G",
"hgvs_p": "p.Pro542Pro",
"transcript": "ENST00000296861.2",
"protein_id": "ENSP00000296861.2",
"transcript_support_level": 1,
"aa_start": 542,
"aa_end": null,
"aa_length": 655,
"cds_start": 1626,
"cds_end": null,
"cds_length": 1968,
"cdna_start": 2020,
"cdna_end": null,
"cdna_length": 3595,
"mane_select": "NM_014452.5",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000296861.2"
},
{
"aa_ref": "P",
"aa_alt": "P",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"hgvs_c": "c.1704A>G",
"hgvs_p": "p.Pro568Pro",
"transcript": "ENST00000877798.1",
"protein_id": "ENSP00000547857.1",
"transcript_support_level": null,
"aa_start": 568,
"aa_end": null,
"aa_length": 681,
"cds_start": 1704,
"cds_end": null,
"cds_length": 2046,
"cdna_start": 2083,
"cdna_end": null,
"cdna_length": 3656,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000877798.1"
},
{
"aa_ref": "P",
"aa_alt": "P",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"hgvs_c": "c.1131A>G",
"hgvs_p": "p.Pro377Pro",
"transcript": "ENST00000952535.1",
"protein_id": "ENSP00000622594.1",
"transcript_support_level": null,
"aa_start": 377,
"aa_end": null,
"aa_length": 490,
"cds_start": 1131,
"cds_end": null,
"cds_length": 1473,
"cdna_start": 1567,
"cdna_end": null,
"cdna_length": 3141,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000952535.1"
},
{
"aa_ref": "P",
"aa_alt": "P",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"hgvs_c": "c.213A>G",
"hgvs_p": "p.Pro71Pro",
"transcript": "ENST00000911387.1",
"protein_id": "ENSP00000581446.1",
"transcript_support_level": null,
"aa_start": 71,
"aa_end": null,
"aa_length": 184,
"cds_start": 213,
"cds_end": null,
"cds_length": 555,
"cdna_start": 607,
"cdna_end": null,
"cdna_length": 2181,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000911387.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"splice_region_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": 4,
"intron_rank_end": null,
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"hgvs_c": "c.1510-4A>G",
"hgvs_p": null,
"transcript": "ENST00000952536.1",
"protein_id": "ENSP00000622595.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 615,
"cds_start": null,
"cds_end": null,
"cds_length": 1848,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 3472,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000952536.1"
}
],
"gene_symbol": "TNFRSF21",
"gene_hgnc_id": 13469,
"dbsnp": "rs114426615",
"frequency_reference_population": 0.00045403434,
"hom_count_reference_population": 3,
"allele_count_reference_population": 726,
"gnomad_exomes_af": 0.000232231,
"gnomad_genomes_af": 0.00256302,
"gnomad_exomes_ac": 336,
"gnomad_genomes_ac": 390,
"gnomad_exomes_homalt": 3,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.8799999952316284,
"computational_prediction_selected": "Benign",
"computational_source_selected": "BayesDel_noAF",
"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": -0.88,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": -4.517,
"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": -11,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BP6_Moderate,BP7,BS2",
"acmg_by_gene": [
{
"score": -11,
"benign_score": 11,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP6_Moderate",
"BP7",
"BS2"
],
"verdict": "Benign",
"transcript": "NM_014452.5",
"gene_symbol": "TNFRSF21",
"hgnc_id": 13469,
"effects": [
"synonymous_variant"
],
"inheritance_mode": "AD",
"hgvs_c": "c.1626A>G",
"hgvs_p": "p.Pro542Pro"
}
],
"clinvar_disease": "not provided",
"clinvar_classification": "Benign",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "B:1",
"phenotype_combined": "not provided",
"pathogenicity_classification_combined": "Benign",
"custom_annotations": null
}
],
"message": null
}