← 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: 2-26475361-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 26475361,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant,splice_region_variant",
      "transcript": "NM_194248.3",
      "consequences": [
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3124A>G",
          "hgvs_p": "p.Met1042Val",
          "transcript": "NM_194248.3",
          "protein_id": "NP_919224.1",
          "transcript_support_level": null,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": 3309,
          "cdna_end": null,
          "cdna_length": 7214,
          "mane_select": "ENST00000272371.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3124A>G",
          "hgvs_p": "p.Met1042Val",
          "transcript": "ENST00000272371.7",
          "protein_id": "ENSP00000272371.2",
          "transcript_support_level": 1,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": 3309,
          "cdna_end": null,
          "cdna_length": 7214,
          "mane_select": "NM_194248.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.883A>G",
          "hgvs_p": "p.Met295Val",
          "transcript": "NM_194323.3",
          "protein_id": "NP_919304.1",
          "transcript_support_level": null,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": 883,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": 1191,
          "cdna_end": null,
          "cdna_length": 4838,
          "mane_select": null,
          "mane_plus": "ENST00000339598.8",
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.883A>G",
          "hgvs_p": "p.Met295Val",
          "transcript": "ENST00000339598.8",
          "protein_id": "ENSP00000344521.3",
          "transcript_support_level": 1,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": 883,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": 1191,
          "cdna_end": null,
          "cdna_length": 4838,
          "mane_select": null,
          "mane_plus": "NM_194323.3",
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.883A>G",
          "hgvs_p": "p.Met295Val",
          "transcript": "ENST00000402415.8",
          "protein_id": "ENSP00000383906.4",
          "transcript_support_level": 1,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 1250,
          "cds_start": 883,
          "cds_end": null,
          "cds_length": 3753,
          "cdna_start": 1203,
          "cdna_end": null,
          "cdna_length": 5108,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.883A>G",
          "hgvs_p": "p.Met295Val",
          "transcript": "ENST00000338581.10",
          "protein_id": "ENSP00000345137.6",
          "transcript_support_level": 1,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": 883,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": 1109,
          "cdna_end": null,
          "cdna_length": 4954,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3124A>G",
          "hgvs_p": "p.Met1042Val",
          "transcript": "NM_001287489.2",
          "protein_id": "NP_001274418.1",
          "transcript_support_level": null,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": 3309,
          "cdna_end": null,
          "cdna_length": 7016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3124A>G",
          "hgvs_p": "p.Met1042Val",
          "transcript": "ENST00000403946.7",
          "protein_id": "ENSP00000385255.3",
          "transcript_support_level": 5,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": 3231,
          "cdna_end": null,
          "cdna_length": 6937,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.1054A>G",
          "hgvs_p": "p.Met352Val",
          "transcript": "NM_194322.3",
          "protein_id": "NP_919303.1",
          "transcript_support_level": null,
          "aa_start": 352,
          "aa_end": null,
          "aa_length": 1307,
          "cds_start": 1054,
          "cds_end": null,
          "cds_length": 3924,
          "cdna_start": 1285,
          "cdna_end": null,
          "cdna_length": 5190,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.883A>G",
          "hgvs_p": "p.Met295Val",
          "transcript": "NM_004802.4",
          "protein_id": "NP_004793.2",
          "transcript_support_level": null,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": 883,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": 1191,
          "cdna_end": null,
          "cdna_length": 5036,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "OTOF",
      "gene_hgnc_id": 8515,
      "dbsnp": "rs727505142",
      "frequency_reference_population": 0.000008680136,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 14,
      "gnomad_exomes_af": 0.00000616162,
      "gnomad_genomes_af": 0.0000328463,
      "gnomad_exomes_ac": 9,
      "gnomad_genomes_ac": 5,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.07012277841567993,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.09200000017881393,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": 0.124,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0641,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.39,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 6.063,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.33,
      "spliceai_max_prediction": "Uncertain_significance",
      "dbscsnv_ada_score": 0.000317639947727194,
      "dbscsnv_ada_prediction": "Benign",
      "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": "NM_194248.3",
          "gene_symbol": "OTOF",
          "hgnc_id": 8515,
          "effects": [
            "missense_variant",
            "splice_region_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.3124A>G",
          "hgvs_p": "p.Met1042Val"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}