← 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-112013512-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 112013512,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_006817.4",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERP29",
          "gene_hgnc_id": 13799,
          "hgvs_c": "c.47C>G",
          "hgvs_p": "p.Pro16Arg",
          "transcript": "NM_006817.4",
          "protein_id": "NP_006808.1",
          "transcript_support_level": null,
          "aa_start": 16,
          "aa_end": null,
          "aa_length": 261,
          "cds_start": 47,
          "cds_end": null,
          "cds_length": 786,
          "cdna_start": 87,
          "cdna_end": null,
          "cdna_length": 1623,
          "mane_select": "ENST00000261735.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERP29",
          "gene_hgnc_id": 13799,
          "hgvs_c": "c.47C>G",
          "hgvs_p": "p.Pro16Arg",
          "transcript": "ENST00000261735.4",
          "protein_id": "ENSP00000261735.3",
          "transcript_support_level": 1,
          "aa_start": 16,
          "aa_end": null,
          "aa_length": 261,
          "cds_start": 47,
          "cds_end": null,
          "cds_length": 786,
          "cdna_start": 87,
          "cdna_end": null,
          "cdna_length": 1623,
          "mane_select": "NM_006817.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERP29",
          "gene_hgnc_id": 13799,
          "hgvs_c": "n.84C>G",
          "hgvs_p": null,
          "transcript": "ENST00000553161.1",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 916,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMEM116",
          "gene_hgnc_id": 25084,
          "hgvs_c": "c.281G>C",
          "hgvs_p": "p.Gly94Ala",
          "transcript": "ENST00000716768.1",
          "protein_id": "ENSP00000520598.1",
          "transcript_support_level": null,
          "aa_start": 94,
          "aa_end": null,
          "aa_length": 465,
          "cds_start": 281,
          "cds_end": null,
          "cds_length": 1398,
          "cdna_start": 355,
          "cdna_end": null,
          "cdna_length": 1795,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERP29",
          "gene_hgnc_id": 13799,
          "hgvs_c": "c.31C>G",
          "hgvs_p": "p.Pro11Ala",
          "transcript": "ENST00000552052.1",
          "protein_id": "ENSP00000447472.1",
          "transcript_support_level": 3,
          "aa_start": 11,
          "aa_end": null,
          "aa_length": 93,
          "cds_start": 31,
          "cds_end": null,
          "cds_length": 282,
          "cdna_start": 33,
          "cdna_end": null,
          "cdna_length": 284,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERP29",
          "gene_hgnc_id": 13799,
          "hgvs_c": "c.47C>G",
          "hgvs_p": "p.Pro16Arg",
          "transcript": "NM_001034025.2",
          "protein_id": "NP_001029197.1",
          "transcript_support_level": null,
          "aa_start": 16,
          "aa_end": null,
          "aa_length": 53,
          "cds_start": 47,
          "cds_end": null,
          "cds_length": 162,
          "cdna_start": 87,
          "cdna_end": null,
          "cdna_length": 1484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERP29",
          "gene_hgnc_id": 13799,
          "hgvs_c": "c.47C>G",
          "hgvs_p": "p.Pro16Arg",
          "transcript": "ENST00000455836.1",
          "protein_id": "ENSP00000412083.1",
          "transcript_support_level": 2,
          "aa_start": 16,
          "aa_end": null,
          "aa_length": 53,
          "cds_start": 47,
          "cds_end": null,
          "cds_length": 162,
          "cdna_start": 165,
          "cdna_end": null,
          "cdna_length": 1333,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMEM116",
          "gene_hgnc_id": 25084,
          "hgvs_c": "c.-19G>C",
          "hgvs_p": null,
          "transcript": "ENST00000716727.1",
          "protein_id": "ENSP00000520597.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 344,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1035,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1731,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ERP29",
      "gene_hgnc_id": 13799,
      "dbsnp": "rs752231140",
      "frequency_reference_population": 0.00002728611,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 44,
      "gnomad_exomes_af": 0.000028077,
      "gnomad_genomes_af": 0.0000197018,
      "gnomad_exomes_ac": 41,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.25867849588394165,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.132,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1615,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.3,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.875,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_006817.4",
          "gene_symbol": "ERP29",
          "hgnc_id": 13799,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.47C>G",
          "hgvs_p": "p.Pro16Arg"
        },
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000716768.1",
          "gene_symbol": "TMEM116",
          "hgnc_id": 25084,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.281G>C",
          "hgvs_p": "p.Gly94Ala"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}