← 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: 8-76983431-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "8",
      "pos": 76983431,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000357039.9",
      "consequences": [
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "NM_000318.3",
          "protein_id": "NP_000309.2",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 996,
          "cdna_end": null,
          "cdna_length": 4169,
          "mane_select": "ENST00000357039.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "ENST00000357039.9",
          "protein_id": "ENSP00000349543.4",
          "transcript_support_level": 1,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 996,
          "cdna_end": null,
          "cdna_length": 4169,
          "mane_select": "NM_000318.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "ENST00000522527.5",
          "protein_id": "ENSP00000428638.1",
          "transcript_support_level": 1,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 1153,
          "cdna_end": null,
          "cdna_length": 1627,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "NM_001079867.2",
          "protein_id": "NP_001073336.2",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 964,
          "cdna_end": null,
          "cdna_length": 4137,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "NM_001172086.2",
          "protein_id": "NP_001165557.2",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 1212,
          "cdna_end": null,
          "cdna_length": 4385,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "NM_001172087.2",
          "protein_id": "NP_001165558.2",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 1070,
          "cdna_end": null,
          "cdna_length": 4243,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg",
          "transcript": "ENST00000520103.5",
          "protein_id": "ENSP00000428590.1",
          "transcript_support_level": 2,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 748,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 973,
          "cdna_end": null,
          "cdna_length": 1470,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PEX2",
          "gene_hgnc_id": 9717,
          "hgvs_c": "c.*209T>C",
          "hgvs_p": null,
          "transcript": "ENST00000518986.5",
          "protein_id": "ENSP00000429304.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 178,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 539,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 700,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PEX2",
      "gene_hgnc_id": 9717,
      "dbsnp": "rs142645936",
      "frequency_reference_population": 0.0094052525,
      "hom_count_reference_population": 107,
      "allele_count_reference_population": 15181,
      "gnomad_exomes_af": 0.00979578,
      "gnomad_genomes_af": 0.0056554,
      "gnomad_exomes_ac": 14320,
      "gnomad_genomes_ac": 861,
      "gnomad_exomes_homalt": 104,
      "gnomad_genomes_homalt": 3,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.01502874493598938,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.55,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.7962,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.1,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 8.735,
      "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": -11,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM1,BP4_Strong,BP6,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -11,
          "benign_score": 13,
          "pathogenic_score": 2,
          "criteria": [
            "PM1",
            "BP4_Strong",
            "BP6",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000357039.9",
          "gene_symbol": "PEX2",
          "hgnc_id": 9717,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.748T>C",
          "hgvs_p": "p.Trp250Arg"
        }
      ],
      "clinvar_disease": "Peroxisome biogenesis disorder 1A (Zellweger),Peroxisome biogenesis disorder 5A (Zellweger),Peroxisome biogenesis disorder 5B,Zellweger spectrum disorders,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:7 B:3",
      "phenotype_combined": "Peroxisome biogenesis disorder 1A (Zellweger)|not specified|Peroxisome biogenesis disorder 5A (Zellweger)|not provided|Zellweger spectrum disorders|Peroxisome biogenesis disorder 5B",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}