← 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-54587200-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 54587200,
      "ref": "G",
      "alt": "A",
      "effect": "splice_acceptor_variant,intron_variant",
      "transcript": "ENST00000391738.8",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1307-1G>A",
          "hgvs_p": null,
          "transcript": "NM_001130917.3",
          "protein_id": "NP_001124389.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 483,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1452,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4482,
          "mane_select": "ENST00000391738.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1307-1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000391738.8",
          "protein_id": "ENSP00000375618.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 483,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1452,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4482,
          "mane_select": "NM_001130917.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1256-1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000251376.7",
          "protein_id": "ENSP00000251376.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 466,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1401,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4429,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1220-1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000391737.3",
          "protein_id": "ENSP00000375617.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 454,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1365,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1452,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.*42-1G>A",
          "hgvs_p": null,
          "transcript": "NM_001290271.2",
          "protein_id": "NP_001277200.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 490,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1473,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5097,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1307-1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000251377.7",
          "protein_id": "ENSP00000251377.3",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 483,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1452,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1799,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1256-1G>A",
          "hgvs_p": null,
          "transcript": "NM_006866.4",
          "protein_id": "NP_006857.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 466,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1401,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4971,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.1220-1G>A",
          "hgvs_p": null,
          "transcript": "NM_001290270.1",
          "protein_id": "NP_001277199.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 454,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1365,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1627,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.*42-1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000472992.1",
          "protein_id": "ENSP00000477566.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 84,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 255,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 644,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LILRA2",
          "gene_hgnc_id": 6603,
          "hgvs_c": "c.*132G>A",
          "hgvs_p": null,
          "transcript": "XM_047438112.1",
          "protein_id": "XP_047294068.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 425,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1278,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1367,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "LILRA2",
      "gene_hgnc_id": 6603,
      "dbsnp": "rs2241524",
      "frequency_reference_population": 0.025906961,
      "hom_count_reference_population": 3515,
      "allele_count_reference_population": 41800,
      "gnomad_exomes_af": 0.0247567,
      "gnomad_genomes_af": 0.0369531,
      "gnomad_exomes_ac": 36177,
      "gnomad_genomes_ac": 5623,
      "gnomad_exomes_homalt": 3112,
      "gnomad_genomes_homalt": 403,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -1.0499999523162842,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.34599998593330383,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -1.05,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -4.641,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.8,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": 0.997301026455376,
      "dbscsnv_ada_prediction": "Pathogenic",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PVS1_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 8,
          "pathogenic_score": 4,
          "criteria": [
            "PVS1_Strong",
            "BA1"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000391738.8",
          "gene_symbol": "LILRA2",
          "hgnc_id": 6603,
          "effects": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1307-1G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}