← 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-88725505-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 88725505,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_001142864.4",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PIEZO1",
          "gene_hgnc_id": 28993,
          "hgvs_c": "c.4073G>C",
          "hgvs_p": "p.Arg1358Pro",
          "transcript": "NM_001142864.4",
          "protein_id": "NP_001136336.2",
          "transcript_support_level": null,
          "aa_start": 1358,
          "aa_end": null,
          "aa_length": 2521,
          "cds_start": 4073,
          "cds_end": null,
          "cds_length": 7566,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000301015.14",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001142864.4"
        },
        {
          "aa_ref": "R",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PIEZO1",
          "gene_hgnc_id": 28993,
          "hgvs_c": "c.4073G>C",
          "hgvs_p": "p.Arg1358Pro",
          "transcript": "ENST00000301015.14",
          "protein_id": "ENSP00000301015.9",
          "transcript_support_level": 1,
          "aa_start": 1358,
          "aa_end": null,
          "aa_length": 2521,
          "cds_start": 4073,
          "cds_end": null,
          "cds_length": 7566,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001142864.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000301015.14"
        },
        {
          "aa_ref": "R",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PIEZO1",
          "gene_hgnc_id": 28993,
          "hgvs_c": "c.4073G>C",
          "hgvs_p": "p.Arg1358Pro",
          "transcript": "ENST00000938928.1",
          "protein_id": "ENSP00000608987.1",
          "transcript_support_level": null,
          "aa_start": 1358,
          "aa_end": null,
          "aa_length": 2520,
          "cds_start": 4073,
          "cds_end": null,
          "cds_length": 7563,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000938928.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PIEZO1",
          "gene_hgnc_id": 28993,
          "hgvs_c": "c.164G>C",
          "hgvs_p": "p.Arg55Pro",
          "transcript": "ENST00000474606.1",
          "protein_id": "ENSP00000428673.1",
          "transcript_support_level": 4,
          "aa_start": 55,
          "aa_end": null,
          "aa_length": 179,
          "cds_start": 164,
          "cds_end": null,
          "cds_length": 542,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000474606.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PIEZO1",
          "gene_hgnc_id": 28993,
          "hgvs_c": "n.446G>C",
          "hgvs_p": null,
          "transcript": "ENST00000475586.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": "retained_intron",
          "feature": "ENST00000475586.1"
        }
      ],
      "gene_symbol": "PIEZO1",
      "gene_hgnc_id": 28993,
      "dbsnp": "rs587776990",
      "frequency_reference_population": 7.261879e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 7.26188e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8776918649673462,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.499,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.9641,
      "alphamissense_prediction": "Pathogenic",
      "bayesdelnoaf_score": -0.01,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 1.189,
      "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": 5,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PP3_Moderate,PP5",
      "acmg_by_gene": [
        {
          "score": 5,
          "benign_score": 0,
          "pathogenic_score": 5,
          "criteria": [
            "PM2",
            "PP3_Moderate",
            "PP5"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_001142864.4",
          "gene_symbol": "PIEZO1",
          "hgnc_id": 28993,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.4073G>C",
          "hgvs_p": "p.Arg1358Pro"
        }
      ],
      "clinvar_disease": "Dehydrated hereditary stomatocytosis with or without pseudohyperkalemia and/or perinatal edema",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Dehydrated hereditary stomatocytosis with or without pseudohyperkalemia and/or perinatal edema",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}