← 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: 6-24522772-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 24522772,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000357578.8",
      "consequences": [
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.1020T>G",
          "hgvs_p": "p.Cys340Trp",
          "transcript": "NM_001080.3",
          "protein_id": "NP_001071.1",
          "transcript_support_level": null,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 535,
          "cds_start": 1020,
          "cds_end": null,
          "cds_length": 1608,
          "cdna_start": 1048,
          "cdna_end": null,
          "cdna_length": 5131,
          "mane_select": "ENST00000357578.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.1020T>G",
          "hgvs_p": "p.Cys340Trp",
          "transcript": "ENST00000357578.8",
          "protein_id": "ENSP00000350191.3",
          "transcript_support_level": 1,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 535,
          "cds_start": 1020,
          "cds_end": null,
          "cds_length": 1608,
          "cdna_start": 1048,
          "cdna_end": null,
          "cdna_length": 5131,
          "mane_select": "NM_001080.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.1059T>G",
          "hgvs_p": "p.Cys353Trp",
          "transcript": "ENST00000348925.2",
          "protein_id": "ENSP00000314649.3",
          "transcript_support_level": 1,
          "aa_start": 353,
          "aa_end": null,
          "aa_length": 548,
          "cds_start": 1059,
          "cds_end": null,
          "cds_length": 1647,
          "cdna_start": 1087,
          "cdna_end": null,
          "cdna_length": 2266,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.1059T>G",
          "hgvs_p": "p.Cys353Trp",
          "transcript": "NM_170740.1",
          "protein_id": "NP_733936.1",
          "transcript_support_level": null,
          "aa_start": 353,
          "aa_end": null,
          "aa_length": 548,
          "cds_start": 1059,
          "cds_end": null,
          "cds_length": 1647,
          "cdna_start": 1087,
          "cdna_end": null,
          "cdna_length": 5170,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.936T>G",
          "hgvs_p": "p.Cys312Trp",
          "transcript": "ENST00000491546.5",
          "protein_id": "ENSP00000417687.1",
          "transcript_support_level": 5,
          "aa_start": 312,
          "aa_end": null,
          "aa_length": 507,
          "cds_start": 936,
          "cds_end": null,
          "cds_length": 1524,
          "cdna_start": 1066,
          "cdna_end": null,
          "cdna_length": 1699,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.876T>G",
          "hgvs_p": "p.Cys292Trp",
          "transcript": "NM_001368954.1",
          "protein_id": "NP_001355883.1",
          "transcript_support_level": null,
          "aa_start": 292,
          "aa_end": null,
          "aa_length": 487,
          "cds_start": 876,
          "cds_end": null,
          "cds_length": 1464,
          "cdna_start": 904,
          "cdna_end": null,
          "cdna_length": 4987,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "c.639T>G",
          "hgvs_p": "p.Cys213Trp",
          "transcript": "ENST00000672352.1",
          "protein_id": "ENSP00000500876.1",
          "transcript_support_level": null,
          "aa_start": 213,
          "aa_end": null,
          "aa_length": 408,
          "cds_start": 639,
          "cds_end": null,
          "cds_length": 1227,
          "cdna_start": 639,
          "cdna_end": null,
          "cdna_length": 4685,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "n.135T>G",
          "hgvs_p": null,
          "transcript": "ENST00000479394.2",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 912,
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "n.380T>G",
          "hgvs_p": null,
          "transcript": "ENST00000672619.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": 871,
          "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": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "n.*294T>G",
          "hgvs_p": null,
          "transcript": "ENST00000672652.1",
          "protein_id": "ENSP00000500192.1",
          "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": 4883,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALDH5A1",
          "gene_hgnc_id": 408,
          "hgvs_c": "n.*294T>G",
          "hgvs_p": null,
          "transcript": "ENST00000672652.1",
          "protein_id": "ENSP00000500192.1",
          "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": 4883,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ALDH5A1",
      "gene_hgnc_id": 408,
      "dbsnp": "rs887448536",
      "frequency_reference_population": 6.841396e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.8414e-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.983062744140625,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.767,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.8756,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.42,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 0.58,
      "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": 7,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM2,PP2,PP3_Strong",
      "acmg_by_gene": [
        {
          "score": 7,
          "benign_score": 0,
          "pathogenic_score": 7,
          "criteria": [
            "PM2",
            "PP2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000357578.8",
          "gene_symbol": "ALDH5A1",
          "hgnc_id": 408,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1020T>G",
          "hgvs_p": "p.Cys340Trp"
        }
      ],
      "clinvar_disease": "Succinate-semialdehyde dehydrogenase deficiency",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Succinate-semialdehyde dehydrogenase deficiency",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}