← 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: 7-150947462-GC-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 150947462,
      "ref": "GC",
      "alt": "G",
      "effect": "frameshift_variant",
      "transcript": "NM_000238.4",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3017delG",
          "hgvs_p": "p.Gly1006fs",
          "transcript": "NM_000238.4",
          "protein_id": "NP_000229.1",
          "transcript_support_level": null,
          "aa_start": 1006,
          "aa_end": null,
          "aa_length": 1159,
          "cds_start": 3017,
          "cds_end": null,
          "cds_length": 3480,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000262186.10",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000238.4"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3017delG",
          "hgvs_p": "p.Gly1006fs",
          "transcript": "ENST00000262186.10",
          "protein_id": "ENSP00000262186.5",
          "transcript_support_level": 1,
          "aa_start": 1006,
          "aa_end": null,
          "aa_length": 1159,
          "cds_start": 3017,
          "cds_end": null,
          "cds_length": 3480,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000238.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000262186.10"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.1997delG",
          "hgvs_p": "p.Gly666fs",
          "transcript": "ENST00000330883.9",
          "protein_id": "ENSP00000328531.4",
          "transcript_support_level": 1,
          "aa_start": 666,
          "aa_end": null,
          "aa_length": 819,
          "cds_start": 1997,
          "cds_end": null,
          "cds_length": 2460,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000330883.9"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2951delG",
          "hgvs_p": "p.Gly984fs",
          "transcript": "ENST00000713710.1",
          "protein_id": "ENSP00000519013.1",
          "transcript_support_level": null,
          "aa_start": 984,
          "aa_end": null,
          "aa_length": 1137,
          "cds_start": 2951,
          "cds_end": null,
          "cds_length": 3414,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000713710.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2729delG",
          "hgvs_p": "p.Gly910fs",
          "transcript": "NM_001406753.1",
          "protein_id": "NP_001393682.1",
          "transcript_support_level": null,
          "aa_start": 910,
          "aa_end": null,
          "aa_length": 1063,
          "cds_start": 2729,
          "cds_end": null,
          "cds_length": 3192,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001406753.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2717delG",
          "hgvs_p": "p.Gly906fs",
          "transcript": "ENST00000713701.1",
          "protein_id": "ENSP00000519004.1",
          "transcript_support_level": null,
          "aa_start": 906,
          "aa_end": null,
          "aa_length": 1059,
          "cds_start": 2717,
          "cds_end": null,
          "cds_length": 3180,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000713701.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2573delG",
          "hgvs_p": "p.Gly858fs",
          "transcript": "ENST00000945647.1",
          "protein_id": "ENSP00000615706.1",
          "transcript_support_level": null,
          "aa_start": 858,
          "aa_end": null,
          "aa_length": 1011,
          "cds_start": 2573,
          "cds_end": null,
          "cds_length": 3036,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000945647.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2564delG",
          "hgvs_p": "p.Gly855fs",
          "transcript": "ENST00000945646.1",
          "protein_id": "ENSP00000615705.1",
          "transcript_support_level": null,
          "aa_start": 855,
          "aa_end": null,
          "aa_length": 1008,
          "cds_start": 2564,
          "cds_end": null,
          "cds_length": 3027,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000945646.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.1997delG",
          "hgvs_p": "p.Gly666fs",
          "transcript": "NM_172057.3",
          "protein_id": "NP_742054.1",
          "transcript_support_level": null,
          "aa_start": 666,
          "aa_end": null,
          "aa_length": 819,
          "cds_start": 1997,
          "cds_end": null,
          "cds_length": 2460,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_172057.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3095delG",
          "hgvs_p": "p.Gly1032fs",
          "transcript": "XM_047420348.1",
          "protein_id": "XP_047276304.1",
          "transcript_support_level": null,
          "aa_start": 1032,
          "aa_end": null,
          "aa_length": 1185,
          "cds_start": 3095,
          "cds_end": null,
          "cds_length": 3558,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047420348.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2867delG",
          "hgvs_p": "p.Gly956fs",
          "transcript": "XM_017012195.2",
          "protein_id": "XP_016867684.1",
          "transcript_support_level": null,
          "aa_start": 956,
          "aa_end": null,
          "aa_length": 1109,
          "cds_start": 2867,
          "cds_end": null,
          "cds_length": 3330,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017012195.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2840delG",
          "hgvs_p": "p.Gly947fs",
          "transcript": "XM_017012196.2",
          "protein_id": "XP_016867685.1",
          "transcript_support_level": null,
          "aa_start": 947,
          "aa_end": null,
          "aa_length": 1100,
          "cds_start": 2840,
          "cds_end": null,
          "cds_length": 3303,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017012196.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2717delG",
          "hgvs_p": "p.Gly906fs",
          "transcript": "XM_011516185.3",
          "protein_id": "XP_011514487.1",
          "transcript_support_level": null,
          "aa_start": 906,
          "aa_end": null,
          "aa_length": 1059,
          "cds_start": 2717,
          "cds_end": null,
          "cds_length": 3180,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011516185.3"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.*97delG",
          "hgvs_p": null,
          "transcript": "XM_047420349.1",
          "protein_id": "XP_047276305.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 936,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 2811,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047420349.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.3850delG",
          "hgvs_p": null,
          "transcript": "ENST00000684241.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000684241.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.3238delG",
          "hgvs_p": null,
          "transcript": "NR_176254.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_176254.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.2111delG",
          "hgvs_p": null,
          "transcript": "NR_176255.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_176255.1"
        }
      ],
      "gene_symbol": "KCNH2",
      "gene_hgnc_id": 6251,
      "dbsnp": "rs794728504",
      "frequency_reference_population": 7.049422e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 7.04942e-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": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 2.802,
      "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": 18,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 18,
          "benign_score": 0,
          "pathogenic_score": 18,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_000238.4",
          "gene_symbol": "KCNH2",
          "hgnc_id": 6251,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3017delG",
          "hgvs_p": "p.Gly1006fs"
        }
      ],
      "clinvar_disease": "Long QT syndrome,Long QT syndrome 2,Short QT syndrome type 1,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:4",
      "phenotype_combined": "not provided|Long QT syndrome 2|Long QT syndrome|Short QT syndrome type 1;Long QT syndrome 2",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}