← 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-101768036-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 101768036,
      "ref": "C",
      "alt": "T",
      "effect": "splice_donor_variant,intron_variant",
      "transcript": "NM_024312.5",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1409G>A",
          "hgvs_p": "p.Gly470Asp",
          "transcript": "ENST00000549940.5",
          "protein_id": "ENSP00000449150.1",
          "transcript_support_level": 1,
          "aa_start": 470,
          "aa_end": null,
          "aa_length": 490,
          "cds_start": 1409,
          "cds_end": null,
          "cds_length": 1473,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000549940.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1408+1G>A",
          "hgvs_p": null,
          "transcript": "NM_024312.5",
          "protein_id": "NP_077288.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1256,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1408+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000299314.12",
          "protein_id": "ENSP00000299314.7",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1256,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1429+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000917136.1",
          "protein_id": "ENSP00000587195.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1263,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1402+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000917134.1",
          "protein_id": "ENSP00000587193.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1254,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1288+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000917133.1",
          "protein_id": "ENSP00000587192.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1216,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1255+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000917135.1",
          "protein_id": "ENSP00000587194.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1205,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1408+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000953730.1",
          "protein_id": "ENSP00000623789.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1188,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1327+1G>A",
          "hgvs_p": null,
          "transcript": "XM_011538731.3",
          "protein_id": "XP_011537033.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1229,
          "cds_start": null,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "c.1408+1G>A",
          "hgvs_p": null,
          "transcript": "XM_006719593.4",
          "protein_id": "XP_006719656.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1179,
          "cds_start": null,
          "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": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "GNPTAB",
          "gene_hgnc_id": 29670,
          "hgvs_c": "n.67+1G>A",
          "hgvs_p": null,
          "transcript": "ENST00000552009.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": "ENST00000552009.1"
        }
      ],
      "gene_symbol": "GNPTAB",
      "gene_hgnc_id": 29670,
      "dbsnp": "rs1060499680",
      "frequency_reference_population": 6.8411714e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84117e-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.7059999704360962,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0.9079999923706055,
      "splice_prediction_selected": "Pathogenic",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": 0.706,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.2861,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.45,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.293,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.99,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": 0.999960597114489,
      "dbscsnv_ada_prediction": "Pathogenic",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 10,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2",
      "acmg_by_gene": [
        {
          "score": 10,
          "benign_score": 0,
          "pathogenic_score": 10,
          "criteria": [
            "PVS1",
            "PM2"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_024312.5",
          "gene_symbol": "GNPTAB",
          "hgnc_id": 29670,
          "effects": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1408+1G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}