← 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: 1-9245257-AC-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 9245257,
      "ref": "AC",
      "alt": "A",
      "effect": "frameshift_variant",
      "transcript": "NM_004285.4",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.325delC",
          "hgvs_p": "p.Arg109fs",
          "transcript": "NM_004285.4",
          "protein_id": "NP_004276.2",
          "transcript_support_level": null,
          "aa_start": 109,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 325,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 628,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "ENST00000377403.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.325delC",
          "hgvs_p": "p.Arg109fs",
          "transcript": "ENST00000377403.7",
          "protein_id": "ENSP00000366620.2",
          "transcript_support_level": 1,
          "aa_start": 109,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 325,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 628,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "NM_004285.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.358delC",
          "hgvs_p": "p.Arg120fs",
          "transcript": "ENST00000602477.1",
          "protein_id": "ENSP00000473348.1",
          "transcript_support_level": 1,
          "aa_start": 120,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 358,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 510,
          "cdna_end": null,
          "cdna_length": 5590,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.358delC",
          "hgvs_p": "p.Arg120fs",
          "transcript": "NM_001282587.2",
          "protein_id": "NP_001269516.1",
          "transcript_support_level": null,
          "aa_start": 120,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 358,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 507,
          "cdna_end": null,
          "cdna_length": 9026,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.358delC",
          "hgvs_p": "p.Arg120fs",
          "transcript": "XM_047435002.1",
          "protein_id": "XP_047290958.1",
          "transcript_support_level": null,
          "aa_start": 120,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 358,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 832,
          "cdna_end": null,
          "cdna_length": 9351,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.352delC",
          "hgvs_p": "p.Arg118fs",
          "transcript": "XM_005263540.6",
          "protein_id": "XP_005263597.1",
          "transcript_support_level": null,
          "aa_start": 118,
          "aa_end": null,
          "aa_length": 800,
          "cds_start": 352,
          "cds_end": null,
          "cds_length": 2403,
          "cdna_start": 483,
          "cdna_end": null,
          "cdna_length": 9002,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.346delC",
          "hgvs_p": "p.Arg116fs",
          "transcript": "XM_047435003.1",
          "protein_id": "XP_047290959.1",
          "transcript_support_level": null,
          "aa_start": 116,
          "aa_end": null,
          "aa_length": 798,
          "cds_start": 346,
          "cds_end": null,
          "cds_length": 2397,
          "cdna_start": 477,
          "cdna_end": null,
          "cdna_length": 8996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.325delC",
          "hgvs_p": "p.Arg109fs",
          "transcript": "XM_006711052.5",
          "protein_id": "XP_006711115.1",
          "transcript_support_level": null,
          "aa_start": 109,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 325,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 620,
          "cdna_end": null,
          "cdna_length": 9139,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.325delC",
          "hgvs_p": "p.Arg109fs",
          "transcript": "XM_017002865.3",
          "protein_id": "XP_016858354.1",
          "transcript_support_level": null,
          "aa_start": 109,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 325,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 499,
          "cdna_end": null,
          "cdna_length": 9018,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.325delC",
          "hgvs_p": "p.Arg109fs",
          "transcript": "XM_047435005.1",
          "protein_id": "XP_047290961.1",
          "transcript_support_level": null,
          "aa_start": 109,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 325,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 497,
          "cdna_end": null,
          "cdna_length": 9016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "H6PD",
      "gene_hgnc_id": 4795,
      "dbsnp": "rs398122818",
      "frequency_reference_population": 0.000013630021,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 22,
      "gnomad_exomes_af": 0.000010945,
      "gnomad_genomes_af": 0.0000394135,
      "gnomad_exomes_ac": 16,
      "gnomad_genomes_ac": 6,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 1.734,
      "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": 9,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PVS1,PP5",
      "acmg_by_gene": [
        {
          "score": 9,
          "benign_score": 0,
          "pathogenic_score": 9,
          "criteria": [
            "PVS1",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_004285.4",
          "gene_symbol": "H6PD",
          "hgnc_id": 4795,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.325delC",
          "hgvs_p": "p.Arg109fs"
        }
      ],
      "clinvar_disease": "Cortisone reductase deficiency 1",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Cortisone reductase deficiency 1",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}