← 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-28214678-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "15",
      "pos": 28214678,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000261609.13",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 40,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6335C>T",
          "hgvs_p": "p.Ser2112Phe",
          "transcript": "NM_004667.6",
          "protein_id": "NP_004658.3",
          "transcript_support_level": null,
          "aa_start": 2112,
          "aa_end": null,
          "aa_length": 4834,
          "cds_start": 6335,
          "cds_end": null,
          "cds_length": 14505,
          "cdna_start": 6471,
          "cdna_end": null,
          "cdna_length": 15364,
          "mane_select": "ENST00000261609.13",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 40,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6335C>T",
          "hgvs_p": "p.Ser2112Phe",
          "transcript": "ENST00000261609.13",
          "protein_id": "ENSP00000261609.8",
          "transcript_support_level": 1,
          "aa_start": 2112,
          "aa_end": null,
          "aa_length": 4834,
          "cds_start": 6335,
          "cds_end": null,
          "cds_length": 14505,
          "cdna_start": 6471,
          "cdna_end": null,
          "cdna_length": 15364,
          "mane_select": "NM_004667.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 40,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6320C>T",
          "hgvs_p": "p.Ser2107Phe",
          "transcript": "XM_006720726.4",
          "protein_id": "XP_006720789.1",
          "transcript_support_level": null,
          "aa_start": 2107,
          "aa_end": null,
          "aa_length": 4829,
          "cds_start": 6320,
          "cds_end": null,
          "cds_length": 14490,
          "cdna_start": 6456,
          "cdna_end": null,
          "cdna_length": 15349,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6308C>T",
          "hgvs_p": "p.Ser2103Phe",
          "transcript": "XM_047433206.1",
          "protein_id": "XP_047289162.1",
          "transcript_support_level": null,
          "aa_start": 2103,
          "aa_end": null,
          "aa_length": 4825,
          "cds_start": 6308,
          "cds_end": null,
          "cds_length": 14478,
          "cdna_start": 6314,
          "cdna_end": null,
          "cdna_length": 15207,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6221C>T",
          "hgvs_p": "p.Ser2074Phe",
          "transcript": "XM_005268276.6",
          "protein_id": "XP_005268333.1",
          "transcript_support_level": null,
          "aa_start": 2074,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 6221,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": 6583,
          "cdna_end": null,
          "cdna_length": 15476,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6221C>T",
          "hgvs_p": "p.Ser2074Phe",
          "transcript": "XM_017022695.1",
          "protein_id": "XP_016878184.1",
          "transcript_support_level": null,
          "aa_start": 2074,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 6221,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": 6391,
          "cdna_end": null,
          "cdna_length": 15284,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6221C>T",
          "hgvs_p": "p.Ser2074Phe",
          "transcript": "XM_017022696.2",
          "protein_id": "XP_016878185.1",
          "transcript_support_level": null,
          "aa_start": 2074,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 6221,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": 6288,
          "cdna_end": null,
          "cdna_length": 15181,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 91,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6077C>T",
          "hgvs_p": "p.Ser2026Phe",
          "transcript": "XM_006720727.4",
          "protein_id": "XP_006720790.1",
          "transcript_support_level": null,
          "aa_start": 2026,
          "aa_end": null,
          "aa_length": 4748,
          "cds_start": 6077,
          "cds_end": null,
          "cds_length": 14247,
          "cdna_start": 6213,
          "cdna_end": null,
          "cdna_length": 15106,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 36,
          "exon_rank_end": null,
          "exon_count": 89,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.5852C>T",
          "hgvs_p": "p.Ser1951Phe",
          "transcript": "XM_047433207.1",
          "protein_id": "XP_047289163.1",
          "transcript_support_level": null,
          "aa_start": 1951,
          "aa_end": null,
          "aa_length": 4673,
          "cds_start": 5852,
          "cds_end": null,
          "cds_length": 14022,
          "cdna_start": 5950,
          "cdna_end": null,
          "cdna_length": 14843,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 40,
          "exon_rank_end": null,
          "exon_count": 61,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6335C>T",
          "hgvs_p": "p.Ser2112Phe",
          "transcript": "XM_047433208.1",
          "protein_id": "XP_047289164.1",
          "transcript_support_level": null,
          "aa_start": 2112,
          "aa_end": null,
          "aa_length": 3084,
          "cds_start": 6335,
          "cds_end": null,
          "cds_length": 9255,
          "cdna_start": 6471,
          "cdna_end": null,
          "cdna_length": 9531,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 40,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.6335C>T",
          "hgvs_p": "p.Ser2112Phe",
          "transcript": "XM_047433209.1",
          "protein_id": "XP_047289165.1",
          "transcript_support_level": null,
          "aa_start": 2112,
          "aa_end": null,
          "aa_length": 2713,
          "cds_start": 6335,
          "cds_end": null,
          "cds_length": 8142,
          "cdna_start": 6471,
          "cdna_end": null,
          "cdna_length": 8287,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "HERC2",
      "gene_hgnc_id": 4868,
      "dbsnp": "rs542163867",
      "frequency_reference_population": 0.0000049626683,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 8,
      "gnomad_exomes_af": 0.00000479549,
      "gnomad_genomes_af": 0.0000065647,
      "gnomad_exomes_ac": 7,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.7101367712020874,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.355,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.2626,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.02,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 9.521,
      "phylop100way_prediction": "Pathogenic",
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000261609.13",
          "gene_symbol": "HERC2",
          "hgnc_id": 4868,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.6335C>T",
          "hgvs_p": "p.Ser2112Phe"
        }
      ],
      "clinvar_disease": "Developmental delay with autism spectrum disorder and gait instability,Inborn genetic diseases",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "Developmental delay with autism spectrum disorder and gait instability|Inborn genetic diseases",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}