← 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-49042122-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 49042122,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000301067.12",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.6076A>C",
          "hgvs_p": "p.Ile2026Leu",
          "transcript": "NM_003482.4",
          "protein_id": "NP_003473.3",
          "transcript_support_level": null,
          "aa_start": 2026,
          "aa_end": null,
          "aa_length": 5537,
          "cds_start": 6076,
          "cds_end": null,
          "cds_length": 16614,
          "cdna_start": 7295,
          "cdna_end": null,
          "cdna_length": 20635,
          "mane_select": "ENST00000301067.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.6076A>C",
          "hgvs_p": "p.Ile2026Leu",
          "transcript": "ENST00000301067.12",
          "protein_id": "ENSP00000301067.7",
          "transcript_support_level": 5,
          "aa_start": 2026,
          "aa_end": null,
          "aa_length": 5537,
          "cds_start": 6076,
          "cds_end": null,
          "cds_length": 16614,
          "cdna_start": 7295,
          "cdna_end": null,
          "cdna_length": 20635,
          "mane_select": "NM_003482.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.6076A>C",
          "hgvs_p": "p.Ile2026Leu",
          "transcript": "ENST00000683543.2",
          "protein_id": "ENSP00000506726.1",
          "transcript_support_level": null,
          "aa_start": 2026,
          "aa_end": null,
          "aa_length": 5553,
          "cds_start": 6076,
          "cds_end": null,
          "cds_length": 16662,
          "cdna_start": 7295,
          "cdna_end": null,
          "cdna_length": 20686,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.6085A>C",
          "hgvs_p": "p.Ile2029Leu",
          "transcript": "ENST00000685166.1",
          "protein_id": "ENSP00000509386.1",
          "transcript_support_level": null,
          "aa_start": 2029,
          "aa_end": null,
          "aa_length": 5540,
          "cds_start": 6085,
          "cds_end": null,
          "cds_length": 16623,
          "cdna_start": 6085,
          "cdna_end": null,
          "cdna_length": 16623,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.6073A>C",
          "hgvs_p": "p.Ile2025Leu",
          "transcript": "ENST00000692637.1",
          "protein_id": "ENSP00000509666.1",
          "transcript_support_level": null,
          "aa_start": 2025,
          "aa_end": null,
          "aa_length": 5536,
          "cds_start": 6073,
          "cds_end": null,
          "cds_length": 16611,
          "cdna_start": 6073,
          "cdna_end": null,
          "cdna_length": 16611,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.187A>C",
          "hgvs_p": "p.Ile63Leu",
          "transcript": "ENST00000689944.1",
          "protein_id": "ENSP00000508812.1",
          "transcript_support_level": null,
          "aa_start": 63,
          "aa_end": null,
          "aa_length": 823,
          "cds_start": 187,
          "cds_end": null,
          "cds_length": 2474,
          "cdna_start": 188,
          "cdna_end": null,
          "cdna_length": 2475,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.187A>C",
          "hgvs_p": "p.Ile63Leu",
          "transcript": "ENST00000689060.1",
          "protein_id": "ENSP00000509018.1",
          "transcript_support_level": null,
          "aa_start": 63,
          "aa_end": null,
          "aa_length": 793,
          "cds_start": 187,
          "cds_end": null,
          "cds_length": 2384,
          "cdna_start": 188,
          "cdna_end": null,
          "cdna_length": 2385,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.865A>C",
          "hgvs_p": "p.Ile289Leu",
          "transcript": "ENST00000650290.2",
          "protein_id": "ENSP00000497218.2",
          "transcript_support_level": null,
          "aa_start": 289,
          "aa_end": null,
          "aa_length": 340,
          "cds_start": 865,
          "cds_end": null,
          "cds_length": 1023,
          "cdna_start": 867,
          "cdna_end": null,
          "cdna_length": 1025,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "KMT2D",
      "gene_hgnc_id": 7133,
      "dbsnp": "rs190995850",
      "frequency_reference_population": 6.842407e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84241e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.2549290060997009,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.314,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1299,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.17,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 4.988,
      "phylop100way_prediction": "Uncertain_significance",
      "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": 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": "ENST00000301067.12",
          "gene_symbol": "KMT2D",
          "hgnc_id": 7133,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.6076A>C",
          "hgvs_p": "p.Ile2026Leu"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}