← 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: 21-41243366-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "21",
      "pos": 41243366,
      "ref": "C",
      "alt": "T",
      "effect": "intron_variant",
      "transcript": "ENST00000330333.11",
      "consequences": [
        {
          "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": 9,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null,
          "transcript": "NM_012105.5",
          "protein_id": "NP_036237.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 518,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1557,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8567,
          "mane_select": "ENST00000330333.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000330333.11",
          "protein_id": "ENSP00000332979.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 518,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1557,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8567,
          "mane_select": "NM_012105.5",
          "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": 8,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000347667.5",
          "protein_id": "ENSP00000327528.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 468,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1407,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8764,
          "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": 8,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000328735.10",
          "protein_id": "ENSP00000333854.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 396,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1191,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2824,
          "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": 8,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null,
          "transcript": "NM_138991.3",
          "protein_id": "NP_620476.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 468,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1407,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8417,
          "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": 8,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null,
          "transcript": "NM_138992.3",
          "protein_id": "NP_620477.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 396,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1191,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8398,
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "n.204-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000463674.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 1013,
          "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": 7,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "n.384-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000465326.5",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 939,
          "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": 8,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "n.453-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000466122.5",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 2235,
          "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": 8,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "n.428-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000487994.5",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 994,
          "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": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "n.399-10C>T",
          "hgvs_p": null,
          "transcript": "ENST00000491838.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 843,
          "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": 10,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "BACE2",
          "gene_hgnc_id": 934,
          "hgvs_c": "c.463-10C>T",
          "hgvs_p": null,
          "transcript": "XM_017028314.2",
          "protein_id": "XP_016883803.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8737,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "BACE2",
      "gene_hgnc_id": 934,
      "dbsnp": "rs2252576",
      "frequency_reference_population": 0.25285918,
      "hom_count_reference_population": 61160,
      "allele_count_reference_population": 399120,
      "gnomad_exomes_af": 0.241138,
      "gnomad_genomes_af": 0.362873,
      "gnomad_exomes_ac": 343972,
      "gnomad_genomes_ac": 55148,
      "gnomad_exomes_homalt": 47177,
      "gnomad_genomes_homalt": 13983,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8600000143051147,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.86,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.359,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.0000137422158416596,
      "dbscsnv_ada_prediction": "Benign",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -13,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6,BA1",
      "acmg_by_gene": [
        {
          "score": -13,
          "benign_score": 13,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000330333.11",
          "gene_symbol": "BACE2",
          "hgnc_id": 934,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.748-10C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "BACE2-related disorder",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "BACE2-related disorder",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}