← 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: 21-38383741-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "21",
      "pos": 38383741,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_182918.4",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1102G>A",
          "hgvs_p": "p.Ala368Thr",
          "transcript": "NM_182918.4",
          "protein_id": "NP_891548.1",
          "transcript_support_level": null,
          "aa_start": 368,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 1102,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 1199,
          "cdna_end": null,
          "cdna_length": 4904,
          "mane_select": "ENST00000288319.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1102G>A",
          "hgvs_p": "p.Ala368Thr",
          "transcript": "ENST00000288319.12",
          "protein_id": "ENSP00000288319.7",
          "transcript_support_level": 1,
          "aa_start": 368,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 1102,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 1199,
          "cdna_end": null,
          "cdna_length": 4904,
          "mane_select": "NM_182918.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1123G>A",
          "hgvs_p": "p.Ala375Thr",
          "transcript": "ENST00000398919.6",
          "protein_id": "ENSP00000381891.2",
          "transcript_support_level": 1,
          "aa_start": 375,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1123,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1418,
          "cdna_end": null,
          "cdna_length": 1868,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1030G>A",
          "hgvs_p": "p.Ala344Thr",
          "transcript": "ENST00000398905.5",
          "protein_id": "ENSP00000381877.1",
          "transcript_support_level": 1,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 455,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 1368,
          "cdna_start": 1092,
          "cdna_end": null,
          "cdna_length": 4806,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1123G>A",
          "hgvs_p": "p.Ala375Thr",
          "transcript": "NM_001136154.1",
          "protein_id": "NP_001129626.1",
          "transcript_support_level": null,
          "aa_start": 375,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1123,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1395,
          "cdna_end": null,
          "cdna_length": 5109,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1123G>A",
          "hgvs_p": "p.Ala375Thr",
          "transcript": "NM_001243428.1",
          "protein_id": "NP_001230357.1",
          "transcript_support_level": null,
          "aa_start": 375,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1123,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1418,
          "cdna_end": null,
          "cdna_length": 5132,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1123G>A",
          "hgvs_p": "p.Ala375Thr",
          "transcript": "ENST00000417133.6",
          "protein_id": "ENSP00000414150.2",
          "transcript_support_level": 2,
          "aa_start": 375,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1123,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1309,
          "cdna_end": null,
          "cdna_length": 5023,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "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": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1054G>A",
          "hgvs_p": "p.Ala352Thr",
          "transcript": "ENST00000398910.5",
          "protein_id": "ENSP00000381881.1",
          "transcript_support_level": 5,
          "aa_start": 352,
          "aa_end": null,
          "aa_length": 463,
          "cds_start": 1054,
          "cds_end": null,
          "cds_length": 1392,
          "cdna_start": 1240,
          "cdna_end": null,
          "cdna_length": 4954,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "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": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1051G>A",
          "hgvs_p": "p.Ala351Thr",
          "transcript": "NM_004449.4",
          "protein_id": "NP_004440.1",
          "transcript_support_level": null,
          "aa_start": 351,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1051,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1323,
          "cdna_end": null,
          "cdna_length": 5037,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1051G>A",
          "hgvs_p": "p.Ala351Thr",
          "transcript": "ENST00000398911.5",
          "protein_id": "ENSP00000381882.1",
          "transcript_support_level": 5,
          "aa_start": 351,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1051,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1200,
          "cdna_end": null,
          "cdna_length": 4914,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "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": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1051G>A",
          "hgvs_p": "p.Ala351Thr",
          "transcript": "ENST00000442448.5",
          "protein_id": "ENSP00000394694.1",
          "transcript_support_level": 5,
          "aa_start": 351,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1051,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1323,
          "cdna_end": null,
          "cdna_length": 5034,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1033G>A",
          "hgvs_p": "p.Ala345Thr",
          "transcript": "ENST00000398907.5",
          "protein_id": "ENSP00000381879.1",
          "transcript_support_level": 5,
          "aa_start": 345,
          "aa_end": null,
          "aa_length": 456,
          "cds_start": 1033,
          "cds_end": null,
          "cds_length": 1371,
          "cdna_start": 1095,
          "cdna_end": null,
          "cdna_length": 4809,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.1030G>A",
          "hgvs_p": "p.Ala344Thr",
          "transcript": "NM_001331025.2",
          "protein_id": "NP_001317954.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 455,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 1368,
          "cdna_start": 1127,
          "cdna_end": null,
          "cdna_length": 4832,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.826G>A",
          "hgvs_p": "p.Ala276Thr",
          "transcript": "NM_001136155.1",
          "protein_id": "NP_001129627.1",
          "transcript_support_level": null,
          "aa_start": 276,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": 826,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": 1008,
          "cdna_end": null,
          "cdna_length": 4722,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.826G>A",
          "hgvs_p": "p.Ala276Thr",
          "transcript": "ENST00000453032.6",
          "protein_id": "ENSP00000396268.2",
          "transcript_support_level": 2,
          "aa_start": 276,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": 826,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": 980,
          "cdna_end": null,
          "cdna_length": 1595,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.754G>A",
          "hgvs_p": "p.Ala252Thr",
          "transcript": "NM_001243429.1",
          "protein_id": "NP_001230358.1",
          "transcript_support_level": null,
          "aa_start": 252,
          "aa_end": null,
          "aa_length": 363,
          "cds_start": 754,
          "cds_end": null,
          "cds_length": 1092,
          "cdna_start": 982,
          "cdna_end": null,
          "cdna_length": 4696,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.754G>A",
          "hgvs_p": "p.Ala252Thr",
          "transcript": "ENST00000398897.5",
          "protein_id": "ENSP00000381871.1",
          "transcript_support_level": 5,
          "aa_start": 252,
          "aa_end": null,
          "aa_length": 363,
          "cds_start": 754,
          "cds_end": null,
          "cds_length": 1092,
          "cdna_start": 937,
          "cdna_end": null,
          "cdna_length": 4651,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "ERG",
          "gene_hgnc_id": 3446,
          "hgvs_c": "c.940+7254G>A",
          "hgvs_p": null,
          "transcript": "NM_001243432.2",
          "protein_id": "NP_001230361.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 317,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 954,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1600,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ERG",
      "gene_hgnc_id": 3446,
      "dbsnp": "rs2146412341",
      "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.851456344127655,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.746,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9997,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.34,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.905,
      "phylop100way_prediction": "Pathogenic",
      "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": 4,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PP3_Moderate",
      "acmg_by_gene": [
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PM2",
            "PP3_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_182918.4",
          "gene_symbol": "ERG",
          "hgnc_id": 3446,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1102G>A",
          "hgvs_p": "p.Ala368Thr"
        }
      ],
      "clinvar_disease": "Acute lymphoid leukemia",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Acute lymphoid leukemia",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}