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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 150945397,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000262186.10",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3448C>A",
          "hgvs_p": "p.Leu1150Met",
          "transcript": "NM_000238.4",
          "protein_id": "NP_000229.1",
          "transcript_support_level": null,
          "aa_start": 1150,
          "aa_end": null,
          "aa_length": 1159,
          "cds_start": 3448,
          "cds_end": null,
          "cds_length": 3480,
          "cdna_start": 3856,
          "cdna_end": null,
          "cdna_length": 4292,
          "mane_select": "ENST00000262186.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3448C>A",
          "hgvs_p": "p.Leu1150Met",
          "transcript": "ENST00000262186.10",
          "protein_id": "ENSP00000262186.5",
          "transcript_support_level": 1,
          "aa_start": 1150,
          "aa_end": null,
          "aa_length": 1159,
          "cds_start": 3448,
          "cds_end": null,
          "cds_length": 3480,
          "cdna_start": 3856,
          "cdna_end": null,
          "cdna_length": 4292,
          "mane_select": "NM_000238.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2428C>A",
          "hgvs_p": "p.Leu810Met",
          "transcript": "ENST00000330883.9",
          "protein_id": "ENSP00000328531.4",
          "transcript_support_level": 1,
          "aa_start": 810,
          "aa_end": null,
          "aa_length": 819,
          "cds_start": 2428,
          "cds_end": null,
          "cds_length": 2460,
          "cdna_start": 2729,
          "cdna_end": null,
          "cdna_length": 3165,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3382C>A",
          "hgvs_p": "p.Leu1128Met",
          "transcript": "ENST00000713710.1",
          "protein_id": "ENSP00000519013.1",
          "transcript_support_level": null,
          "aa_start": 1128,
          "aa_end": null,
          "aa_length": 1137,
          "cds_start": 3382,
          "cds_end": null,
          "cds_length": 3414,
          "cdna_start": 3725,
          "cdna_end": null,
          "cdna_length": 4161,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_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.3160C>A",
          "hgvs_p": "p.Leu1054Met",
          "transcript": "NM_001406753.1",
          "protein_id": "NP_001393682.1",
          "transcript_support_level": null,
          "aa_start": 1054,
          "aa_end": null,
          "aa_length": 1063,
          "cds_start": 3160,
          "cds_end": null,
          "cds_length": 3192,
          "cdna_start": 3461,
          "cdna_end": null,
          "cdna_length": 3897,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3148C>A",
          "hgvs_p": "p.Leu1050Met",
          "transcript": "ENST00000713701.1",
          "protein_id": "ENSP00000519004.1",
          "transcript_support_level": null,
          "aa_start": 1050,
          "aa_end": null,
          "aa_length": 1059,
          "cds_start": 3148,
          "cds_end": null,
          "cds_length": 3180,
          "cdna_start": 3313,
          "cdna_end": null,
          "cdna_length": 3749,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.2428C>A",
          "hgvs_p": "p.Leu810Met",
          "transcript": "NM_172057.3",
          "protein_id": "NP_742054.1",
          "transcript_support_level": null,
          "aa_start": 810,
          "aa_end": null,
          "aa_length": 819,
          "cds_start": 2428,
          "cds_end": null,
          "cds_length": 2460,
          "cdna_start": 2729,
          "cdna_end": null,
          "cdna_length": 3165,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3526C>A",
          "hgvs_p": "p.Leu1176Met",
          "transcript": "XM_047420348.1",
          "protein_id": "XP_047276304.1",
          "transcript_support_level": null,
          "aa_start": 1176,
          "aa_end": null,
          "aa_length": 1185,
          "cds_start": 3526,
          "cds_end": null,
          "cds_length": 3558,
          "cdna_start": 3541,
          "cdna_end": null,
          "cdna_length": 3977,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3298C>A",
          "hgvs_p": "p.Leu1100Met",
          "transcript": "XM_017012195.2",
          "protein_id": "XP_016867684.1",
          "transcript_support_level": null,
          "aa_start": 1100,
          "aa_end": null,
          "aa_length": 1109,
          "cds_start": 3298,
          "cds_end": null,
          "cds_length": 3330,
          "cdna_start": 3930,
          "cdna_end": null,
          "cdna_length": 4366,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3271C>A",
          "hgvs_p": "p.Leu1091Met",
          "transcript": "XM_017012196.2",
          "protein_id": "XP_016867685.1",
          "transcript_support_level": null,
          "aa_start": 1091,
          "aa_end": null,
          "aa_length": 1100,
          "cds_start": 3271,
          "cds_end": null,
          "cds_length": 3303,
          "cdna_start": 3389,
          "cdna_end": null,
          "cdna_length": 3825,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.3148C>A",
          "hgvs_p": "p.Leu1050Met",
          "transcript": "XM_011516185.3",
          "protein_id": "XP_011514487.1",
          "transcript_support_level": null,
          "aa_start": 1050,
          "aa_end": null,
          "aa_length": 1059,
          "cds_start": 3148,
          "cds_end": null,
          "cds_length": 3180,
          "cdna_start": 3163,
          "cdna_end": null,
          "cdna_length": 3599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.4281C>A",
          "hgvs_p": null,
          "transcript": "ENST00000684241.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4717,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.3669C>A",
          "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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4105,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.2542C>A",
          "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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2978,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "KCNH2",
      "gene_hgnc_id": 6251,
      "dbsnp": "rs754883792",
      "frequency_reference_population": 0.000022052689,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 35,
      "gnomad_exomes_af": 0.0000236951,
      "gnomad_genomes_af": 0.0000065697,
      "gnomad_exomes_ac": 34,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.020882539451122284,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "CardioboostArm",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.553,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1273,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.03,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 2.235,
      "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": -5,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP2,BP4,BS1_Supporting,BS2",
      "acmg_by_gene": [
        {
          "score": -5,
          "benign_score": 6,
          "pathogenic_score": 1,
          "criteria": [
            "PP2",
            "BP4",
            "BS1_Supporting",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000262186.10",
          "gene_symbol": "KCNH2",
          "hgnc_id": 6251,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3448C>A",
          "hgvs_p": "p.Leu1150Met"
        }
      ],
      "clinvar_disease": "Cardiac arrhythmia,Cardiovascular phenotype,KCNH2-related disorder,Long QT syndrome,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:5 LB:1",
      "phenotype_combined": "Long QT syndrome|Cardiovascular phenotype|not provided|Cardiac arrhythmia|KCNH2-related disorder",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}