← 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: 22-20881100-C-CA (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "22",
      "pos": 20881100,
      "ref": "C",
      "alt": "CA",
      "effect": "frameshift_variant",
      "transcript": "NM_004782.4",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.487dupA",
          "hgvs_p": "p.Ser163fs",
          "transcript": "NM_004782.4",
          "protein_id": "NP_004773.1",
          "transcript_support_level": null,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 258,
          "cds_start": 488,
          "cds_end": null,
          "cds_length": 777,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000215730.12",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_004782.4"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.487dupA",
          "hgvs_p": "p.Ser163fs",
          "transcript": "ENST00000215730.12",
          "protein_id": "ENSP00000215730.6",
          "transcript_support_level": 1,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 258,
          "cds_start": 488,
          "cds_end": null,
          "cds_length": 777,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_004782.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000215730.12"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.487dupA",
          "hgvs_p": "p.Ser163fs",
          "transcript": "ENST00000880968.1",
          "protein_id": "ENSP00000551027.1",
          "transcript_support_level": null,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 267,
          "cds_start": 488,
          "cds_end": null,
          "cds_length": 804,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000880968.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.487dupA",
          "hgvs_p": "p.Ser163fs",
          "transcript": "ENST00000880966.1",
          "protein_id": "ENSP00000551025.1",
          "transcript_support_level": null,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 258,
          "cds_start": 488,
          "cds_end": null,
          "cds_length": 777,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000880966.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.484dupA",
          "hgvs_p": "p.Ser162fs",
          "transcript": "ENST00000938374.1",
          "protein_id": "ENSP00000608433.1",
          "transcript_support_level": null,
          "aa_start": 162,
          "aa_end": null,
          "aa_length": 257,
          "cds_start": 485,
          "cds_end": null,
          "cds_length": 774,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000938374.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.424dupA",
          "hgvs_p": "p.Ser142fs",
          "transcript": "ENST00000880969.1",
          "protein_id": "ENSP00000551028.1",
          "transcript_support_level": null,
          "aa_start": 142,
          "aa_end": null,
          "aa_length": 237,
          "cds_start": 425,
          "cds_end": null,
          "cds_length": 714,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000880969.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.487dupA",
          "hgvs_p": "p.Ser163fs",
          "transcript": "ENST00000880967.1",
          "protein_id": "ENSP00000551026.1",
          "transcript_support_level": null,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 225,
          "cds_start": 488,
          "cds_end": null,
          "cds_length": 678,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000880967.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "K?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNAP29",
          "gene_hgnc_id": 11133,
          "hgvs_c": "c.208dupA",
          "hgvs_p": "p.Ser70fs",
          "transcript": "ENST00000439214.1",
          "protein_id": "ENSP00000411095.1",
          "transcript_support_level": 3,
          "aa_start": 70,
          "aa_end": null,
          "aa_length": 159,
          "cds_start": 209,
          "cds_end": null,
          "cds_length": 481,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000439214.1"
        }
      ],
      "gene_symbol": "SNAP29",
      "gene_hgnc_id": 11133,
      "dbsnp": "rs387907363",
      "frequency_reference_population": 0.000016120972,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 26,
      "gnomad_exomes_af": 0.0000164311,
      "gnomad_genomes_af": 0.0000131441,
      "gnomad_exomes_ac": 24,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.029999999329447746,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 6.466,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.03,
      "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": 16,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 16,
          "benign_score": 0,
          "pathogenic_score": 16,
          "criteria": [
            "PVS1",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_004782.4",
          "gene_symbol": "SNAP29",
          "hgnc_id": 11133,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.487dupA",
          "hgvs_p": "p.Ser163fs"
        }
      ],
      "clinvar_disease": "CEDNIK syndrome,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:5",
      "phenotype_combined": "CEDNIK syndrome|not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}