← 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-38383438-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "21",
      "pos": 38383438,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_182918.4",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1405A>G",
          "hgvs_p": "p.Ser469Gly",
          "transcript": "NM_182918.4",
          "protein_id": "NP_891548.1",
          "transcript_support_level": null,
          "aa_start": 469,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 1405,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 1502,
          "cdna_end": null,
          "cdna_length": 4904,
          "mane_select": "ENST00000288319.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1405A>G",
          "hgvs_p": "p.Ser469Gly",
          "transcript": "ENST00000288319.12",
          "protein_id": "ENSP00000288319.7",
          "transcript_support_level": 1,
          "aa_start": 469,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 1405,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 1502,
          "cdna_end": null,
          "cdna_length": 4904,
          "mane_select": "NM_182918.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1426A>G",
          "hgvs_p": "p.Ser476Gly",
          "transcript": "ENST00000398919.6",
          "protein_id": "ENSP00000381891.2",
          "transcript_support_level": 1,
          "aa_start": 476,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1426,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1721,
          "cdna_end": null,
          "cdna_length": 1868,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1333A>G",
          "hgvs_p": "p.Ser445Gly",
          "transcript": "ENST00000398905.5",
          "protein_id": "ENSP00000381877.1",
          "transcript_support_level": 1,
          "aa_start": 445,
          "aa_end": null,
          "aa_length": 455,
          "cds_start": 1333,
          "cds_end": null,
          "cds_length": 1368,
          "cdna_start": 1395,
          "cdna_end": null,
          "cdna_length": 4806,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1426A>G",
          "hgvs_p": "p.Ser476Gly",
          "transcript": "NM_001136154.1",
          "protein_id": "NP_001129626.1",
          "transcript_support_level": null,
          "aa_start": 476,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1426,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1698,
          "cdna_end": null,
          "cdna_length": 5109,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1426A>G",
          "hgvs_p": "p.Ser476Gly",
          "transcript": "NM_001243428.1",
          "protein_id": "NP_001230357.1",
          "transcript_support_level": null,
          "aa_start": 476,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1426,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1721,
          "cdna_end": null,
          "cdna_length": 5132,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1426A>G",
          "hgvs_p": "p.Ser476Gly",
          "transcript": "ENST00000417133.6",
          "protein_id": "ENSP00000414150.2",
          "transcript_support_level": 2,
          "aa_start": 476,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1426,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": 1612,
          "cdna_end": null,
          "cdna_length": 5023,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1357A>G",
          "hgvs_p": "p.Ser453Gly",
          "transcript": "ENST00000398910.5",
          "protein_id": "ENSP00000381881.1",
          "transcript_support_level": 5,
          "aa_start": 453,
          "aa_end": null,
          "aa_length": 463,
          "cds_start": 1357,
          "cds_end": null,
          "cds_length": 1392,
          "cdna_start": 1543,
          "cdna_end": null,
          "cdna_length": 4954,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1354A>G",
          "hgvs_p": "p.Ser452Gly",
          "transcript": "NM_004449.4",
          "protein_id": "NP_004440.1",
          "transcript_support_level": null,
          "aa_start": 452,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1354,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1626,
          "cdna_end": null,
          "cdna_length": 5037,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1354A>G",
          "hgvs_p": "p.Ser452Gly",
          "transcript": "ENST00000398911.5",
          "protein_id": "ENSP00000381882.1",
          "transcript_support_level": 5,
          "aa_start": 452,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1354,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1503,
          "cdna_end": null,
          "cdna_length": 4914,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1354A>G",
          "hgvs_p": "p.Ser452Gly",
          "transcript": "ENST00000442448.5",
          "protein_id": "ENSP00000394694.1",
          "transcript_support_level": 5,
          "aa_start": 452,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1354,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1626,
          "cdna_end": null,
          "cdna_length": 5034,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1336A>G",
          "hgvs_p": "p.Ser446Gly",
          "transcript": "ENST00000398907.5",
          "protein_id": "ENSP00000381879.1",
          "transcript_support_level": 5,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 456,
          "cds_start": 1336,
          "cds_end": null,
          "cds_length": 1371,
          "cdna_start": 1398,
          "cdna_end": null,
          "cdna_length": 4809,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1333A>G",
          "hgvs_p": "p.Ser445Gly",
          "transcript": "NM_001331025.2",
          "protein_id": "NP_001317954.1",
          "transcript_support_level": null,
          "aa_start": 445,
          "aa_end": null,
          "aa_length": 455,
          "cds_start": 1333,
          "cds_end": null,
          "cds_length": 1368,
          "cdna_start": 1430,
          "cdna_end": null,
          "cdna_length": 4832,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1129A>G",
          "hgvs_p": "p.Ser377Gly",
          "transcript": "NM_001136155.1",
          "protein_id": "NP_001129627.1",
          "transcript_support_level": null,
          "aa_start": 377,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": 1129,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": 1311,
          "cdna_end": null,
          "cdna_length": 4722,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1129A>G",
          "hgvs_p": "p.Ser377Gly",
          "transcript": "ENST00000453032.6",
          "protein_id": "ENSP00000396268.2",
          "transcript_support_level": 2,
          "aa_start": 377,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": 1129,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": 1283,
          "cdna_end": null,
          "cdna_length": 1595,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1057A>G",
          "hgvs_p": "p.Ser353Gly",
          "transcript": "NM_001243429.1",
          "protein_id": "NP_001230358.1",
          "transcript_support_level": null,
          "aa_start": 353,
          "aa_end": null,
          "aa_length": 363,
          "cds_start": 1057,
          "cds_end": null,
          "cds_length": 1092,
          "cdna_start": 1285,
          "cdna_end": null,
          "cdna_length": 4696,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "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.1057A>G",
          "hgvs_p": "p.Ser353Gly",
          "transcript": "ENST00000398897.5",
          "protein_id": "ENSP00000381871.1",
          "transcript_support_level": 5,
          "aa_start": 353,
          "aa_end": null,
          "aa_length": 363,
          "cds_start": 1057,
          "cds_end": null,
          "cds_length": 1092,
          "cdna_start": 1240,
          "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+7557A>G",
          "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": "rs530104625",
      "frequency_reference_population": 0.0000033004346,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 5,
      "gnomad_exomes_af": 0.00000220152,
      "gnomad_genomes_af": 0.0000131358,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.08606234192848206,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.041,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0669,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.7,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.293,
      "phylop100way_prediction": "Benign",
      "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": 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": "NM_182918.4",
          "gene_symbol": "ERG",
          "hgnc_id": 3446,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1405A>G",
          "hgvs_p": "p.Ser469Gly"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}