← 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: 19-4504643-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 4504643,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_001367868.2",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3932A>G",
          "hgvs_p": "p.Glu1311Gly",
          "transcript": "NM_001367868.2",
          "protein_id": "NP_001354797.1",
          "transcript_support_level": null,
          "aa_start": 1311,
          "aa_end": null,
          "aa_length": 1371,
          "cds_start": 3932,
          "cds_end": null,
          "cds_length": 4116,
          "cdna_start": 4051,
          "cdna_end": null,
          "cdna_length": 6502,
          "mane_select": "ENST00000301286.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3932A>G",
          "hgvs_p": "p.Glu1311Gly",
          "transcript": "ENST00000301286.5",
          "protein_id": "ENSP00000301286.4",
          "transcript_support_level": 5,
          "aa_start": 1311,
          "aa_end": null,
          "aa_length": 1371,
          "cds_start": 3932,
          "cds_end": null,
          "cds_length": 4116,
          "cdna_start": 4051,
          "cdna_end": null,
          "cdna_length": 6502,
          "mane_select": "NM_001367868.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3935A>G",
          "hgvs_p": "p.Glu1312Gly",
          "transcript": "NM_001393888.1",
          "protein_id": "NP_001380817.1",
          "transcript_support_level": null,
          "aa_start": 1312,
          "aa_end": null,
          "aa_length": 1372,
          "cds_start": 3935,
          "cds_end": null,
          "cds_length": 4119,
          "cdna_start": 4054,
          "cdna_end": null,
          "cdna_length": 6505,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3935A>G",
          "hgvs_p": "p.Glu1312Gly",
          "transcript": "NM_001393889.1",
          "protein_id": "NP_001380818.1",
          "transcript_support_level": null,
          "aa_start": 1312,
          "aa_end": null,
          "aa_length": 1372,
          "cds_start": 3935,
          "cds_end": null,
          "cds_length": 4119,
          "cdna_start": 4001,
          "cdna_end": null,
          "cdna_length": 6452,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3935A>G",
          "hgvs_p": "p.Glu1312Gly",
          "transcript": "ENST00000633942.1",
          "protein_id": "ENSP00000488481.1",
          "transcript_support_level": 5,
          "aa_start": 1312,
          "aa_end": null,
          "aa_length": 1372,
          "cds_start": 3935,
          "cds_end": null,
          "cds_length": 4119,
          "cdna_start": 4033,
          "cdna_end": null,
          "cdna_length": 6484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3932A>G",
          "hgvs_p": "p.Glu1311Gly",
          "transcript": "NM_001393890.1",
          "protein_id": "NP_001380819.1",
          "transcript_support_level": null,
          "aa_start": 1311,
          "aa_end": null,
          "aa_length": 1371,
          "cds_start": 3932,
          "cds_end": null,
          "cds_length": 4116,
          "cdna_start": 3998,
          "cdna_end": null,
          "cdna_length": 6449,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.3932A>G",
          "hgvs_p": "p.Glu1311Gly",
          "transcript": "NM_001393891.1",
          "protein_id": "NP_001380820.1",
          "transcript_support_level": null,
          "aa_start": 1311,
          "aa_end": null,
          "aa_length": 1371,
          "cds_start": 3932,
          "cds_end": null,
          "cds_length": 4116,
          "cdna_start": 4033,
          "cdna_end": null,
          "cdna_length": 6484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "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": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.4118A>G",
          "hgvs_p": "p.Glu1373Gly",
          "transcript": "XM_017027192.2",
          "protein_id": "XP_016882681.1",
          "transcript_support_level": null,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1433,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4302,
          "cdna_start": 4237,
          "cdna_end": null,
          "cdna_length": 6688,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "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": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.4118A>G",
          "hgvs_p": "p.Glu1373Gly",
          "transcript": "XM_017027193.2",
          "protein_id": "XP_016882682.1",
          "transcript_support_level": null,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1433,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4302,
          "cdna_start": 4184,
          "cdna_end": null,
          "cdna_length": 6635,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "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": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.4118A>G",
          "hgvs_p": "p.Glu1373Gly",
          "transcript": "XM_017027194.2",
          "protein_id": "XP_016882683.1",
          "transcript_support_level": null,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1433,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4302,
          "cdna_start": 4219,
          "cdna_end": null,
          "cdna_length": 6670,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "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": "PLIN4",
          "gene_hgnc_id": 29393,
          "hgvs_c": "c.4115A>G",
          "hgvs_p": "p.Glu1372Gly",
          "transcript": "XM_011528233.3",
          "protein_id": "XP_011526535.1",
          "transcript_support_level": null,
          "aa_start": 1372,
          "aa_end": null,
          "aa_length": 1432,
          "cds_start": 4115,
          "cds_end": null,
          "cds_length": 4299,
          "cdna_start": 4234,
          "cdna_end": null,
          "cdna_length": 6685,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PLIN4",
      "gene_hgnc_id": 29393,
      "dbsnp": "rs781064414",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": 0,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 0,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.3036263585090637,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.097,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1697,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.39,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.455,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_001367868.2",
          "gene_symbol": "PLIN4",
          "hgnc_id": 29393,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3932A>G",
          "hgvs_p": "p.Glu1311Gly"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}