← 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: X-49210636-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 49210636,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000323022.10",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4439C>T",
          "hgvs_p": "p.Pro1480Leu",
          "transcript": "NM_001256789.3",
          "protein_id": "NP_001243718.1",
          "transcript_support_level": null,
          "aa_start": 1480,
          "aa_end": null,
          "aa_length": 1966,
          "cds_start": 4439,
          "cds_end": null,
          "cds_length": 5901,
          "cdna_start": 4470,
          "cdna_end": null,
          "cdna_length": 6006,
          "mane_select": "ENST00000323022.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4439C>T",
          "hgvs_p": "p.Pro1480Leu",
          "transcript": "ENST00000323022.10",
          "protein_id": "ENSP00000321618.6",
          "transcript_support_level": 1,
          "aa_start": 1480,
          "aa_end": null,
          "aa_length": 1966,
          "cds_start": 4439,
          "cds_end": null,
          "cds_length": 5901,
          "cdna_start": 4470,
          "cdna_end": null,
          "cdna_length": 6006,
          "mane_select": "NM_001256789.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4472C>T",
          "hgvs_p": "p.Pro1491Leu",
          "transcript": "ENST00000376265.2",
          "protein_id": "ENSP00000365441.2",
          "transcript_support_level": 1,
          "aa_start": 1491,
          "aa_end": null,
          "aa_length": 1977,
          "cds_start": 4472,
          "cds_end": null,
          "cds_length": 5934,
          "cdna_start": 4534,
          "cdna_end": null,
          "cdna_length": 6070,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4277C>T",
          "hgvs_p": "p.Pro1426Leu",
          "transcript": "ENST00000376251.5",
          "protein_id": "ENSP00000365427.1",
          "transcript_support_level": 1,
          "aa_start": 1426,
          "aa_end": null,
          "aa_length": 1912,
          "cds_start": 4277,
          "cds_end": null,
          "cds_length": 5739,
          "cdna_start": 4277,
          "cdna_end": null,
          "cdna_length": 5813,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4472C>T",
          "hgvs_p": "p.Pro1491Leu",
          "transcript": "NM_005183.4",
          "protein_id": "NP_005174.2",
          "transcript_support_level": null,
          "aa_start": 1491,
          "aa_end": null,
          "aa_length": 1977,
          "cds_start": 4472,
          "cds_end": null,
          "cds_length": 5934,
          "cdna_start": 4503,
          "cdna_end": null,
          "cdna_length": 6039,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4277C>T",
          "hgvs_p": "p.Pro1426Leu",
          "transcript": "NM_001256790.3",
          "protein_id": "NP_001243719.1",
          "transcript_support_level": null,
          "aa_start": 1426,
          "aa_end": null,
          "aa_length": 1912,
          "cds_start": 4277,
          "cds_end": null,
          "cds_length": 5739,
          "cdna_start": 4308,
          "cdna_end": null,
          "cdna_length": 5844,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.4256C>T",
          "hgvs_p": "p.Pro1419Leu",
          "transcript": "XM_011543983.3",
          "protein_id": "XP_011542285.1",
          "transcript_support_level": null,
          "aa_start": 1419,
          "aa_end": null,
          "aa_length": 1905,
          "cds_start": 4256,
          "cds_end": null,
          "cds_length": 5718,
          "cdna_start": 4287,
          "cdna_end": null,
          "cdna_length": 5823,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "c.1685C>T",
          "hgvs_p": "p.Pro562Leu",
          "transcript": "XM_017029836.1",
          "protein_id": "XP_016885325.1",
          "transcript_support_level": null,
          "aa_start": 562,
          "aa_end": null,
          "aa_length": 1027,
          "cds_start": 1685,
          "cds_end": null,
          "cds_length": 3084,
          "cdna_start": 1770,
          "cdna_end": null,
          "cdna_length": 3243,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CACNA1F",
          "gene_hgnc_id": 1393,
          "hgvs_c": "n.364C>T",
          "hgvs_p": null,
          "transcript": "ENST00000481035.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 714,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CACNA1F",
      "gene_hgnc_id": 1393,
      "dbsnp": "rs1557106008",
      "frequency_reference_population": 0.0000045560078,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 5,
      "gnomad_exomes_af": 0.00000455601,
      "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.7907149791717529,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.816,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9258,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.33,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.929,
      "phylop100way_prediction": "Pathogenic",
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM1,PM2,PP3,PP5,BS2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 4,
          "pathogenic_score": 6,
          "criteria": [
            "PM1",
            "PM2",
            "PP3",
            "PP5",
            "BS2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000323022.10",
          "gene_symbol": "CACNA1F",
          "hgnc_id": 1393,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "XL,AD",
          "hgvs_c": "c.4439C>T",
          "hgvs_p": "p.Pro1480Leu"
        }
      ],
      "clinvar_disease": "Congenital stationary night blindness",
      "clinvar_classification": "Likely pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Congenital stationary night blindness",
      "pathogenicity_classification_combined": "Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}