← 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: 5-132883346-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 132883346,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_014423.4",
      "consequences": [
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.3358C>G",
          "hgvs_p": "p.Gln1120Glu",
          "transcript": "NM_014423.4",
          "protein_id": "NP_055238.1",
          "transcript_support_level": null,
          "aa_start": 1120,
          "aa_end": null,
          "aa_length": 1163,
          "cds_start": 3358,
          "cds_end": null,
          "cds_length": 3492,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000265343.10",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_014423.4"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.3358C>G",
          "hgvs_p": "p.Gln1120Glu",
          "transcript": "ENST00000265343.10",
          "protein_id": "ENSP00000265343.5",
          "transcript_support_level": 1,
          "aa_start": 1120,
          "aa_end": null,
          "aa_length": 1163,
          "cds_start": 3358,
          "cds_end": null,
          "cds_length": 3492,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_014423.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000265343.10"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.3388C>G",
          "hgvs_p": "p.Gln1130Glu",
          "transcript": "ENST00000944867.1",
          "protein_id": "ENSP00000614926.1",
          "transcript_support_level": null,
          "aa_start": 1130,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": 3388,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000944867.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.2440C>G",
          "hgvs_p": "p.Gln814Glu",
          "transcript": "ENST00000909435.1",
          "protein_id": "ENSP00000579494.1",
          "transcript_support_level": null,
          "aa_start": 814,
          "aa_end": null,
          "aa_length": 857,
          "cds_start": 2440,
          "cds_end": null,
          "cds_length": 2574,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000909435.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.3358C>G",
          "hgvs_p": "p.Gln1120Glu",
          "transcript": "XM_005271963.6",
          "protein_id": "XP_005272020.1",
          "transcript_support_level": null,
          "aa_start": 1120,
          "aa_end": null,
          "aa_length": 1163,
          "cds_start": 3358,
          "cds_end": null,
          "cds_length": 3492,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005271963.6"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.3271C>G",
          "hgvs_p": "p.Gln1091Glu",
          "transcript": "XM_006714587.5",
          "protein_id": "XP_006714650.1",
          "transcript_support_level": null,
          "aa_start": 1091,
          "aa_end": null,
          "aa_length": 1134,
          "cds_start": 3271,
          "cds_end": null,
          "cds_length": 3405,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006714587.5"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.3271C>G",
          "hgvs_p": "p.Gln1091Glu",
          "transcript": "XM_047417103.1",
          "protein_id": "XP_047273059.1",
          "transcript_support_level": null,
          "aa_start": 1091,
          "aa_end": null,
          "aa_length": 1134,
          "cds_start": 3271,
          "cds_end": null,
          "cds_length": 3405,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047417103.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFF4",
          "gene_hgnc_id": 17869,
          "hgvs_c": "c.2224C>G",
          "hgvs_p": "p.Gln742Glu",
          "transcript": "XM_005271964.5",
          "protein_id": "XP_005272021.1",
          "transcript_support_level": null,
          "aa_start": 742,
          "aa_end": null,
          "aa_length": 785,
          "cds_start": 2224,
          "cds_end": null,
          "cds_length": 2358,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005271964.5"
        }
      ],
      "gene_symbol": "AFF4",
      "gene_hgnc_id": 17869,
      "dbsnp": "rs374222042",
      "frequency_reference_population": 0.000003424634,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 5,
      "gnomad_exomes_af": 0.00000342463,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 5,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6006332635879517,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.03999999910593033,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.272,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1074,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.02,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 7.95,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.04,
      "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": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_014423.4",
          "gene_symbol": "AFF4",
          "hgnc_id": 17869,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3358C>G",
          "hgvs_p": "p.Gln1120Glu"
        }
      ],
      "clinvar_disease": "AFF4-related disorder,Cognitive impairment - coarse facies - heart defects - obesity - pulmonary involvement - short stature - skeletal dysplasia syndrome",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Cognitive impairment - coarse facies - heart defects - obesity - pulmonary involvement - short stature - skeletal dysplasia syndrome|AFF4-related disorder",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}