← 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: 2-29197676-C-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=29197676&ref=C&alt=T&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 29197676,
"ref": "C",
"alt": "T",
"effect": "stop_gained,splice_region_variant",
"transcript": "NM_004304.5",
"consequences": [
{
"aa_ref": "W",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained",
"splice_region_variant"
],
"exon_rank": 27,
"exon_rank_end": null,
"exon_count": 29,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "c.3939G>A",
"hgvs_p": "p.Trp1313*",
"transcript": "NM_004304.5",
"protein_id": "NP_004295.2",
"transcript_support_level": null,
"aa_start": 1313,
"aa_end": null,
"aa_length": 1620,
"cds_start": 3939,
"cds_end": null,
"cds_length": 4863,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000389048.8",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_004304.5"
},
{
"aa_ref": "W",
"aa_alt": "*",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained",
"splice_region_variant"
],
"exon_rank": 27,
"exon_rank_end": null,
"exon_count": 29,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "c.3939G>A",
"hgvs_p": "p.Trp1313*",
"transcript": "ENST00000389048.8",
"protein_id": "ENSP00000373700.3",
"transcript_support_level": 1,
"aa_start": 1313,
"aa_end": null,
"aa_length": 1620,
"cds_start": 3939,
"cds_end": null,
"cds_length": 4863,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_004304.5",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000389048.8"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 9,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "n.816G>A",
"hgvs_p": null,
"transcript": "ENST00000638605.1",
"protein_id": null,
"transcript_support_level": 1,
"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": "ENST00000638605.1"
},
{
"aa_ref": "W",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained",
"splice_region_variant"
],
"exon_rank": 26,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "c.2808G>A",
"hgvs_p": "p.Trp936*",
"transcript": "ENST00000618119.4",
"protein_id": "ENSP00000482733.1",
"transcript_support_level": 5,
"aa_start": 936,
"aa_end": null,
"aa_length": 1243,
"cds_start": 2808,
"cds_end": null,
"cds_length": 3732,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000618119.4"
},
{
"aa_ref": "W",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained",
"splice_region_variant"
],
"exon_rank": 8,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "c.735G>A",
"hgvs_p": "p.Trp245*",
"transcript": "NM_001353765.2",
"protein_id": "NP_001340694.1",
"transcript_support_level": null,
"aa_start": 245,
"aa_end": null,
"aa_length": 552,
"cds_start": 735,
"cds_end": null,
"cds_length": 1659,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001353765.2"
},
{
"aa_ref": "W",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained",
"splice_region_variant"
],
"exon_rank": 8,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "c.735G>A",
"hgvs_p": "p.Trp245*",
"transcript": "ENST00000642122.1",
"protein_id": "ENSP00000493203.1",
"transcript_support_level": null,
"aa_start": 245,
"aa_end": null,
"aa_length": 552,
"cds_start": 735,
"cds_end": null,
"cds_length": 1659,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000642122.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 17,
"exon_rank_end": null,
"exon_count": 17,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CLIP4",
"gene_hgnc_id": 26108,
"hgvs_c": "c.*670C>T",
"hgvs_p": null,
"transcript": "ENST00000689605.1",
"protein_id": "ENSP00000508948.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 666,
"cds_start": null,
"cds_end": null,
"cds_length": 2001,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000689605.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"splice_region_variant",
"non_coding_transcript_exon_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "n.*778G>A",
"hgvs_p": null,
"transcript": "ENST00000431873.6",
"protein_id": "ENSP00000414027.3",
"transcript_support_level": 5,
"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": "ENST00000431873.6"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"hgvs_c": "n.*778G>A",
"hgvs_p": null,
"transcript": "ENST00000431873.6",
"protein_id": "ENSP00000414027.3",
"transcript_support_level": 5,
"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": "ENST00000431873.6"
}
],
"gene_symbol": "ALK",
"gene_hgnc_id": 427,
"dbsnp": "rs1060500218",
"frequency_reference_population": 0.0000012394491,
"hom_count_reference_population": 0,
"allele_count_reference_population": 2,
"gnomad_exomes_af": 6.84204e-7,
"gnomad_genomes_af": 0.00000657601,
"gnomad_exomes_ac": 1,
"gnomad_genomes_ac": 1,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.5899999737739563,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": 0.9520000219345093,
"splice_prediction_selected": "Pathogenic",
"splice_source_selected": "dbscSNV1_RF",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.59,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 7.905,
"phylop100way_prediction": "Pathogenic",
"spliceai_max_score": 0.2,
"spliceai_max_prediction": "Benign",
"dbscsnv_ada_score": 0.999744504780428,
"dbscsnv_ada_prediction": "Pathogenic",
"apogee2_score": null,
"apogee2_prediction": null,
"mitotip_score": null,
"mitotip_prediction": null,
"acmg_score": 4,
"acmg_classification": "Uncertain_significance",
"acmg_criteria": "PM2,PP3_Moderate",
"acmg_by_gene": [
{
"score": 4,
"benign_score": 0,
"pathogenic_score": 4,
"criteria": [
"PM2",
"PP3_Moderate"
],
"verdict": "Uncertain_significance",
"transcript": "NM_004304.5",
"gene_symbol": "ALK",
"hgnc_id": 427,
"effects": [
"stop_gained",
"splice_region_variant"
],
"inheritance_mode": "AD",
"hgvs_c": "c.3939G>A",
"hgvs_p": "p.Trp1313*"
},
{
"score": 4,
"benign_score": 0,
"pathogenic_score": 4,
"criteria": [
"PM2",
"PP3_Moderate"
],
"verdict": "Uncertain_significance",
"transcript": "ENST00000689605.1",
"gene_symbol": "CLIP4",
"hgnc_id": 26108,
"effects": [
"3_prime_UTR_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.*670C>T",
"hgvs_p": null
}
],
"clinvar_disease": "",
"clinvar_classification": "",
"clinvar_review_status": "",
"clinvar_submissions_summary": "",
"phenotype_combined": null,
"pathogenicity_classification_combined": null,
"custom_annotations": null
}
],
"message": null
}