← 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: 1-97082391-T-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 97082391,
      "ref": "T",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "NM_000110.4",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2846A>T",
          "hgvs_p": "p.Asp949Val",
          "transcript": "NM_000110.4",
          "protein_id": "NP_000101.2",
          "transcript_support_level": null,
          "aa_start": 949,
          "aa_end": null,
          "aa_length": 1025,
          "cds_start": 2846,
          "cds_end": null,
          "cds_length": 3078,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000370192.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000110.4"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2846A>T",
          "hgvs_p": "p.Asp949Val",
          "transcript": "ENST00000370192.8",
          "protein_id": "ENSP00000359211.3",
          "transcript_support_level": 1,
          "aa_start": 949,
          "aa_end": null,
          "aa_length": 1025,
          "cds_start": 2846,
          "cds_end": null,
          "cds_length": 3078,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000110.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000370192.8"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.3014A>T",
          "hgvs_p": "p.Asp1005Val",
          "transcript": "ENST00000876340.1",
          "protein_id": "ENSP00000546399.1",
          "transcript_support_level": null,
          "aa_start": 1005,
          "aa_end": null,
          "aa_length": 1081,
          "cds_start": 3014,
          "cds_end": null,
          "cds_length": 3246,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876340.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2951A>T",
          "hgvs_p": "p.Asp984Val",
          "transcript": "ENST00000969915.1",
          "protein_id": "ENSP00000639974.1",
          "transcript_support_level": null,
          "aa_start": 984,
          "aa_end": null,
          "aa_length": 1060,
          "cds_start": 2951,
          "cds_end": null,
          "cds_length": 3183,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000969915.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2945A>T",
          "hgvs_p": "p.Asp982Val",
          "transcript": "ENST00000876335.1",
          "protein_id": "ENSP00000546394.1",
          "transcript_support_level": null,
          "aa_start": 982,
          "aa_end": null,
          "aa_length": 1058,
          "cds_start": 2945,
          "cds_end": null,
          "cds_length": 3177,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876335.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2936A>T",
          "hgvs_p": "p.Asp979Val",
          "transcript": "ENST00000969914.1",
          "protein_id": "ENSP00000639973.1",
          "transcript_support_level": null,
          "aa_start": 979,
          "aa_end": null,
          "aa_length": 1055,
          "cds_start": 2936,
          "cds_end": null,
          "cds_length": 3168,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000969914.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2777A>T",
          "hgvs_p": "p.Asp926Val",
          "transcript": "ENST00000876334.1",
          "protein_id": "ENSP00000546393.1",
          "transcript_support_level": null,
          "aa_start": 926,
          "aa_end": null,
          "aa_length": 1002,
          "cds_start": 2777,
          "cds_end": null,
          "cds_length": 3009,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876334.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2750A>T",
          "hgvs_p": "p.Asp917Val",
          "transcript": "ENST00000876341.1",
          "protein_id": "ENSP00000546400.1",
          "transcript_support_level": null,
          "aa_start": 917,
          "aa_end": null,
          "aa_length": 993,
          "cds_start": 2750,
          "cds_end": null,
          "cds_length": 2982,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876341.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2735A>T",
          "hgvs_p": "p.Asp912Val",
          "transcript": "ENST00000876339.1",
          "protein_id": "ENSP00000546398.1",
          "transcript_support_level": null,
          "aa_start": 912,
          "aa_end": null,
          "aa_length": 988,
          "cds_start": 2735,
          "cds_end": null,
          "cds_length": 2967,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876339.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2726A>T",
          "hgvs_p": "p.Asp909Val",
          "transcript": "ENST00000876337.1",
          "protein_id": "ENSP00000546396.1",
          "transcript_support_level": null,
          "aa_start": 909,
          "aa_end": null,
          "aa_length": 985,
          "cds_start": 2726,
          "cds_end": null,
          "cds_length": 2958,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876337.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2630A>T",
          "hgvs_p": "p.Asp877Val",
          "transcript": "ENST00000876338.1",
          "protein_id": "ENSP00000546397.1",
          "transcript_support_level": null,
          "aa_start": 877,
          "aa_end": null,
          "aa_length": 953,
          "cds_start": 2630,
          "cds_end": null,
          "cds_length": 2862,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876338.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2735A>T",
          "hgvs_p": "p.Asp912Val",
          "transcript": "XM_017000507.2",
          "protein_id": "XP_016855996.1",
          "transcript_support_level": null,
          "aa_start": 912,
          "aa_end": null,
          "aa_length": 988,
          "cds_start": 2735,
          "cds_end": null,
          "cds_length": 2967,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017000507.2"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2630A>T",
          "hgvs_p": "p.Asp877Val",
          "transcript": "XM_005270562.3",
          "protein_id": "XP_005270619.2",
          "transcript_support_level": null,
          "aa_start": 877,
          "aa_end": null,
          "aa_length": 953,
          "cds_start": 2630,
          "cds_end": null,
          "cds_length": 2862,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005270562.3"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2618A>T",
          "hgvs_p": "p.Asp873Val",
          "transcript": "XM_047448076.1",
          "protein_id": "XP_047304032.1",
          "transcript_support_level": null,
          "aa_start": 873,
          "aa_end": null,
          "aa_length": 949,
          "cds_start": 2618,
          "cds_end": null,
          "cds_length": 2850,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047448076.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2519A>T",
          "hgvs_p": "p.Asp840Val",
          "transcript": "XM_047448077.1",
          "protein_id": "XP_047304033.1",
          "transcript_support_level": null,
          "aa_start": 840,
          "aa_end": null,
          "aa_length": 916,
          "cds_start": 2519,
          "cds_end": null,
          "cds_length": 2751,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047448077.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2767-3245A>T",
          "hgvs_p": null,
          "transcript": "ENST00000876336.1",
          "protein_id": "ENSP00000546395.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 978,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 2937,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876336.1"
        }
      ],
      "gene_symbol": "DPYD",
      "gene_hgnc_id": 3012,
      "dbsnp": "rs67376798",
      "frequency_reference_population": 0.0050438135,
      "hom_count_reference_population": 32,
      "allele_count_reference_population": 8139,
      "gnomad_exomes_af": 0.00522778,
      "gnomad_genomes_af": 0.00327781,
      "gnomad_exomes_ac": 7640,
      "gnomad_genomes_ac": 499,
      "gnomad_exomes_homalt": 29,
      "gnomad_genomes_homalt": 3,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.13372507691383362,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.962,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.2925,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": 0.46,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.819,
      "phylop100way_prediction": "Pathogenic",
      "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": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP3,BP4_Moderate,BS1_Supporting,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 7,
          "pathogenic_score": 1,
          "criteria": [
            "PP3",
            "BP4_Moderate",
            "BS1_Supporting",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_000110.4",
          "gene_symbol": "DPYD",
          "hgnc_id": 3012,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.2846A>T",
          "hgvs_p": "p.Asp949Val"
        }
      ],
      "clinvar_disease": "DPYD-related disorder,Dihydropyrimidine dehydrogenase deficiency,Fluorouracil response,Inborn genetic diseases,capecitabine response - Toxicity,fluorouracil response - Other,fluorouracil response - Toxicity,not provided,tegafur response - Toxicity",
      "clinvar_classification": "drug response",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "P:6 LP:1 US:1 LB:1 B:1 O:5",
      "phenotype_combined": "Dihydropyrimidine dehydrogenase deficiency|fluorouracil response - Toxicity|fluorouracil response - Other|capecitabine response - Toxicity|DPYD-related disorder|not provided|Fluorouracil response|Inborn genetic diseases|tegafur response - Toxicity",
      "pathogenicity_classification_combined": "drug response",
      "custom_annotations": null
    }
  ],
  "message": null
}