← 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-150958197-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 150958197,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000262186.10",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.778G>C",
          "hgvs_p": "p.Ala260Pro",
          "transcript": "NM_000238.4",
          "protein_id": "NP_000229.1",
          "transcript_support_level": null,
          "aa_start": 260,
          "aa_end": null,
          "aa_length": 1159,
          "cds_start": 778,
          "cds_end": null,
          "cds_length": 3480,
          "cdna_start": 1186,
          "cdna_end": null,
          "cdna_length": 4292,
          "mane_select": "ENST00000262186.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.778G>C",
          "hgvs_p": "p.Ala260Pro",
          "transcript": "ENST00000262186.10",
          "protein_id": "ENSP00000262186.5",
          "transcript_support_level": 1,
          "aa_start": 260,
          "aa_end": null,
          "aa_length": 1159,
          "cds_start": 778,
          "cds_end": null,
          "cds_length": 3480,
          "cdna_start": 1186,
          "cdna_end": null,
          "cdna_length": 4292,
          "mane_select": "NM_000238.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.778G>C",
          "hgvs_p": "p.Ala260Pro",
          "transcript": "ENST00000713710.1",
          "protein_id": "ENSP00000519013.1",
          "transcript_support_level": null,
          "aa_start": 260,
          "aa_end": null,
          "aa_length": 1137,
          "cds_start": 778,
          "cds_end": null,
          "cds_length": 3414,
          "cdna_start": 1121,
          "cdna_end": null,
          "cdna_length": 4161,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.490G>C",
          "hgvs_p": "p.Ala164Pro",
          "transcript": "NM_001406753.1",
          "protein_id": "NP_001393682.1",
          "transcript_support_level": null,
          "aa_start": 164,
          "aa_end": null,
          "aa_length": 1063,
          "cds_start": 490,
          "cds_end": null,
          "cds_length": 3192,
          "cdna_start": 791,
          "cdna_end": null,
          "cdna_length": 3897,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.478G>C",
          "hgvs_p": "p.Ala160Pro",
          "transcript": "ENST00000713701.1",
          "protein_id": "ENSP00000519004.1",
          "transcript_support_level": null,
          "aa_start": 160,
          "aa_end": null,
          "aa_length": 1059,
          "cds_start": 478,
          "cds_end": null,
          "cds_length": 3180,
          "cdna_start": 643,
          "cdna_end": null,
          "cdna_length": 3749,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.778G>C",
          "hgvs_p": "p.Ala260Pro",
          "transcript": "NM_172056.3",
          "protein_id": "NP_742053.1",
          "transcript_support_level": null,
          "aa_start": 260,
          "aa_end": null,
          "aa_length": 888,
          "cds_start": 778,
          "cds_end": null,
          "cds_length": 2667,
          "cdna_start": 1186,
          "cdna_end": null,
          "cdna_length": 3565,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.601G>C",
          "hgvs_p": "p.Ala201Pro",
          "transcript": "NM_001406755.1",
          "protein_id": "NP_001393684.1",
          "transcript_support_level": null,
          "aa_start": 201,
          "aa_end": null,
          "aa_length": 829,
          "cds_start": 601,
          "cds_end": null,
          "cds_length": 2490,
          "cdna_start": 719,
          "cdna_end": null,
          "cdna_length": 3098,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.490G>C",
          "hgvs_p": "p.Ala164Pro",
          "transcript": "NM_001406756.1",
          "protein_id": "NP_001393685.1",
          "transcript_support_level": null,
          "aa_start": 164,
          "aa_end": null,
          "aa_length": 792,
          "cds_start": 490,
          "cds_end": null,
          "cds_length": 2379,
          "cdna_start": 791,
          "cdna_end": null,
          "cdna_length": 3170,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.478G>C",
          "hgvs_p": "p.Ala160Pro",
          "transcript": "NM_001406757.1",
          "protein_id": "NP_001393686.1",
          "transcript_support_level": null,
          "aa_start": 160,
          "aa_end": null,
          "aa_length": 788,
          "cds_start": 478,
          "cds_end": null,
          "cds_length": 2367,
          "cdna_start": 608,
          "cdna_end": null,
          "cdna_length": 2987,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.856G>C",
          "hgvs_p": "p.Ala286Pro",
          "transcript": "XM_047420348.1",
          "protein_id": "XP_047276304.1",
          "transcript_support_level": null,
          "aa_start": 286,
          "aa_end": null,
          "aa_length": 1185,
          "cds_start": 856,
          "cds_end": null,
          "cds_length": 3558,
          "cdna_start": 871,
          "cdna_end": null,
          "cdna_length": 3977,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.628G>C",
          "hgvs_p": "p.Ala210Pro",
          "transcript": "XM_017012195.2",
          "protein_id": "XP_016867684.1",
          "transcript_support_level": null,
          "aa_start": 210,
          "aa_end": null,
          "aa_length": 1109,
          "cds_start": 628,
          "cds_end": null,
          "cds_length": 3330,
          "cdna_start": 1260,
          "cdna_end": null,
          "cdna_length": 4366,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.601G>C",
          "hgvs_p": "p.Ala201Pro",
          "transcript": "XM_017012196.2",
          "protein_id": "XP_016867685.1",
          "transcript_support_level": null,
          "aa_start": 201,
          "aa_end": null,
          "aa_length": 1100,
          "cds_start": 601,
          "cds_end": null,
          "cds_length": 3303,
          "cdna_start": 719,
          "cdna_end": null,
          "cdna_length": 3825,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.478G>C",
          "hgvs_p": "p.Ala160Pro",
          "transcript": "XM_011516185.3",
          "protein_id": "XP_011514487.1",
          "transcript_support_level": null,
          "aa_start": 160,
          "aa_end": null,
          "aa_length": 1059,
          "cds_start": 478,
          "cds_end": null,
          "cds_length": 3180,
          "cdna_start": 493,
          "cdna_end": null,
          "cdna_length": 3599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "c.856G>C",
          "hgvs_p": "p.Ala286Pro",
          "transcript": "XM_047420349.1",
          "protein_id": "XP_047276305.1",
          "transcript_support_level": null,
          "aa_start": 286,
          "aa_end": null,
          "aa_length": 936,
          "cds_start": 856,
          "cds_end": null,
          "cds_length": 2811,
          "cdna_start": 871,
          "cdna_end": null,
          "cdna_length": 2962,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.1001G>C",
          "hgvs_p": null,
          "transcript": "ENST00000532957.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 3374,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.1611G>C",
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.736G>C",
          "hgvs_p": null,
          "transcript": "ENST00000713700.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": 3115,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNH2",
          "gene_hgnc_id": 6251,
          "hgvs_c": "n.1186G>C",
          "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
        }
      ],
      "gene_symbol": "KCNH2",
      "gene_hgnc_id": 6251,
      "dbsnp": "rs1220897906",
      "frequency_reference_population": 0.0000036680071,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 5,
      "gnomad_exomes_af": 0.00000330225,
      "gnomad_genomes_af": 0.00000658579,
      "gnomad_exomes_ac": 4,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.5354242920875549,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "CardioboostArm",
      "splice_score_selected": 0.03999999910593033,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.547,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.0886,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.11,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 0.349,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.04,
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PP2,BP4",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 1,
          "pathogenic_score": 3,
          "criteria": [
            "PM2",
            "PP2",
            "BP4"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000262186.10",
          "gene_symbol": "KCNH2",
          "hgnc_id": 6251,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.778G>C",
          "hgvs_p": "p.Ala260Pro"
        }
      ],
      "clinvar_disease": "Hypertrophic cardiomyopathy,Long QT syndrome",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "Hypertrophic cardiomyopathy|Long QT syndrome",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}