← 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: 12-101757236-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 101757236,
      "ref": "A",
      "alt": "T",
      "effect": "stop_gained",
      "transcript": "NM_024312.5",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3410T>A",
          "hgvs_p": "p.Leu1137*",
          "transcript": "NM_024312.5",
          "protein_id": "NP_077288.2",
          "transcript_support_level": null,
          "aa_start": 1137,
          "aa_end": null,
          "aa_length": 1256,
          "cds_start": 3410,
          "cds_end": null,
          "cds_length": 3771,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000299314.12",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_024312.5"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3410T>A",
          "hgvs_p": "p.Leu1137*",
          "transcript": "ENST00000299314.12",
          "protein_id": "ENSP00000299314.7",
          "transcript_support_level": 1,
          "aa_start": 1137,
          "aa_end": null,
          "aa_length": 1256,
          "cds_start": 3410,
          "cds_end": null,
          "cds_length": 3771,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_024312.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000299314.12"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3431T>A",
          "hgvs_p": "p.Leu1144*",
          "transcript": "ENST00000917136.1",
          "protein_id": "ENSP00000587195.1",
          "transcript_support_level": null,
          "aa_start": 1144,
          "aa_end": null,
          "aa_length": 1263,
          "cds_start": 3431,
          "cds_end": null,
          "cds_length": 3792,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000917136.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3404T>A",
          "hgvs_p": "p.Leu1135*",
          "transcript": "ENST00000917134.1",
          "protein_id": "ENSP00000587193.1",
          "transcript_support_level": null,
          "aa_start": 1135,
          "aa_end": null,
          "aa_length": 1254,
          "cds_start": 3404,
          "cds_end": null,
          "cds_length": 3765,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000917134.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3290T>A",
          "hgvs_p": "p.Leu1097*",
          "transcript": "ENST00000917133.1",
          "protein_id": "ENSP00000587192.1",
          "transcript_support_level": null,
          "aa_start": 1097,
          "aa_end": null,
          "aa_length": 1216,
          "cds_start": 3290,
          "cds_end": null,
          "cds_length": 3651,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000917133.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3257T>A",
          "hgvs_p": "p.Leu1086*",
          "transcript": "ENST00000917135.1",
          "protein_id": "ENSP00000587194.1",
          "transcript_support_level": null,
          "aa_start": 1086,
          "aa_end": null,
          "aa_length": 1205,
          "cds_start": 3257,
          "cds_end": null,
          "cds_length": 3618,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000917135.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3206T>A",
          "hgvs_p": "p.Leu1069*",
          "transcript": "ENST00000953730.1",
          "protein_id": "ENSP00000623789.1",
          "transcript_support_level": null,
          "aa_start": 1069,
          "aa_end": null,
          "aa_length": 1188,
          "cds_start": 3206,
          "cds_end": null,
          "cds_length": 3567,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000953730.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.221T>A",
          "hgvs_p": "p.Leu74*",
          "transcript": "ENST00000550718.1",
          "protein_id": "ENSP00000449557.1",
          "transcript_support_level": 3,
          "aa_start": 74,
          "aa_end": null,
          "aa_length": 116,
          "cds_start": 221,
          "cds_end": null,
          "cds_length": 351,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000550718.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3329T>A",
          "hgvs_p": "p.Leu1110*",
          "transcript": "XM_011538731.3",
          "protein_id": "XP_011537033.1",
          "transcript_support_level": null,
          "aa_start": 1110,
          "aa_end": null,
          "aa_length": 1229,
          "cds_start": 3329,
          "cds_end": null,
          "cds_length": 3690,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011538731.3"
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.3410T>A",
          "hgvs_p": "p.Leu1137*",
          "transcript": "XM_006719593.4",
          "protein_id": "XP_006719656.1",
          "transcript_support_level": null,
          "aa_start": 1137,
          "aa_end": null,
          "aa_length": 1179,
          "cds_start": 3410,
          "cds_end": null,
          "cds_length": 3540,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006719593.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "n.276T>A",
          "hgvs_p": null,
          "transcript": "ENST00000549194.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000549194.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "n.161T>A",
          "hgvs_p": null,
          "transcript": "ENST00000549738.5",
          "protein_id": "ENSP00000450161.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000549738.5"
        }
      ],
      "gene_symbol": "GNPTAB",
      "gene_hgnc_id": 29670,
      "dbsnp": "rs142065232",
      "frequency_reference_population": 0.0000037419968,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 6,
      "gnomad_exomes_af": 0.00000275632,
      "gnomad_genomes_af": 0.0000131397,
      "gnomad_exomes_ac": 4,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6600000262260437,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.66,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 8.942,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.01,
      "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": 18,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 18,
          "benign_score": 0,
          "pathogenic_score": 18,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_024312.5",
          "gene_symbol": "GNPTAB",
          "hgnc_id": 29670,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.3410T>A",
          "hgvs_p": "p.Leu1137*"
        }
      ],
      "clinvar_disease": "Mucolipidosis type II,Pseudo-Hurler polydystrophy,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:3 LP:1 O:1",
      "phenotype_combined": "Mucolipidosis type II|Pseudo-Hurler polydystrophy|Mucolipidosis type II;Pseudo-Hurler polydystrophy|not provided",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}