← 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: 12-80352336-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 80352336,
      "ref": "T",
      "alt": "C",
      "effect": "synonymous_variant",
      "transcript": "ENST00000547103.7",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5307T>C",
          "hgvs_p": "p.Tyr1769Tyr",
          "transcript": "NM_001378609.3",
          "protein_id": "NP_001365538.2",
          "transcript_support_level": null,
          "aa_start": 1769,
          "aa_end": null,
          "aa_length": 2353,
          "cds_start": 5307,
          "cds_end": null,
          "cds_length": 7062,
          "cdna_start": 5395,
          "cdna_end": null,
          "cdna_length": 9982,
          "mane_select": "ENST00000547103.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5307T>C",
          "hgvs_p": "p.Tyr1769Tyr",
          "transcript": "ENST00000547103.7",
          "protein_id": "ENSP00000447211.2",
          "transcript_support_level": 5,
          "aa_start": 1769,
          "aa_end": null,
          "aa_length": 2353,
          "cds_start": 5307,
          "cds_end": null,
          "cds_length": 7062,
          "cdna_start": 5395,
          "cdna_end": null,
          "cdna_length": 9982,
          "mane_select": "NM_001378609.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 62,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5307T>C",
          "hgvs_p": "p.Tyr1769Tyr",
          "transcript": "NM_001378610.3",
          "protein_id": "NP_001365539.2",
          "transcript_support_level": null,
          "aa_start": 1769,
          "aa_end": null,
          "aa_length": 2353,
          "cds_start": 5307,
          "cds_end": null,
          "cds_length": 7062,
          "cdna_start": 5967,
          "cdna_end": null,
          "cdna_length": 10554,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5307T>C",
          "hgvs_p": "p.Tyr1769Tyr",
          "transcript": "NM_173591.7",
          "protein_id": "NP_775862.4",
          "transcript_support_level": null,
          "aa_start": 1769,
          "aa_end": null,
          "aa_length": 2353,
          "cds_start": 5307,
          "cds_end": null,
          "cds_length": 7062,
          "cdna_start": 5385,
          "cdna_end": null,
          "cdna_length": 9972,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 63,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5172T>C",
          "hgvs_p": "p.Tyr1724Tyr",
          "transcript": "NM_001368062.3",
          "protein_id": "NP_001354991.2",
          "transcript_support_level": null,
          "aa_start": 1724,
          "aa_end": null,
          "aa_length": 2308,
          "cds_start": 5172,
          "cds_end": null,
          "cds_length": 6927,
          "cdna_start": 6272,
          "cdna_end": null,
          "cdna_length": 10859,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 63,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5172T>C",
          "hgvs_p": "p.Tyr1724Tyr",
          "transcript": "ENST00000646859.1",
          "protein_id": "ENSP00000496036.1",
          "transcript_support_level": null,
          "aa_start": 1724,
          "aa_end": null,
          "aa_length": 2308,
          "cds_start": 5172,
          "cds_end": null,
          "cds_length": 6927,
          "cdna_start": 6272,
          "cdna_end": null,
          "cdna_length": 9939,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.606T>C",
          "hgvs_p": "p.Tyr202Tyr",
          "transcript": "ENST00000298820.7",
          "protein_id": "ENSP00000298820.3",
          "transcript_support_level": 5,
          "aa_start": 202,
          "aa_end": null,
          "aa_length": 751,
          "cds_start": 606,
          "cds_end": null,
          "cds_length": 2256,
          "cdna_start": 608,
          "cdna_end": null,
          "cdna_length": 3289,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 62,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5331T>C",
          "hgvs_p": "p.Tyr1777Tyr",
          "transcript": "XM_005268802.4",
          "protein_id": "XP_005268859.1",
          "transcript_support_level": null,
          "aa_start": 1777,
          "aa_end": null,
          "aa_length": 2361,
          "cds_start": 5331,
          "cds_end": null,
          "cds_length": 7086,
          "cdna_start": 6087,
          "cdna_end": null,
          "cdna_length": 10674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5226T>C",
          "hgvs_p": "p.Tyr1742Tyr",
          "transcript": "XM_011538193.2",
          "protein_id": "XP_011536495.2",
          "transcript_support_level": null,
          "aa_start": 1742,
          "aa_end": null,
          "aa_length": 2326,
          "cds_start": 5226,
          "cds_end": null,
          "cds_length": 6981,
          "cdna_start": 5282,
          "cdna_end": null,
          "cdna_length": 9869,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOGL",
          "gene_hgnc_id": 26901,
          "hgvs_c": "c.5178T>C",
          "hgvs_p": "p.Tyr1726Tyr",
          "transcript": "XM_011538192.3",
          "protein_id": "XP_011536494.1",
          "transcript_support_level": null,
          "aa_start": 1726,
          "aa_end": null,
          "aa_length": 2310,
          "cds_start": 5178,
          "cds_end": null,
          "cds_length": 6933,
          "cdna_start": 5293,
          "cdna_end": null,
          "cdna_length": 9880,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "OTOGL",
      "gene_hgnc_id": 26901,
      "dbsnp": "rs183555119",
      "frequency_reference_population": 0.0027505283,
      "hom_count_reference_population": 14,
      "allele_count_reference_population": 4434,
      "gnomad_exomes_af": 0.00280874,
      "gnomad_genomes_af": 0.00219267,
      "gnomad_exomes_ac": 4100,
      "gnomad_genomes_ac": 334,
      "gnomad_exomes_homalt": 12,
      "gnomad_genomes_homalt": 2,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.43799999356269836,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.438,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.55,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.215,
      "phylop100way_prediction": "Benign",
      "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": -17,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -17,
          "benign_score": 17,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000547103.7",
          "gene_symbol": "OTOGL",
          "hgnc_id": 26901,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.5307T>C",
          "hgvs_p": "p.Tyr1769Tyr"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:3",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}