← 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: 18-12340334-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "18",
      "pos": 12340334,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000269143.8",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "c.1847A>G",
          "hgvs_p": "p.Tyr616Cys",
          "transcript": "NM_006796.3",
          "protein_id": "NP_006787.2",
          "transcript_support_level": null,
          "aa_start": 616,
          "aa_end": null,
          "aa_length": 797,
          "cds_start": 1847,
          "cds_end": null,
          "cds_length": 2394,
          "cdna_start": 1992,
          "cdna_end": null,
          "cdna_length": 3160,
          "mane_select": "ENST00000269143.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "c.1847A>G",
          "hgvs_p": "p.Tyr616Cys",
          "transcript": "ENST00000269143.8",
          "protein_id": "ENSP00000269143.2",
          "transcript_support_level": 1,
          "aa_start": 616,
          "aa_end": null,
          "aa_length": 797,
          "cds_start": 1847,
          "cds_end": null,
          "cds_length": 2394,
          "cdna_start": 1992,
          "cdna_end": null,
          "cdna_length": 3160,
          "mane_select": "NM_006796.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "c.1772A>G",
          "hgvs_p": "p.Tyr591Cys",
          "transcript": "ENST00000691179.1",
          "protein_id": "ENSP00000509010.1",
          "transcript_support_level": null,
          "aa_start": 591,
          "aa_end": null,
          "aa_length": 772,
          "cds_start": 1772,
          "cds_end": null,
          "cds_length": 2319,
          "cdna_start": 1799,
          "cdna_end": null,
          "cdna_length": 2954,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "c.1709A>G",
          "hgvs_p": "p.Tyr570Cys",
          "transcript": "ENST00000688199.1",
          "protein_id": "ENSP00000510237.1",
          "transcript_support_level": null,
          "aa_start": 570,
          "aa_end": null,
          "aa_length": 751,
          "cds_start": 1709,
          "cds_end": null,
          "cds_length": 2256,
          "cdna_start": 1736,
          "cdna_end": null,
          "cdna_length": 2888,
          "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": 14,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.*1443A>G",
          "hgvs_p": null,
          "transcript": "ENST00000687337.1",
          "protein_id": "ENSP00000508998.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": 2921,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.383A>G",
          "hgvs_p": null,
          "transcript": "ENST00000687477.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": 1528,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.*1224A>G",
          "hgvs_p": null,
          "transcript": "ENST00000691970.1",
          "protein_id": "ENSP00000508440.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": 2773,
          "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": 16,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.*277A>G",
          "hgvs_p": null,
          "transcript": "ENST00000692497.1",
          "protein_id": "ENSP00000509870.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": 3157,
          "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": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.1665A>G",
          "hgvs_p": null,
          "transcript": "ENST00000692988.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": 2820,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.*1443A>G",
          "hgvs_p": null,
          "transcript": "ENST00000687337.1",
          "protein_id": "ENSP00000508998.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": 2921,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.*1224A>G",
          "hgvs_p": null,
          "transcript": "ENST00000691970.1",
          "protein_id": "ENSP00000508440.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": 2773,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "n.*277A>G",
          "hgvs_p": null,
          "transcript": "ENST00000692497.1",
          "protein_id": "ENSP00000509870.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": 3157,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "TUBB6",
          "gene_hgnc_id": 20776,
          "hgvs_c": "c.86-3715T>C",
          "hgvs_p": null,
          "transcript": "ENST00000586691.1",
          "protein_id": "ENSP00000465448.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 30,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 93,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 359,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "AFG3L2",
          "gene_hgnc_id": 315,
          "hgvs_c": "c.1780-2799A>G",
          "hgvs_p": null,
          "transcript": "XM_011525601.4",
          "protein_id": "XP_011523903.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 730,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2193,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2959,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": "LOC107985154",
          "gene_hgnc_id": null,
          "hgvs_c": "n.781+1754T>C",
          "hgvs_p": null,
          "transcript": "XR_001753363.2",
          "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": 1056,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": "LOC107985154",
          "gene_hgnc_id": null,
          "hgvs_c": "n.3291+3432T>C",
          "hgvs_p": null,
          "transcript": "XR_002958227.2",
          "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": 3566,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "AFG3L2",
      "gene_hgnc_id": 315,
      "dbsnp": "rs387906889",
      "frequency_reference_population": 0.000019154362,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 28,
      "gnomad_exomes_af": 0.0000191544,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 28,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9021801352500916,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.765,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.7287,
      "alphamissense_prediction": "Pathogenic",
      "bayesdelnoaf_score": 0.41,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 8.014,
      "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": 13,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM1,PP2,PP3_Moderate,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 13,
          "benign_score": 0,
          "pathogenic_score": 13,
          "criteria": [
            "PM1",
            "PP2",
            "PP3_Moderate",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000269143.8",
          "gene_symbol": "AFG3L2",
          "hgnc_id": 315,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.1847A>G",
          "hgvs_p": "p.Tyr616Cys"
        },
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PM2",
            "PP3_Moderate",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000586691.1",
          "gene_symbol": "TUBB6",
          "hgnc_id": 20776,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "Unknown",
          "hgvs_c": "c.86-3715T>C",
          "hgvs_p": null
        },
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PM2",
            "PP3_Moderate",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "XR_001753363.2",
          "gene_symbol": "LOC107985154",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.781+1754T>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Spastic ataxia 5,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:4",
      "phenotype_combined": "Spastic ataxia 5|not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}