← 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: 20-8739287-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 8739287,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000338037.11",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2235G>A",
          "hgvs_p": "p.Leu745Leu",
          "transcript": "NM_015192.4",
          "protein_id": "NP_056007.1",
          "transcript_support_level": null,
          "aa_start": 745,
          "aa_end": null,
          "aa_length": 1216,
          "cds_start": 2235,
          "cds_end": null,
          "cds_length": 3651,
          "cdna_start": 2621,
          "cdna_end": null,
          "cdna_length": 7088,
          "mane_select": "ENST00000338037.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2235G>A",
          "hgvs_p": "p.Leu745Leu",
          "transcript": "ENST00000338037.11",
          "protein_id": "ENSP00000338185.6",
          "transcript_support_level": 1,
          "aa_start": 745,
          "aa_end": null,
          "aa_length": 1216,
          "cds_start": 2235,
          "cds_end": null,
          "cds_length": 3651,
          "cdna_start": 2621,
          "cdna_end": null,
          "cdna_length": 7088,
          "mane_select": "NM_015192.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2235G>A",
          "hgvs_p": "p.Leu745Leu",
          "transcript": "ENST00000378637.6",
          "protein_id": "ENSP00000367904.2",
          "transcript_support_level": 1,
          "aa_start": 745,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": 2235,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": 2238,
          "cdna_end": null,
          "cdna_length": 3864,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2235G>A",
          "hgvs_p": "p.Leu745Leu",
          "transcript": "ENST00000378641.7",
          "protein_id": "ENSP00000367908.3",
          "transcript_support_level": 1,
          "aa_start": 745,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": 2235,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": 2749,
          "cdna_end": null,
          "cdna_length": 7323,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.1455G>A",
          "hgvs_p": null,
          "transcript": "ENST00000487210.5",
          "protein_id": "ENSP00000431704.1",
          "transcript_support_level": 1,
          "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": 4781,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2235G>A",
          "hgvs_p": "p.Leu745Leu",
          "transcript": "NM_182734.3",
          "protein_id": "NP_877398.1",
          "transcript_support_level": null,
          "aa_start": 745,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": 2235,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": 2621,
          "cdna_end": null,
          "cdna_length": 7206,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.1932G>A",
          "hgvs_p": "p.Leu644Leu",
          "transcript": "ENST00000637919.1",
          "protein_id": "ENSP00000490862.1",
          "transcript_support_level": 5,
          "aa_start": 644,
          "aa_end": null,
          "aa_length": 1072,
          "cds_start": 1932,
          "cds_end": null,
          "cds_length": 3219,
          "cdna_start": 2190,
          "cdna_end": null,
          "cdna_length": 5074,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.1932G>A",
          "hgvs_p": "p.Leu644Leu",
          "transcript": "ENST00000626966.2",
          "protein_id": "ENSP00000487075.1",
          "transcript_support_level": 2,
          "aa_start": 644,
          "aa_end": null,
          "aa_length": 960,
          "cds_start": 1932,
          "cds_end": null,
          "cds_length": 2883,
          "cdna_start": 2045,
          "cdna_end": null,
          "cdna_length": 2996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.1932G>A",
          "hgvs_p": "p.Leu644Leu",
          "transcript": "ENST00000625874.2",
          "protein_id": "ENSP00000486301.1",
          "transcript_support_level": 2,
          "aa_start": 644,
          "aa_end": null,
          "aa_length": 959,
          "cds_start": 1932,
          "cds_end": null,
          "cds_length": 2881,
          "cdna_start": 2257,
          "cdna_end": null,
          "cdna_length": 3206,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.192G>A",
          "hgvs_p": "p.Leu64Leu",
          "transcript": "ENST00000439627.2",
          "protein_id": "ENSP00000391162.1",
          "transcript_support_level": 3,
          "aa_start": 64,
          "aa_end": null,
          "aa_length": 196,
          "cds_start": 192,
          "cds_end": null,
          "cds_length": 591,
          "cdna_start": 192,
          "cdna_end": null,
          "cdna_length": 1819,
          "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": 9,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.1387G>A",
          "hgvs_p": null,
          "transcript": "ENST00000494924.2",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 2338,
          "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": 20,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.2306G>A",
          "hgvs_p": null,
          "transcript": "ENST00000635830.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 3237,
          "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": 20,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.2099G>A",
          "hgvs_p": null,
          "transcript": "ENST00000636825.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 3020,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PLCB1",
      "gene_hgnc_id": 15917,
      "dbsnp": "rs587780416",
      "frequency_reference_population": 0.0000018593328,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 3,
      "gnomad_exomes_af": 0.00000136869,
      "gnomad_genomes_af": 0.00000656909,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.7300000190734863,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.73,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.315,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP6,BP7",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 6,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP6",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000338037.11",
          "gene_symbol": "PLCB1",
          "hgnc_id": 15917,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2235G>A",
          "hgvs_p": "p.Leu745Leu"
        }
      ],
      "clinvar_disease": " 12,Developmental and epileptic encephalopathy,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:1",
      "phenotype_combined": "not provided|Developmental and epileptic encephalopathy, 12",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}