← 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: 8-60850506-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "8",
      "pos": 60850506,
      "ref": "C",
      "alt": "G",
      "effect": "stop_gained",
      "transcript": "ENST00000423902.7",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5418C>G",
          "hgvs_p": "p.Tyr1806*",
          "transcript": "NM_017780.4",
          "protein_id": "NP_060250.2",
          "transcript_support_level": null,
          "aa_start": 1806,
          "aa_end": null,
          "aa_length": 2997,
          "cds_start": 5418,
          "cds_end": null,
          "cds_length": 8994,
          "cdna_start": 5935,
          "cdna_end": null,
          "cdna_length": 11606,
          "mane_select": "ENST00000423902.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5418C>G",
          "hgvs_p": "p.Tyr1806*",
          "transcript": "ENST00000423902.7",
          "protein_id": "ENSP00000392028.1",
          "transcript_support_level": 5,
          "aa_start": 1806,
          "aa_end": null,
          "aa_length": 2997,
          "cds_start": 5418,
          "cds_end": null,
          "cds_length": 8994,
          "cdna_start": 5935,
          "cdna_end": null,
          "cdna_length": 11606,
          "mane_select": "NM_017780.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.1717-11723C>G",
          "hgvs_p": null,
          "transcript": "ENST00000524602.5",
          "protein_id": "ENSP00000437061.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 948,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2847,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3456,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5508C>G",
          "hgvs_p": "p.Tyr1836*",
          "transcript": "XM_011517553.3",
          "protein_id": "XP_011515855.1",
          "transcript_support_level": null,
          "aa_start": 1836,
          "aa_end": null,
          "aa_length": 3027,
          "cds_start": 5508,
          "cds_end": null,
          "cds_length": 9084,
          "cdna_start": 6025,
          "cdna_end": null,
          "cdna_length": 11696,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5508C>G",
          "hgvs_p": "p.Tyr1836*",
          "transcript": "XM_011517554.4",
          "protein_id": "XP_011515856.1",
          "transcript_support_level": null,
          "aa_start": 1836,
          "aa_end": null,
          "aa_length": 3027,
          "cds_start": 5508,
          "cds_end": null,
          "cds_length": 9084,
          "cdna_start": 5979,
          "cdna_end": null,
          "cdna_length": 11650,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5508C>G",
          "hgvs_p": "p.Tyr1836*",
          "transcript": "XM_017013612.2",
          "protein_id": "XP_016869101.1",
          "transcript_support_level": null,
          "aa_start": 1836,
          "aa_end": null,
          "aa_length": 3027,
          "cds_start": 5508,
          "cds_end": null,
          "cds_length": 9084,
          "cdna_start": 6040,
          "cdna_end": null,
          "cdna_length": 11711,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5508C>G",
          "hgvs_p": "p.Tyr1836*",
          "transcript": "XM_011517555.3",
          "protein_id": "XP_011515857.1",
          "transcript_support_level": null,
          "aa_start": 1836,
          "aa_end": null,
          "aa_length": 3026,
          "cds_start": 5508,
          "cds_end": null,
          "cds_length": 9081,
          "cdna_start": 6025,
          "cdna_end": null,
          "cdna_length": 11693,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5418C>G",
          "hgvs_p": "p.Tyr1806*",
          "transcript": "XM_017013613.2",
          "protein_id": "XP_016869102.1",
          "transcript_support_level": null,
          "aa_start": 1806,
          "aa_end": null,
          "aa_length": 2996,
          "cds_start": 5418,
          "cds_end": null,
          "cds_length": 8991,
          "cdna_start": 5935,
          "cdna_end": null,
          "cdna_length": 11603,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5508C>G",
          "hgvs_p": "p.Tyr1836*",
          "transcript": "XM_047421945.1",
          "protein_id": "XP_047277901.1",
          "transcript_support_level": null,
          "aa_start": 1836,
          "aa_end": null,
          "aa_length": 2953,
          "cds_start": 5508,
          "cds_end": null,
          "cds_length": 8862,
          "cdna_start": 6025,
          "cdna_end": null,
          "cdna_length": 11474,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5508C>G",
          "hgvs_p": "p.Tyr1836*",
          "transcript": "XM_047421946.1",
          "protein_id": "XP_047277902.1",
          "transcript_support_level": null,
          "aa_start": 1836,
          "aa_end": null,
          "aa_length": 2952,
          "cds_start": 5508,
          "cds_end": null,
          "cds_length": 8859,
          "cdna_start": 6025,
          "cdna_end": null,
          "cdna_length": 11471,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.5418C>G",
          "hgvs_p": "p.Tyr1806*",
          "transcript": "XM_047421947.1",
          "protein_id": "XP_047277903.1",
          "transcript_support_level": null,
          "aa_start": 1806,
          "aa_end": null,
          "aa_length": 2922,
          "cds_start": 5418,
          "cds_end": null,
          "cds_length": 8769,
          "cdna_start": 5935,
          "cdna_end": null,
          "cdna_length": 11381,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "n.5418C>G",
          "hgvs_p": null,
          "transcript": "ENST00000695853.1",
          "protein_id": "ENSP00000512218.1",
          "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": 10902,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "c.1717-11723C>G",
          "hgvs_p": null,
          "transcript": "NM_001316690.1",
          "protein_id": "NP_001303619.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 948,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2847,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5116,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHD7",
          "gene_hgnc_id": 20626,
          "hgvs_c": "n.-231C>G",
          "hgvs_p": null,
          "transcript": "ENST00000527921.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 527,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CHD7",
      "gene_hgnc_id": 20626,
      "dbsnp": "rs121434340",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6200000047683716,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.62,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 2.561,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.02,
      "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": 11,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000423902.7",
          "gene_symbol": "CHD7",
          "hgnc_id": 20626,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.5418C>G",
          "hgvs_p": "p.Tyr1806*"
        }
      ],
      "clinvar_disease": "CHARGE syndrome",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "CHARGE syndrome",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}