← 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: 14-56296793-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "14",
      "pos": 56296793,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_021255.3",
      "consequences": [
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.890A>G",
          "hgvs_p": "p.Asn297Ser",
          "transcript": "NM_021255.3",
          "protein_id": "NP_067078.1",
          "transcript_support_level": null,
          "aa_start": 297,
          "aa_end": null,
          "aa_length": 420,
          "cds_start": 890,
          "cds_end": null,
          "cds_length": 1263,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000267460.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_021255.3"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.890A>G",
          "hgvs_p": "p.Asn297Ser",
          "transcript": "ENST00000267460.9",
          "protein_id": "ENSP00000267460.4",
          "transcript_support_level": 1,
          "aa_start": 297,
          "aa_end": null,
          "aa_length": 420,
          "cds_start": 890,
          "cds_end": null,
          "cds_length": 1263,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_021255.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000267460.9"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.1061A>G",
          "hgvs_p": "p.Asn354Ser",
          "transcript": "ENST00000705193.1",
          "protein_id": "ENSP00000516089.1",
          "transcript_support_level": null,
          "aa_start": 354,
          "aa_end": null,
          "aa_length": 477,
          "cds_start": 1061,
          "cds_end": null,
          "cds_length": 1434,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000705193.1"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.851A>G",
          "hgvs_p": "p.Asn284Ser",
          "transcript": "XM_017021478.2",
          "protein_id": "XP_016876967.1",
          "transcript_support_level": null,
          "aa_start": 284,
          "aa_end": null,
          "aa_length": 407,
          "cds_start": 851,
          "cds_end": null,
          "cds_length": 1224,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017021478.2"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.590A>G",
          "hgvs_p": "p.Asn197Ser",
          "transcript": "XM_006720211.4",
          "protein_id": "XP_006720274.1",
          "transcript_support_level": null,
          "aa_start": 197,
          "aa_end": null,
          "aa_length": 320,
          "cds_start": 590,
          "cds_end": null,
          "cds_length": 963,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006720211.4"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.590A>G",
          "hgvs_p": "p.Asn197Ser",
          "transcript": "XM_011536990.3",
          "protein_id": "XP_011535292.1",
          "transcript_support_level": null,
          "aa_start": 197,
          "aa_end": null,
          "aa_length": 320,
          "cds_start": 590,
          "cds_end": null,
          "cds_length": 963,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536990.3"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.590A>G",
          "hgvs_p": "p.Asn197Ser",
          "transcript": "XM_011536992.4",
          "protein_id": "XP_011535294.1",
          "transcript_support_level": null,
          "aa_start": 197,
          "aa_end": null,
          "aa_length": 320,
          "cds_start": 590,
          "cds_end": null,
          "cds_length": 963,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536992.4"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.590A>G",
          "hgvs_p": "p.Asn197Ser",
          "transcript": "XM_017021479.2",
          "protein_id": "XP_016876968.1",
          "transcript_support_level": null,
          "aa_start": 197,
          "aa_end": null,
          "aa_length": 320,
          "cds_start": 590,
          "cds_end": null,
          "cds_length": 963,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017021479.2"
        },
        {
          "aa_ref": "N",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PELI2",
          "gene_hgnc_id": 8828,
          "hgvs_c": "c.590A>G",
          "hgvs_p": "p.Asn197Ser",
          "transcript": "XM_047431612.1",
          "protein_id": "XP_047287568.1",
          "transcript_support_level": null,
          "aa_start": 197,
          "aa_end": null,
          "aa_length": 320,
          "cds_start": 590,
          "cds_end": null,
          "cds_length": 963,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047431612.1"
        }
      ],
      "gene_symbol": "PELI2",
      "gene_hgnc_id": 8828,
      "dbsnp": "rs766481243",
      "frequency_reference_population": 0.000035316334,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 57,
      "gnomad_exomes_af": 0.0000342039,
      "gnomad_genomes_af": 0.0000460036,
      "gnomad_exomes_ac": 50,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.019906550645828247,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.061,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0515,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.76,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.621,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_021255.3",
          "gene_symbol": "PELI2",
          "hgnc_id": 8828,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.890A>G",
          "hgvs_p": "p.Asn297Ser"
        }
      ],
      "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
}