← 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-49185580-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 49185580,
      "ref": "A",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "NM_006009.4",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.786T>C",
          "hgvs_p": "p.Tyr262Tyr",
          "transcript": "NM_006009.4",
          "protein_id": "NP_006000.2",
          "transcript_support_level": null,
          "aa_start": 262,
          "aa_end": null,
          "aa_length": 451,
          "cds_start": 786,
          "cds_end": null,
          "cds_length": 1356,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000301071.12",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_006009.4"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.786T>C",
          "hgvs_p": "p.Tyr262Tyr",
          "transcript": "ENST00000301071.12",
          "protein_id": "ENSP00000301071.7",
          "transcript_support_level": 1,
          "aa_start": 262,
          "aa_end": null,
          "aa_length": 451,
          "cds_start": 786,
          "cds_end": null,
          "cds_length": 1356,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_006009.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000301071.12"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.681T>C",
          "hgvs_p": "p.Tyr227Tyr",
          "transcript": "ENST00000550767.6",
          "protein_id": "ENSP00000446637.1",
          "transcript_support_level": 1,
          "aa_start": 227,
          "aa_end": null,
          "aa_length": 416,
          "cds_start": 681,
          "cds_end": null,
          "cds_length": 1251,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000550767.6"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.786T>C",
          "hgvs_p": "p.Tyr262Tyr",
          "transcript": "NM_001270399.2",
          "protein_id": "NP_001257328.1",
          "transcript_support_level": null,
          "aa_start": 262,
          "aa_end": null,
          "aa_length": 451,
          "cds_start": 786,
          "cds_end": null,
          "cds_length": 1356,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001270399.2"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.786T>C",
          "hgvs_p": "p.Tyr262Tyr",
          "transcript": "ENST00000295766.9",
          "protein_id": "ENSP00000439020.2",
          "transcript_support_level": 2,
          "aa_start": 262,
          "aa_end": null,
          "aa_length": 451,
          "cds_start": 786,
          "cds_end": null,
          "cds_length": 1356,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000295766.9"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.786T>C",
          "hgvs_p": "p.Tyr262Tyr",
          "transcript": "ENST00000715688.1",
          "protein_id": "ENSP00000520499.1",
          "transcript_support_level": null,
          "aa_start": 262,
          "aa_end": null,
          "aa_length": 451,
          "cds_start": 786,
          "cds_end": null,
          "cds_length": 1356,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000715688.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.780T>C",
          "hgvs_p": "p.Tyr260Tyr",
          "transcript": "ENST00000928854.1",
          "protein_id": "ENSP00000598913.1",
          "transcript_support_level": null,
          "aa_start": 260,
          "aa_end": null,
          "aa_length": 449,
          "cds_start": 780,
          "cds_end": null,
          "cds_length": 1350,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000928854.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.729T>C",
          "hgvs_p": "p.Tyr243Tyr",
          "transcript": "ENST00000871057.1",
          "protein_id": "ENSP00000541116.1",
          "transcript_support_level": null,
          "aa_start": 243,
          "aa_end": null,
          "aa_length": 432,
          "cds_start": 729,
          "cds_end": null,
          "cds_length": 1299,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871057.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.681T>C",
          "hgvs_p": "p.Tyr227Tyr",
          "transcript": "NM_001270400.2",
          "protein_id": "NP_001257329.1",
          "transcript_support_level": null,
          "aa_start": 227,
          "aa_end": null,
          "aa_length": 416,
          "cds_start": 681,
          "cds_end": null,
          "cds_length": 1251,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001270400.2"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.681T>C",
          "hgvs_p": "p.Tyr227Tyr",
          "transcript": "ENST00000547939.6",
          "protein_id": "ENSP00000450268.2",
          "transcript_support_level": 3,
          "aa_start": 227,
          "aa_end": null,
          "aa_length": 416,
          "cds_start": 681,
          "cds_end": null,
          "cds_length": 1251,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000547939.6"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.681T>C",
          "hgvs_p": "p.Tyr227Tyr",
          "transcript": "ENST00000552924.2",
          "protein_id": "ENSP00000448725.2",
          "transcript_support_level": 2,
          "aa_start": 227,
          "aa_end": null,
          "aa_length": 416,
          "cds_start": 681,
          "cds_end": null,
          "cds_length": 1251,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000552924.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.*242T>C",
          "hgvs_p": null,
          "transcript": "ENST00000679733.1",
          "protein_id": "ENSP00000505459.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 188,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 567,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000679733.1"
        },
        {
          "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": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "n.1819T>C",
          "hgvs_p": null,
          "transcript": "ENST00000550811.2",
          "protein_id": null,
          "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": "retained_intron",
          "feature": "ENST00000550811.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1B-AS1",
          "gene_hgnc_id": 56356,
          "hgvs_c": "n.474-2703A>G",
          "hgvs_p": null,
          "transcript": "ENST00000656133.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "pseudogene",
          "feature": "ENST00000656133.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TUBA1A",
          "gene_hgnc_id": 20766,
          "hgvs_c": "c.*242T>C",
          "hgvs_p": null,
          "transcript": "ENST00000546918.1",
          "protein_id": "ENSP00000446613.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 231,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 696,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000546918.1"
        }
      ],
      "gene_symbol": "TUBA1A",
      "gene_hgnc_id": 20766,
      "dbsnp": "rs762008241",
      "frequency_reference_population": 0.0009000486,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 137,
      "gnomad_exomes_af": 0.000349702,
      "gnomad_genomes_af": 0.000900049,
      "gnomad_exomes_ac": 511,
      "gnomad_genomes_ac": 137,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6499999761581421,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "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": -0.65,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.396,
      "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": -17,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BP7,BS2",
      "acmg_by_gene": [
        {
          "score": -17,
          "benign_score": 17,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BP7",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_006009.4",
          "gene_symbol": "TUBA1A",
          "hgnc_id": 20766,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.786T>C",
          "hgvs_p": "p.Tyr262Tyr"
        },
        {
          "score": -12,
          "benign_score": 12,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000656133.1",
          "gene_symbol": "TUBA1B-AS1",
          "hgnc_id": 56356,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.474-2703A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:1",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}