← 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: 6-42659696-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 42659696,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000372901.2",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3283G>C",
          "hgvs_p": "p.Ala1095Pro",
          "transcript": "NM_001363705.2",
          "protein_id": "NP_001350634.1",
          "transcript_support_level": null,
          "aa_start": 1095,
          "aa_end": null,
          "aa_length": 1755,
          "cds_start": 3283,
          "cds_end": null,
          "cds_length": 5268,
          "cdna_start": 3574,
          "cdna_end": null,
          "cdna_length": 7891,
          "mane_select": "ENST00000372901.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3283G>C",
          "hgvs_p": "p.Ala1095Pro",
          "transcript": "ENST00000372901.2",
          "protein_id": "ENSP00000361992.1",
          "transcript_support_level": 5,
          "aa_start": 1095,
          "aa_end": null,
          "aa_length": 1755,
          "cds_start": 3283,
          "cds_end": null,
          "cds_length": 5268,
          "cdna_start": 3574,
          "cdna_end": null,
          "cdna_length": 7891,
          "mane_select": "NM_001363705.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3283G>C",
          "hgvs_p": "p.Ala1095Pro",
          "transcript": "ENST00000372899.6",
          "protein_id": "ENSP00000361990.1",
          "transcript_support_level": 1,
          "aa_start": 1095,
          "aa_end": null,
          "aa_length": 1755,
          "cds_start": 3283,
          "cds_end": null,
          "cds_length": 5268,
          "cdna_start": 3574,
          "cdna_end": null,
          "cdna_length": 7891,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3283G>C",
          "hgvs_p": "p.Ala1095Pro",
          "transcript": "NM_015255.3",
          "protein_id": "NP_056070.1",
          "transcript_support_level": null,
          "aa_start": 1095,
          "aa_end": null,
          "aa_length": 1755,
          "cds_start": 3283,
          "cds_end": null,
          "cds_length": 5268,
          "cdna_start": 3574,
          "cdna_end": null,
          "cdna_length": 7891,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3364G>C",
          "hgvs_p": "p.Ala1122Pro",
          "transcript": "XM_011514438.3",
          "protein_id": "XP_011512740.2",
          "transcript_support_level": null,
          "aa_start": 1122,
          "aa_end": null,
          "aa_length": 1782,
          "cds_start": 3364,
          "cds_end": null,
          "cds_length": 5349,
          "cdna_start": 3708,
          "cdna_end": null,
          "cdna_length": 8025,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3364G>C",
          "hgvs_p": "p.Ala1122Pro",
          "transcript": "XM_017010594.2",
          "protein_id": "XP_016866083.1",
          "transcript_support_level": null,
          "aa_start": 1122,
          "aa_end": null,
          "aa_length": 1782,
          "cds_start": 3364,
          "cds_end": null,
          "cds_length": 5349,
          "cdna_start": 3708,
          "cdna_end": null,
          "cdna_length": 8025,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3364G>C",
          "hgvs_p": "p.Ala1122Pro",
          "transcript": "XM_047418493.1",
          "protein_id": "XP_047274449.1",
          "transcript_support_level": null,
          "aa_start": 1122,
          "aa_end": null,
          "aa_length": 1708,
          "cds_start": 3364,
          "cds_end": null,
          "cds_length": 5127,
          "cdna_start": 3708,
          "cdna_end": null,
          "cdna_length": 6012,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3364G>C",
          "hgvs_p": "p.Ala1122Pro",
          "transcript": "XM_017010597.2",
          "protein_id": "XP_016866086.1",
          "transcript_support_level": null,
          "aa_start": 1122,
          "aa_end": null,
          "aa_length": 1260,
          "cds_start": 3364,
          "cds_end": null,
          "cds_length": 3783,
          "cdna_start": 3708,
          "cdna_end": null,
          "cdna_length": 4203,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.1795G>C",
          "hgvs_p": "p.Ala599Pro",
          "transcript": "XM_011514440.2",
          "protein_id": "XP_011512742.1",
          "transcript_support_level": null,
          "aa_start": 599,
          "aa_end": null,
          "aa_length": 1259,
          "cds_start": 1795,
          "cds_end": null,
          "cds_length": 3780,
          "cdna_start": 1879,
          "cdna_end": null,
          "cdna_length": 6196,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.1735G>C",
          "hgvs_p": "p.Ala579Pro",
          "transcript": "XM_011514441.3",
          "protein_id": "XP_011512743.1",
          "transcript_support_level": null,
          "aa_start": 579,
          "aa_end": null,
          "aa_length": 1239,
          "cds_start": 1735,
          "cds_end": null,
          "cds_length": 3720,
          "cdna_start": 1792,
          "cdna_end": null,
          "cdna_length": 6109,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.3364G>C",
          "hgvs_p": "p.Ala1122Pro",
          "transcript": "XM_047418494.1",
          "protein_id": "XP_047274450.1",
          "transcript_support_level": null,
          "aa_start": 1122,
          "aa_end": null,
          "aa_length": 1206,
          "cds_start": 3364,
          "cds_end": null,
          "cds_length": 3621,
          "cdna_start": 3708,
          "cdna_end": null,
          "cdna_length": 4063,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UBR2",
          "gene_hgnc_id": 21289,
          "hgvs_c": "c.1174G>C",
          "hgvs_p": "p.Ala392Pro",
          "transcript": "XM_005248966.4",
          "protein_id": "XP_005249023.1",
          "transcript_support_level": null,
          "aa_start": 392,
          "aa_end": null,
          "aa_length": 1052,
          "cds_start": 1174,
          "cds_end": null,
          "cds_length": 3159,
          "cdna_start": 1248,
          "cdna_end": null,
          "cdna_length": 5565,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "UBR2",
      "gene_hgnc_id": 21289,
      "dbsnp": "rs6917033",
      "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.10587888956069946,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.09000000357627869,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.057,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1978,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.52,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.254,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.09,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000372901.2",
          "gene_symbol": "UBR2",
          "hgnc_id": 21289,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3283G>C",
          "hgvs_p": "p.Ala1095Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}