← 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-40235634-T-C (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=12&pos=40235634&ref=T&alt=C&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 40235634,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000298910.12",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "NM_198578.4",
          "protein_id": "NP_940980.4",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2527,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7584,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 9239,
          "mane_select": "ENST00000298910.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "ENST00000298910.12",
          "protein_id": "ENSP00000298910.7",
          "transcript_support_level": 1,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2527,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7584,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 9239,
          "mane_select": "NM_198578.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "ENST00000680790.1",
          "protein_id": "ENSP00000505335.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2442,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7329,
          "cdna_start": 408,
          "cdna_end": null,
          "cdna_length": 8875,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "ENST00000343742.6",
          "protein_id": "ENSP00000341930.2",
          "transcript_support_level": 5,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 1271,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 3816,
          "cdna_start": 477,
          "cdna_end": null,
          "cdna_length": 4740,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.143T>C",
          "hgvs_p": "p.Leu48Pro",
          "transcript": "ENST00000416796.5",
          "protein_id": "ENSP00000398726.1",
          "transcript_support_level": 3,
          "aa_start": 48,
          "aa_end": null,
          "aa_length": 520,
          "cds_start": 143,
          "cds_end": null,
          "cds_length": 1563,
          "cdna_start": 235,
          "cdna_end": null,
          "cdna_length": 1655,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_005268629.5",
          "protein_id": "XP_005268686.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2521,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7566,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 9221,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_011537877.4",
          "protein_id": "XP_011536179.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2503,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7512,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 9167,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_047428277.1",
          "protein_id": "XP_047284233.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2490,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7473,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 10778,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_047428278.1",
          "protein_id": "XP_047284234.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 2371,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 7116,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 10600,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_047428279.1",
          "protein_id": "XP_047284235.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 1621,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 4866,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 8660,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_011537881.4",
          "protein_id": "XP_011536183.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 1611,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 4836,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 5117,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_017018786.3",
          "protein_id": "XP_016874275.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 1524,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 4575,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 4761,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro",
          "transcript": "XM_011537882.4",
          "protein_id": "XP_011536184.1",
          "transcript_support_level": null,
          "aa_start": 119,
          "aa_end": null,
          "aa_length": 1271,
          "cds_start": 356,
          "cds_end": null,
          "cds_length": 3816,
          "cdna_start": 491,
          "cdna_end": null,
          "cdna_length": 4107,
          "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": 5,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "n.*91T>C",
          "hgvs_p": null,
          "transcript": "ENST00000644108.1",
          "protein_id": "ENSP00000493752.1",
          "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": 1151,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "n.356T>C",
          "hgvs_p": null,
          "transcript": "ENST00000679360.1",
          "protein_id": "ENSP00000505368.1",
          "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": 7718,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "n.511T>C",
          "hgvs_p": null,
          "transcript": "ENST00000680235.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": 2344,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "n.491T>C",
          "hgvs_p": null,
          "transcript": "XR_007063041.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": 11176,
          "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": 5,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRRK2",
          "gene_hgnc_id": 18618,
          "hgvs_c": "n.*91T>C",
          "hgvs_p": null,
          "transcript": "ENST00000644108.1",
          "protein_id": "ENSP00000493752.1",
          "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": 1151,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "LRRK2",
      "gene_hgnc_id": 18618,
      "dbsnp": "rs33995463",
      "frequency_reference_population": 0.0018234783,
      "hom_count_reference_population": 4,
      "allele_count_reference_population": 2922,
      "gnomad_exomes_af": 0.00187094,
      "gnomad_genomes_af": 0.00137175,
      "gnomad_exomes_ac": 2713,
      "gnomad_genomes_ac": 209,
      "gnomad_exomes_homalt": 4,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.026334166526794434,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.464,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.8392,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.1,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 5.351,
      "phylop100way_prediction": "Uncertain_significance",
      "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": -9,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6,BS2",
      "acmg_by_gene": [
        {
          "score": -9,
          "benign_score": 9,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000298910.12",
          "gene_symbol": "LRRK2",
          "hgnc_id": 18618,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.356T>C",
          "hgvs_p": "p.Leu119Pro"
        }
      ],
      "clinvar_disease": "Autosomal dominant Parkinson disease 8,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:3 B:1 O:1",
      "phenotype_combined": "Autosomal dominant Parkinson disease 8|not provided|not specified",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}