← 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: 12-47979534-G-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=12&pos=47979534&ref=G&alt=C&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "12",
"pos": 47979534,
"ref": "G",
"alt": "C",
"effect": "missense_variant",
"transcript": "ENST00000380518.8",
"consequences": [
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 41,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2710C>G",
"hgvs_p": "p.Arg904Gly",
"transcript": "NM_001844.5",
"protein_id": "NP_001835.3",
"transcript_support_level": null,
"aa_start": 904,
"aa_end": null,
"aa_length": 1487,
"cds_start": 2710,
"cds_end": null,
"cds_length": 4464,
"cdna_start": 2865,
"cdna_end": null,
"cdna_length": 5059,
"mane_select": "ENST00000380518.8",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 41,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2710C>G",
"hgvs_p": "p.Arg904Gly",
"transcript": "ENST00000380518.8",
"protein_id": "ENSP00000369889.3",
"transcript_support_level": 1,
"aa_start": 904,
"aa_end": null,
"aa_length": 1487,
"cds_start": 2710,
"cds_end": null,
"cds_length": 4464,
"cdna_start": 2865,
"cdna_end": null,
"cdna_length": 5059,
"mane_select": "NM_001844.5",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 40,
"exon_rank_end": null,
"exon_count": 53,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2503C>G",
"hgvs_p": "p.Arg835Gly",
"transcript": "ENST00000337299.7",
"protein_id": "ENSP00000338213.6",
"transcript_support_level": 1,
"aa_start": 835,
"aa_end": null,
"aa_length": 1418,
"cds_start": 2503,
"cds_end": null,
"cds_length": 4257,
"cdna_start": 2688,
"cdna_end": null,
"cdna_length": 4442,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 40,
"exon_rank_end": null,
"exon_count": 53,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2503C>G",
"hgvs_p": "p.Arg835Gly",
"transcript": "NM_033150.3",
"protein_id": "NP_149162.2",
"transcript_support_level": null,
"aa_start": 835,
"aa_end": null,
"aa_length": 1418,
"cds_start": 2503,
"cds_end": null,
"cds_length": 4257,
"cdna_start": 2658,
"cdna_end": null,
"cdna_length": 4852,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 43,
"exon_rank_end": null,
"exon_count": 56,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2854C>G",
"hgvs_p": "p.Arg952Gly",
"transcript": "XM_017018828.1",
"protein_id": "XP_016874317.1",
"transcript_support_level": null,
"aa_start": 952,
"aa_end": null,
"aa_length": 1535,
"cds_start": 2854,
"cds_end": null,
"cds_length": 4608,
"cdna_start": 2976,
"cdna_end": null,
"cdna_length": 5170,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 43,
"exon_rank_end": null,
"exon_count": 56,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2851C>G",
"hgvs_p": "p.Arg951Gly",
"transcript": "XM_017018829.1",
"protein_id": "XP_016874318.1",
"transcript_support_level": null,
"aa_start": 951,
"aa_end": null,
"aa_length": 1534,
"cds_start": 2851,
"cds_end": null,
"cds_length": 4605,
"cdna_start": 2973,
"cdna_end": null,
"cdna_length": 5167,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 42,
"exon_rank_end": null,
"exon_count": 55,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2644C>G",
"hgvs_p": "p.Arg882Gly",
"transcript": "XM_017018830.1",
"protein_id": "XP_016874319.1",
"transcript_support_level": null,
"aa_start": 882,
"aa_end": null,
"aa_length": 1465,
"cds_start": 2644,
"cds_end": null,
"cds_length": 4398,
"cdna_start": 2766,
"cdna_end": null,
"cdna_length": 4960,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 41,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2164C>G",
"hgvs_p": "p.Arg722Gly",
"transcript": "XM_017018831.3",
"protein_id": "XP_016874320.1",
"transcript_support_level": null,
"aa_start": 722,
"aa_end": null,
"aa_length": 1305,
"cds_start": 2164,
"cds_end": null,
"cds_length": 3918,
"cdna_start": 3194,
"cdna_end": null,
"cdna_length": 5388,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 41,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.2164C>G",
"hgvs_p": "p.Arg722Gly",
"transcript": "XM_047428315.1",
"protein_id": "XP_047284271.1",
"transcript_support_level": null,
"aa_start": 722,
"aa_end": null,
"aa_length": 1305,
"cds_start": 2164,
"cds_end": null,
"cds_length": 3918,
"cdna_start": 2643,
"cdna_end": null,
"cdna_length": 4837,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 24,
"exon_rank_end": null,
"exon_count": 37,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "n.1796C>G",
"hgvs_p": null,
"transcript": "ENST00000493991.5",
"protein_id": null,
"transcript_support_level": 2,
"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": 3756,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"dbsnp": "rs121912882",
"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.7950257658958435,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.705,
"revel_prediction": "Pathogenic",
"alphamissense_score": 0.7095,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.21,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 0.892,
"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": 8,
"acmg_classification": "Likely_pathogenic",
"acmg_criteria": "PM1,PM2,PM5,PP2,PP3",
"acmg_by_gene": [
{
"score": 8,
"benign_score": 0,
"pathogenic_score": 8,
"criteria": [
"PM1",
"PM2",
"PM5",
"PP2",
"PP3"
],
"verdict": "Likely_pathogenic",
"transcript": "ENST00000380518.8",
"gene_symbol": "COL2A1",
"hgnc_id": 2200,
"effects": [
"missense_variant"
],
"inheritance_mode": "Unknown,AD,AR",
"hgvs_c": "c.2710C>G",
"hgvs_p": "p.Arg904Gly"
}
],
"clinvar_disease": "",
"clinvar_classification": "",
"clinvar_review_status": "",
"clinvar_submissions_summary": "",
"phenotype_combined": null,
"pathogenicity_classification_combined": null,
"custom_annotations": null
}
],
"message": null
}