← 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: 15-28246037-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "15",
      "pos": 28246037,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000261609.13",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3421A>G",
          "hgvs_p": "p.Ile1141Val",
          "transcript": "NM_004667.6",
          "protein_id": "NP_004658.3",
          "transcript_support_level": null,
          "aa_start": 1141,
          "aa_end": null,
          "aa_length": 4834,
          "cds_start": 3421,
          "cds_end": null,
          "cds_length": 14505,
          "cdna_start": 3557,
          "cdna_end": null,
          "cdna_length": 15364,
          "mane_select": "ENST00000261609.13",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3421A>G",
          "hgvs_p": "p.Ile1141Val",
          "transcript": "ENST00000261609.13",
          "protein_id": "ENSP00000261609.8",
          "transcript_support_level": 1,
          "aa_start": 1141,
          "aa_end": null,
          "aa_length": 4834,
          "cds_start": 3421,
          "cds_end": null,
          "cds_length": 14505,
          "cdna_start": 3557,
          "cdna_end": null,
          "cdna_length": 15364,
          "mane_select": "NM_004667.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3421A>G",
          "hgvs_p": "p.Ile1141Val",
          "transcript": "XM_006720726.4",
          "protein_id": "XP_006720789.1",
          "transcript_support_level": null,
          "aa_start": 1141,
          "aa_end": null,
          "aa_length": 4829,
          "cds_start": 3421,
          "cds_end": null,
          "cds_length": 14490,
          "cdna_start": 3557,
          "cdna_end": null,
          "cdna_length": 15349,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3394A>G",
          "hgvs_p": "p.Ile1132Val",
          "transcript": "XM_047433206.1",
          "protein_id": "XP_047289162.1",
          "transcript_support_level": null,
          "aa_start": 1132,
          "aa_end": null,
          "aa_length": 4825,
          "cds_start": 3394,
          "cds_end": null,
          "cds_length": 14478,
          "cdna_start": 3400,
          "cdna_end": null,
          "cdna_length": 15207,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3307A>G",
          "hgvs_p": "p.Ile1103Val",
          "transcript": "XM_005268276.6",
          "protein_id": "XP_005268333.1",
          "transcript_support_level": null,
          "aa_start": 1103,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 3307,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": 3669,
          "cdna_end": null,
          "cdna_length": 15476,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3307A>G",
          "hgvs_p": "p.Ile1103Val",
          "transcript": "XM_017022695.1",
          "protein_id": "XP_016878184.1",
          "transcript_support_level": null,
          "aa_start": 1103,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 3307,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": 3477,
          "cdna_end": null,
          "cdna_length": 15284,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3307A>G",
          "hgvs_p": "p.Ile1103Val",
          "transcript": "XM_017022696.2",
          "protein_id": "XP_016878185.1",
          "transcript_support_level": null,
          "aa_start": 1103,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 3307,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": 3374,
          "cdna_end": null,
          "cdna_length": 15181,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 91,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3163A>G",
          "hgvs_p": "p.Ile1055Val",
          "transcript": "XM_006720727.4",
          "protein_id": "XP_006720790.1",
          "transcript_support_level": null,
          "aa_start": 1055,
          "aa_end": null,
          "aa_length": 4748,
          "cds_start": 3163,
          "cds_end": null,
          "cds_length": 14247,
          "cdna_start": 3299,
          "cdna_end": null,
          "cdna_length": 15106,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 89,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.2938A>G",
          "hgvs_p": "p.Ile980Val",
          "transcript": "XM_047433207.1",
          "protein_id": "XP_047289163.1",
          "transcript_support_level": null,
          "aa_start": 980,
          "aa_end": null,
          "aa_length": 4673,
          "cds_start": 2938,
          "cds_end": null,
          "cds_length": 14022,
          "cdna_start": 3036,
          "cdna_end": null,
          "cdna_length": 14843,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 61,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3421A>G",
          "hgvs_p": "p.Ile1141Val",
          "transcript": "XM_047433208.1",
          "protein_id": "XP_047289164.1",
          "transcript_support_level": null,
          "aa_start": 1141,
          "aa_end": null,
          "aa_length": 3084,
          "cds_start": 3421,
          "cds_end": null,
          "cds_length": 9255,
          "cdna_start": 3557,
          "cdna_end": null,
          "cdna_length": 9531,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.3421A>G",
          "hgvs_p": "p.Ile1141Val",
          "transcript": "XM_047433209.1",
          "protein_id": "XP_047289165.1",
          "transcript_support_level": null,
          "aa_start": 1141,
          "aa_end": null,
          "aa_length": 2713,
          "cds_start": 3421,
          "cds_end": null,
          "cds_length": 8142,
          "cdna_start": 3557,
          "cdna_end": null,
          "cdna_length": 8287,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "HERC2",
      "gene_hgnc_id": 4868,
      "dbsnp": "rs753743625",
      "frequency_reference_population": 0.000014280304,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 23,
      "gnomad_exomes_af": 0.0000137133,
      "gnomad_genomes_af": 0.0000197143,
      "gnomad_exomes_ac": 20,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.07390397787094116,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.056,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0562,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.59,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.656,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000261609.13",
          "gene_symbol": "HERC2",
          "hgnc_id": 4868,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.3421A>G",
          "hgvs_p": "p.Ile1141Val"
        }
      ],
      "clinvar_disease": "Developmental delay with autism spectrum disorder and gait instability",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Developmental delay with autism spectrum disorder and gait instability",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}