← 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: 16-10876810-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 10876810,
      "ref": "A",
      "alt": "G",
      "effect": "intron_variant",
      "transcript": "ENST00000572017.1",
      "consequences": [
        {
          "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": 7,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.283+10238A>G",
          "hgvs_p": null,
          "transcript": "ENST00000637439.1",
          "protein_id": "ENSP00000489907.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 259,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 782,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 850,
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.-21+10491A>G",
          "hgvs_p": null,
          "transcript": "ENST00000636238.1",
          "protein_id": "ENSP00000490205.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 138,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 418,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 498,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000262151",
          "gene_hgnc_id": null,
          "hgvs_c": "n.438+11505T>C",
          "hgvs_p": null,
          "transcript": "ENST00000572017.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 575,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.346+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_006720880.4",
          "protein_id": "XP_006720943.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1229,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3690,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5012,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.346+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_011522484.4",
          "protein_id": "XP_011520786.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1229,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3690,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 16250,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.346+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_011522485.3",
          "protein_id": "XP_011520787.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1229,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3690,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5569,
          "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": 17,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.346+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_011522486.3",
          "protein_id": "XP_011520788.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1201,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3606,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3627,
          "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": 16,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.346+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_011522491.3",
          "protein_id": "XP_011520793.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1140,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3423,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3935,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.-21+10491A>G",
          "hgvs_p": null,
          "transcript": "XM_047434123.1",
          "protein_id": "XP_047290079.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1107,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3324,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 15997,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.-21+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_047434114.1",
          "protein_id": "XP_047290070.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1106,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3321,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4885,
          "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": 19,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.-21+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_047434115.1",
          "protein_id": "XP_047290071.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1058,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3177,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 15980,
          "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": 19,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "c.-21+10238A>G",
          "hgvs_p": null,
          "transcript": "XM_047434118.1",
          "protein_id": "XP_047290074.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1057,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3174,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 15977,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CIITA",
          "gene_hgnc_id": 7067,
          "hgvs_c": "n.367+10238A>G",
          "hgvs_p": null,
          "transcript": "XR_001751904.2",
          "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": 3513,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ENSG00000262151",
      "gene_hgnc_id": null,
      "dbsnp": "rs199476056",
      "frequency_reference_population": 0.00019691241,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 30,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.000196912,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 30,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8600000143051147,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.86,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.397,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 4,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000572017.1",
          "gene_symbol": "ENSG00000262151",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.438+11505T>C",
          "hgvs_p": null
        },
        {
          "score": -5,
          "benign_score": 5,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS1_Supporting"
          ],
          "verdict": "Likely_benign",
          "transcript": "XR_001751904.2",
          "gene_symbol": "CIITA",
          "hgnc_id": 7067,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "n.367+10238A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "not provided",
      "clinvar_review_status": "no classification provided",
      "clinvar_submissions_summary": "O:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "not provided",
      "custom_annotations": null
    }
  ],
  "message": null
}