← 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: 19-44949198-C-A (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=19&pos=44949198&ref=C&alt=A&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "19",
"pos": 44949198,
"ref": "C",
"alt": "A",
"effect": "stop_gained",
"transcript": "ENST00000252490.7",
"consequences": [
{
"aa_ref": "Y",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"hgvs_c": "c.255C>A",
"hgvs_p": "p.Tyr85*",
"transcript": "NM_000483.5",
"protein_id": "NP_000474.2",
"transcript_support_level": null,
"aa_start": 85,
"aa_end": null,
"aa_length": 101,
"cds_start": 255,
"cds_end": null,
"cds_length": 306,
"cdna_start": 293,
"cdna_end": null,
"cdna_length": 660,
"mane_select": "ENST00000252490.7",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "Y",
"aa_alt": "*",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"hgvs_c": "c.255C>A",
"hgvs_p": "p.Tyr85*",
"transcript": "ENST00000252490.7",
"protein_id": "ENSP00000252490.5",
"transcript_support_level": 2,
"aa_start": 85,
"aa_end": null,
"aa_length": 101,
"cds_start": 255,
"cds_end": null,
"cds_length": 306,
"cdna_start": 293,
"cdna_end": null,
"cdna_length": 660,
"mane_select": "NM_000483.5",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "Y",
"aa_alt": "*",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC4-APOC2",
"gene_hgnc_id": 44426,
"hgvs_c": "c.486C>A",
"hgvs_p": "p.Tyr162*",
"transcript": "ENST00000589057.5",
"protein_id": "ENSP00000468139.1",
"transcript_support_level": 5,
"aa_start": 162,
"aa_end": null,
"aa_length": 178,
"cds_start": 486,
"cds_end": null,
"cds_length": 537,
"cdna_start": 508,
"cdna_end": null,
"cdna_length": 680,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "Y",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"hgvs_c": "c.255C>A",
"hgvs_p": "p.Tyr85*",
"transcript": "ENST00000590360.2",
"protein_id": "ENSP00000466775.1",
"transcript_support_level": 3,
"aa_start": 85,
"aa_end": null,
"aa_length": 101,
"cds_start": 255,
"cds_end": null,
"cds_length": 306,
"cdna_start": 377,
"cdna_end": null,
"cdna_length": 744,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "Y",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"stop_gained"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"hgvs_c": "c.213C>A",
"hgvs_p": "p.Tyr71*",
"transcript": "ENST00000591597.5",
"protein_id": "ENSP00000476835.1",
"transcript_support_level": 5,
"aa_start": 71,
"aa_end": null,
"aa_length": 87,
"cds_start": 213,
"cds_end": null,
"cds_length": 264,
"cdna_start": 246,
"cdna_end": null,
"cdna_length": 447,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC4-APOC2",
"gene_hgnc_id": 44426,
"hgvs_c": "n.*1038C>A",
"hgvs_p": null,
"transcript": "ENST00000585685.5",
"protein_id": "ENSP00000467185.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1829,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC4-APOC2",
"gene_hgnc_id": 44426,
"hgvs_c": "n.1462C>A",
"hgvs_p": null,
"transcript": "NR_037932.1",
"protein_id": null,
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1829,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 2,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"hgvs_c": "c.*334C>A",
"hgvs_p": null,
"transcript": "ENST00000585786.1",
"protein_id": "ENSP00000465001.1",
"transcript_support_level": 2,
"aa_start": null,
"aa_end": null,
"aa_length": 72,
"cds_start": -4,
"cds_end": null,
"cds_length": 219,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 880,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"hgvs_c": "c.*49C>A",
"hgvs_p": null,
"transcript": "ENST00000592257.5",
"protein_id": "ENSP00000477261.1",
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": 47,
"cds_start": -4,
"cds_end": null,
"cds_length": 144,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 444,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "APOC4-APOC2",
"gene_hgnc_id": 44426,
"hgvs_c": "n.*1038C>A",
"hgvs_p": null,
"transcript": "ENST00000585685.5",
"protein_id": "ENSP00000467185.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1829,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "APOC2",
"gene_hgnc_id": 609,
"dbsnp": "rs120074116",
"frequency_reference_population": null,
"hom_count_reference_population": 0,
"allele_count_reference_population": 0,
"gnomad_exomes_af": null,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": null,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.27000001072883606,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": 0.05000000074505806,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.27,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": -0.217,
"phylop100way_prediction": "Benign",
"spliceai_max_score": 0.05,
"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": 7,
"acmg_classification": "Likely_pathogenic",
"acmg_criteria": "PVS1_Strong,PM2,PP5",
"acmg_by_gene": [
{
"score": 7,
"benign_score": 0,
"pathogenic_score": 7,
"criteria": [
"PVS1_Strong",
"PM2",
"PP5"
],
"verdict": "Likely_pathogenic",
"transcript": "ENST00000252490.7",
"gene_symbol": "APOC2",
"hgnc_id": 609,
"effects": [
"stop_gained"
],
"inheritance_mode": "AR,SD",
"hgvs_c": "c.255C>A",
"hgvs_p": "p.Tyr85*"
},
{
"score": 7,
"benign_score": 0,
"pathogenic_score": 7,
"criteria": [
"PVS1_Strong",
"PM2",
"PP5"
],
"verdict": "Likely_pathogenic",
"transcript": "ENST00000589057.5",
"gene_symbol": "APOC4-APOC2",
"hgnc_id": 44426,
"effects": [
"stop_gained"
],
"inheritance_mode": "",
"hgvs_c": "c.486C>A",
"hgvs_p": "p.Tyr162*"
}
],
"clinvar_disease": "APOLIPOPROTEIN C-II (AUCKLAND),Familial apolipoprotein C-II deficiency",
"clinvar_classification": "Pathogenic",
"clinvar_review_status": "no assertion criteria provided",
"clinvar_submissions_summary": "null",
"phenotype_combined": "APOLIPOPROTEIN C-II (AUCKLAND)|Familial apolipoprotein C-II deficiency",
"pathogenicity_classification_combined": "Pathogenic",
"custom_annotations": null
}
],
"message": null
}