← 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: 9-35740833-G-A (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=9&pos=35740833&ref=G&alt=A&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 35740833,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "ENST00000378103.7",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*",
          "transcript": "NM_020944.3",
          "protein_id": "NP_065995.1",
          "transcript_support_level": null,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 927,
          "cds_start": 1018,
          "cds_end": null,
          "cds_length": 2784,
          "cdna_start": 1542,
          "cdna_end": null,
          "cdna_length": 3611,
          "mane_select": "ENST00000378103.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*",
          "transcript": "ENST00000378103.7",
          "protein_id": "ENSP00000367343.3",
          "transcript_support_level": 1,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 927,
          "cds_start": 1018,
          "cds_end": null,
          "cds_length": 2784,
          "cdna_start": 1542,
          "cdna_end": null,
          "cdna_length": 3611,
          "mane_select": "NM_020944.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*",
          "transcript": "ENST00000378094.4",
          "protein_id": "ENSP00000367334.4",
          "transcript_support_level": 1,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 877,
          "cds_start": 1018,
          "cds_end": null,
          "cds_length": 2634,
          "cdna_start": 1532,
          "cdna_end": null,
          "cdna_length": 3757,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "n.590C>T",
          "hgvs_p": null,
          "transcript": "ENST00000467252.5",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 1913,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*",
          "transcript": "NM_001330660.2",
          "protein_id": "NP_001317589.1",
          "transcript_support_level": null,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 877,
          "cds_start": 1018,
          "cds_end": null,
          "cds_length": 2634,
          "cdna_start": 1542,
          "cdna_end": null,
          "cdna_length": 3768,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1036C>T",
          "hgvs_p": "p.Arg346*",
          "transcript": "XM_006716809.5",
          "protein_id": "XP_006716872.1",
          "transcript_support_level": null,
          "aa_start": 346,
          "aa_end": null,
          "aa_length": 933,
          "cds_start": 1036,
          "cds_end": null,
          "cds_length": 2802,
          "cdna_start": 1560,
          "cdna_end": null,
          "cdna_length": 3629,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1036C>T",
          "hgvs_p": "p.Arg346*",
          "transcript": "XM_005251526.6",
          "protein_id": "XP_005251583.1",
          "transcript_support_level": null,
          "aa_start": 346,
          "aa_end": null,
          "aa_length": 911,
          "cds_start": 1036,
          "cds_end": null,
          "cds_length": 2736,
          "cdna_start": 1560,
          "cdna_end": null,
          "cdna_length": 3563,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*",
          "transcript": "XM_017014937.3",
          "protein_id": "XP_016870426.1",
          "transcript_support_level": null,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 905,
          "cds_start": 1018,
          "cds_end": null,
          "cds_length": 2718,
          "cdna_start": 1542,
          "cdna_end": null,
          "cdna_length": 3545,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1036C>T",
          "hgvs_p": "p.Arg346*",
          "transcript": "XM_017014938.3",
          "protein_id": "XP_016870427.1",
          "transcript_support_level": null,
          "aa_start": 346,
          "aa_end": null,
          "aa_length": 883,
          "cds_start": 1036,
          "cds_end": null,
          "cds_length": 2652,
          "cdna_start": 1560,
          "cdna_end": null,
          "cdna_length": 3786,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*",
          "transcript": "XM_017014939.3",
          "protein_id": "XP_016870428.1",
          "transcript_support_level": null,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 855,
          "cds_start": 1018,
          "cds_end": null,
          "cds_length": 2568,
          "cdna_start": 1542,
          "cdna_end": null,
          "cdna_length": 3702,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.799C>T",
          "hgvs_p": "p.Arg267*",
          "transcript": "XM_017014940.3",
          "protein_id": "XP_016870429.1",
          "transcript_support_level": null,
          "aa_start": 267,
          "aa_end": null,
          "aa_length": 854,
          "cds_start": 799,
          "cds_end": null,
          "cds_length": 2565,
          "cdna_start": 1323,
          "cdna_end": null,
          "cdna_length": 3392,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.799C>T",
          "hgvs_p": "p.Arg267*",
          "transcript": "XM_017014941.3",
          "protein_id": "XP_016870430.1",
          "transcript_support_level": null,
          "aa_start": 267,
          "aa_end": null,
          "aa_length": 804,
          "cds_start": 799,
          "cds_end": null,
          "cds_length": 2415,
          "cdna_start": 1323,
          "cdna_end": null,
          "cdna_length": 3549,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.583C>T",
          "hgvs_p": "p.Arg195*",
          "transcript": "XM_017014942.3",
          "protein_id": "XP_016870431.1",
          "transcript_support_level": null,
          "aa_start": 195,
          "aa_end": null,
          "aa_length": 782,
          "cds_start": 583,
          "cds_end": null,
          "cds_length": 2349,
          "cdna_start": 674,
          "cdna_end": null,
          "cdna_length": 2743,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.565C>T",
          "hgvs_p": "p.Arg189*",
          "transcript": "XM_017014943.3",
          "protein_id": "XP_016870432.1",
          "transcript_support_level": null,
          "aa_start": 189,
          "aa_end": null,
          "aa_length": 776,
          "cds_start": 565,
          "cds_end": null,
          "cds_length": 2331,
          "cdna_start": 656,
          "cdna_end": null,
          "cdna_length": 2725,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.481C>T",
          "hgvs_p": "p.Arg161*",
          "transcript": "XM_017014944.1",
          "protein_id": "XP_016870433.1",
          "transcript_support_level": null,
          "aa_start": 161,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 481,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 605,
          "cdna_end": null,
          "cdna_length": 2674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.463C>T",
          "hgvs_p": "p.Arg155*",
          "transcript": "XM_017014945.1",
          "protein_id": "XP_016870434.1",
          "transcript_support_level": null,
          "aa_start": 155,
          "aa_end": null,
          "aa_length": 742,
          "cds_start": 463,
          "cds_end": null,
          "cds_length": 2229,
          "cdna_start": 587,
          "cdna_end": null,
          "cdna_length": 2656,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GBA2",
          "gene_hgnc_id": 18986,
          "hgvs_c": "c.463C>T",
          "hgvs_p": "p.Arg155*",
          "transcript": "XM_047423612.1",
          "protein_id": "XP_047279568.1",
          "transcript_support_level": null,
          "aa_start": 155,
          "aa_end": null,
          "aa_length": 742,
          "cds_start": 463,
          "cds_end": null,
          "cds_length": 2229,
          "cdna_start": 685,
          "cdna_end": null,
          "cdna_length": 2754,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "GBA2",
      "gene_hgnc_id": 18986,
      "dbsnp": "rs398123014",
      "frequency_reference_population": 0.0000024783915,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000205226,
      "gnomad_genomes_af": 0.00000657255,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.550000011920929,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.55,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 2.263,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": 18,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 18,
          "benign_score": 0,
          "pathogenic_score": 18,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000378103.7",
          "gene_symbol": "GBA2",
          "hgnc_id": 18986,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1018C>T",
          "hgvs_p": "p.Arg340*"
        }
      ],
      "clinvar_disease": "Hereditary spastic paraplegia 46,Spastic paraplegia",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:2",
      "phenotype_combined": "Hereditary spastic paraplegia 46|Spastic paraplegia",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}