← 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: 16-89919458-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 89919458,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000556922.1",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MC1R",
          "gene_hgnc_id": 6929,
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln",
          "transcript": "NM_002386.4",
          "protein_id": "NP_002377.4",
          "transcript_support_level": null,
          "aa_start": 67,
          "aa_end": null,
          "aa_length": 317,
          "cds_start": 200,
          "cds_end": null,
          "cds_length": 954,
          "cdna_start": 597,
          "cdna_end": null,
          "cdna_length": 2111,
          "mane_select": "ENST00000555147.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "Q",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MC1R",
          "gene_hgnc_id": 6929,
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln",
          "transcript": "ENST00000555147.2",
          "protein_id": "ENSP00000451605.1",
          "transcript_support_level": 6,
          "aa_start": 67,
          "aa_end": null,
          "aa_length": 317,
          "cds_start": 200,
          "cds_end": null,
          "cds_length": 954,
          "cdna_start": 597,
          "cdna_end": null,
          "cdna_length": 2111,
          "mane_select": "NM_002386.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "Q",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000198211",
          "gene_hgnc_id": null,
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln",
          "transcript": "ENST00000556922.1",
          "protein_id": "ENSP00000451560.1",
          "transcript_support_level": 2,
          "aa_start": 67,
          "aa_end": null,
          "aa_length": 797,
          "cds_start": 200,
          "cds_end": null,
          "cds_length": 2394,
          "cdna_start": 294,
          "cdna_end": null,
          "cdna_length": 2776,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MC1R",
          "gene_hgnc_id": 6929,
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln",
          "transcript": "ENST00000555427.1",
          "protein_id": "ENSP00000451760.1",
          "transcript_support_level": 5,
          "aa_start": 67,
          "aa_end": null,
          "aa_length": 382,
          "cds_start": 200,
          "cds_end": null,
          "cds_length": 1149,
          "cdna_start": 2503,
          "cdna_end": null,
          "cdna_length": 3637,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MC1R",
          "gene_hgnc_id": 6929,
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln",
          "transcript": "ENST00000639847.1",
          "protein_id": "ENSP00000492011.1",
          "transcript_support_level": 5,
          "aa_start": 67,
          "aa_end": null,
          "aa_length": 317,
          "cds_start": 200,
          "cds_end": null,
          "cds_length": 954,
          "cdna_start": 1074,
          "cdna_end": null,
          "cdna_length": 2567,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ENSG00000198211",
      "gene_hgnc_id": null,
      "dbsnp": "rs34090186",
      "frequency_reference_population": 0.00039361732,
      "hom_count_reference_population": 4,
      "allele_count_reference_population": 635,
      "gnomad_exomes_af": 0.000398373,
      "gnomad_genomes_af": 0.000348002,
      "gnomad_exomes_ac": 582,
      "gnomad_genomes_ac": 53,
      "gnomad_exomes_homalt": 4,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.01024743914604187,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.07,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.099,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.39,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 3.044,
      "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": -16,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS2",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000556922.1",
          "gene_symbol": "ENSG00000198211",
          "hgnc_id": null,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln"
        },
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000555147.2",
          "gene_symbol": "MC1R",
          "hgnc_id": 6929,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.200G>A",
          "hgvs_p": "p.Arg67Gln"
        }
      ],
      "clinvar_disease": " 2, 5, VARIATION IN, cutaneous malignant, female-specific, susceptibility to,Increased analgesia from kappa-opioid receptor agonist,MC1R-related disorder,Melanoma,SKIN/HAIR/EYE PIGMENTATION,Tyrosinase-positive oculocutaneous albinism,not provided",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:3 B:1",
      "phenotype_combined": "not provided|Melanoma, cutaneous malignant, susceptibility to, 5;Tyrosinase-positive oculocutaneous albinism;SKIN/HAIR/EYE PIGMENTATION, VARIATION IN, 2;Increased analgesia from kappa-opioid receptor agonist, female-specific|MC1R-related disorder|Melanoma, cutaneous malignant, susceptibility to, 5",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}