← 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: 8-63061344-CT-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "8",
      "pos": 63061344,
      "ref": "CT",
      "alt": "C",
      "effect": "frameshift_variant",
      "transcript": "ENST00000260116.5",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.744delA",
          "hgvs_p": "p.Glu249fs",
          "transcript": "NM_000370.3",
          "protein_id": "NP_000361.1",
          "transcript_support_level": null,
          "aa_start": 248,
          "aa_end": null,
          "aa_length": 278,
          "cds_start": 744,
          "cds_end": null,
          "cds_length": 837,
          "cdna_start": 776,
          "cdna_end": null,
          "cdna_length": 2633,
          "mane_select": "ENST00000260116.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.744delA",
          "hgvs_p": "p.Glu249fs",
          "transcript": "ENST00000260116.5",
          "protein_id": "ENSP00000260116.4",
          "transcript_support_level": 1,
          "aa_start": 248,
          "aa_end": null,
          "aa_length": 278,
          "cds_start": 744,
          "cds_end": null,
          "cds_length": 837,
          "cdna_start": 776,
          "cdna_end": null,
          "cdna_length": 2633,
          "mane_select": "NM_000370.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.861delA",
          "hgvs_p": "p.Glu288fs",
          "transcript": "NM_001413418.1",
          "protein_id": "NP_001400347.1",
          "transcript_support_level": null,
          "aa_start": 287,
          "aa_end": null,
          "aa_length": 317,
          "cds_start": 861,
          "cds_end": null,
          "cds_length": 954,
          "cdna_start": 893,
          "cdna_end": null,
          "cdna_length": 3829,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.396delA",
          "hgvs_p": "p.Glu133fs",
          "transcript": "NM_001413414.1",
          "protein_id": "NP_001400343.1",
          "transcript_support_level": null,
          "aa_start": 132,
          "aa_end": null,
          "aa_length": 162,
          "cds_start": 396,
          "cds_end": null,
          "cds_length": 489,
          "cdna_start": 428,
          "cdna_end": null,
          "cdna_length": 3364,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.285delA",
          "hgvs_p": "p.Glu96fs",
          "transcript": "NM_001413417.1",
          "protein_id": "NP_001400346.1",
          "transcript_support_level": null,
          "aa_start": 95,
          "aa_end": null,
          "aa_length": 125,
          "cds_start": 285,
          "cds_end": null,
          "cds_length": 378,
          "cdna_start": 317,
          "cdna_end": null,
          "cdna_length": 3253,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_retained_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.*1delA",
          "hgvs_p": null,
          "transcript": "NM_001413415.1",
          "protein_id": "NP_001400344.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 145,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 438,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3407,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "n.582delA",
          "hgvs_p": null,
          "transcript": "NR_182149.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": 3518,
          "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": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "n.911delA",
          "hgvs_p": null,
          "transcript": "NR_182150.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": 3847,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "n.622delA",
          "hgvs_p": null,
          "transcript": "NR_182151.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": 3558,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.*646delA",
          "hgvs_p": null,
          "transcript": "NM_001413416.1",
          "protein_id": "NP_001400345.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 282,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 849,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4463,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "c.*1delA",
          "hgvs_p": null,
          "transcript": "NM_001413415.1",
          "protein_id": "NP_001400344.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 145,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 438,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3407,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "TTPA",
          "gene_hgnc_id": 12404,
          "hgvs_c": "n.233-12742delA",
          "hgvs_p": null,
          "transcript": "ENST00000521138.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": 283,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TTPA",
      "gene_hgnc_id": 12404,
      "dbsnp": "rs397515377",
      "frequency_reference_population": 0.000028735436,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 42,
      "gnomad_exomes_af": 0.0000287354,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 42,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "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.829,
      "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": 14,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1_Strong,PM2,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 14,
          "benign_score": 0,
          "pathogenic_score": 14,
          "criteria": [
            "PVS1_Strong",
            "PM2",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000260116.5",
          "gene_symbol": "TTPA",
          "hgnc_id": 12404,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.744delA",
          "hgvs_p": "p.Glu249fs"
        }
      ],
      "clinvar_disease": " Friedreich-like, with isolated vitamin E deficiency,Ataxia,Familial isolated deficiency of vitamin E,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:8 O:1",
      "phenotype_combined": "Ataxia, Friedreich-like, with isolated vitamin E deficiency|Familial isolated deficiency of vitamin E|not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}