← 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-196994128-C-CA (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 196994128,
      "ref": "C",
      "alt": "CA",
      "effect": "frameshift_variant",
      "transcript": "ENST00000256785.5",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "R?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CFHR5",
          "gene_hgnc_id": 24668,
          "hgvs_c": "c.486dupA",
          "hgvs_p": "p.Glu163fs",
          "transcript": "NM_030787.4",
          "protein_id": "NP_110414.1",
          "transcript_support_level": null,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 569,
          "cds_start": 487,
          "cds_end": null,
          "cds_length": 1710,
          "cdna_start": 596,
          "cdna_end": null,
          "cdna_length": 2814,
          "mane_select": "ENST00000256785.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "R?",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CFHR5",
          "gene_hgnc_id": 24668,
          "hgvs_c": "c.486dupA",
          "hgvs_p": "p.Glu163fs",
          "transcript": "ENST00000256785.5",
          "protein_id": "ENSP00000256785.4",
          "transcript_support_level": 1,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 569,
          "cds_start": 487,
          "cds_end": null,
          "cds_length": 1710,
          "cdna_start": 596,
          "cdna_end": null,
          "cdna_length": 2814,
          "mane_select": "NM_030787.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "R?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CFHR5",
          "gene_hgnc_id": 24668,
          "hgvs_c": "c.231dupA",
          "hgvs_p": "p.Glu78fs",
          "transcript": "ENST00000699466.1",
          "protein_id": "ENSP00000514393.1",
          "transcript_support_level": null,
          "aa_start": 78,
          "aa_end": null,
          "aa_length": 484,
          "cds_start": 232,
          "cds_end": null,
          "cds_length": 1455,
          "cdna_start": 534,
          "cdna_end": null,
          "cdna_length": 2352,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "R?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CFHR5",
          "gene_hgnc_id": 24668,
          "hgvs_c": "c.495dupA",
          "hgvs_p": "p.Glu166fs",
          "transcript": "XM_011510020.3",
          "protein_id": "XP_011508322.1",
          "transcript_support_level": null,
          "aa_start": 166,
          "aa_end": null,
          "aa_length": 572,
          "cds_start": 496,
          "cds_end": null,
          "cds_length": 1719,
          "cdna_start": 510,
          "cdna_end": null,
          "cdna_length": 2728,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CFHR5",
          "gene_hgnc_id": 24668,
          "hgvs_c": "n.555dupA",
          "hgvs_p": null,
          "transcript": "ENST00000699467.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2374,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "CFHR5",
          "gene_hgnc_id": 24668,
          "hgvs_c": "c.-24-1979dupA",
          "hgvs_p": null,
          "transcript": "ENST00000699468.1",
          "protein_id": "ENSP00000514394.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 267,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 804,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1545,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CFHR5",
      "gene_hgnc_id": 24668,
      "dbsnp": "rs565457964",
      "frequency_reference_population": 0.0035934781,
      "hom_count_reference_population": 16,
      "allele_count_reference_population": 5796,
      "gnomad_exomes_af": 0.00374227,
      "gnomad_genomes_af": 0.00216108,
      "gnomad_exomes_ac": 5468,
      "gnomad_genomes_ac": 328,
      "gnomad_exomes_homalt": 14,
      "gnomad_genomes_homalt": 2,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.029999999329447746,
      "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.464,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.03,
      "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": 4,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PVS1,BS2",
      "acmg_by_gene": [
        {
          "score": 4,
          "benign_score": 4,
          "pathogenic_score": 8,
          "criteria": [
            "PVS1",
            "BS2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000256785.5",
          "gene_symbol": "CFHR5",
          "hgnc_id": 24668,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.486dupA",
          "hgvs_p": "p.Glu163fs"
        }
      ],
      "clinvar_disease": "C3 glomerulonephritis,CFHR5 deficiency,Chronic kidney disease,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:8 LB:1 B:1",
      "phenotype_combined": "CFHR5 deficiency|not specified|Chronic kidney disease|not provided|C3 glomerulonephritis",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}