← 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: 11-101944258-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "11",
      "pos": 101944258,
      "ref": "A",
      "alt": "C",
      "effect": "splice_region_variant,intron_variant",
      "transcript": "NM_020802.4",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "c.249-7A>C",
          "hgvs_p": null,
          "transcript": "NM_020802.4",
          "protein_id": "NP_065853.3",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1117,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 3354,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000263468.13",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_020802.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "c.249-7A>C",
          "hgvs_p": null,
          "transcript": "ENST00000263468.13",
          "protein_id": "ENSP00000263468.8",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1117,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 3354,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_020802.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000263468.13"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "c.249-7A>C",
          "hgvs_p": null,
          "transcript": "ENST00000931861.1",
          "protein_id": "ENSP00000601920.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1115,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 3348,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931861.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "c.-1031-7A>C",
          "hgvs_p": null,
          "transcript": "NM_001363543.2",
          "protein_id": "NP_001350472.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 918,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 2757,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001363543.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "n.249-7A>C",
          "hgvs_p": null,
          "transcript": "ENST00000670091.1",
          "protein_id": "ENSP00000499679.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000670091.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "n.249-7A>C",
          "hgvs_p": null,
          "transcript": "ENST00000670318.1",
          "protein_id": "ENSP00000499404.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000670318.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CEP126",
          "gene_hgnc_id": 29264,
          "hgvs_c": "n.-119A>C",
          "hgvs_p": null,
          "transcript": "ENST00000532529.1",
          "protein_id": "ENSP00000433643.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000532529.1"
        }
      ],
      "gene_symbol": "CEP126",
      "gene_hgnc_id": 29264,
      "dbsnp": "rs140387257",
      "frequency_reference_population": 0.001058608,
      "hom_count_reference_population": 17,
      "allele_count_reference_population": 1652,
      "gnomad_exomes_af": 0.000539632,
      "gnomad_genomes_af": 0.00586179,
      "gnomad_exomes_ac": 760,
      "gnomad_genomes_ac": 892,
      "gnomad_exomes_homalt": 6,
      "gnomad_genomes_homalt": 11,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8199999928474426,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.0020000000949949026,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.82,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.789,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.000147462551517894,
      "dbscsnv_ada_prediction": "Benign",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -14,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_020802.4",
          "gene_symbol": "CEP126",
          "hgnc_id": 29264,
          "effects": [
            "splice_region_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.249-7A>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}