← 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: 8-41696350-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "8",
      "pos": 41696350,
      "ref": "C",
      "alt": "A",
      "effect": "intron_variant",
      "transcript": "ENST00000289734.13",
      "consequences": [
        {
          "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": 43,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null,
          "transcript": "NM_000037.4",
          "protein_id": "NP_000028.3",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1880,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5643,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8292,
          "mane_select": "ENST00000289734.13",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000289734.13",
          "protein_id": "ENSP00000289734.8",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1880,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5643,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8292,
          "mane_select": "NM_000037.4",
          "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": 43,
          "intron_rank": 27,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.3083+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000265709.14",
          "protein_id": "ENSP00000265709.8",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1897,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5694,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8457,
          "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": 42,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000347528.8",
          "protein_id": "ENSP00000339620.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1881,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5646,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8237,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "n.443+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000524227.5",
          "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": 3825,
          "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": 45,
          "intron_rank": 28,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.3179+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000705521.1",
          "protein_id": "ENSP00000516136.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1953,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5862,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6373,
          "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": 43,
          "intron_rank": 27,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.3083+13G>T",
          "hgvs_p": null,
          "transcript": "NM_001142446.2",
          "protein_id": "NP_001135918.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1897,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5694,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8457,
          "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": 42,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null,
          "transcript": "NM_020476.3",
          "protein_id": "NP_065209.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1881,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5646,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8232,
          "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": 42,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null,
          "transcript": "NM_020475.3",
          "protein_id": "NP_065208.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1856,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5571,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8157,
          "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": 42,
          "intron_rank": 27,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2996+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000705522.1",
          "protein_id": "ENSP00000516137.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1854,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5565,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6004,
          "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": 42,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null,
          "transcript": "NM_020477.3",
          "protein_id": "NP_065210.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1719,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5160,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7746,
          "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": 27,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "ANK1",
          "gene_hgnc_id": 492,
          "hgvs_c": "c.923+13G>T",
          "hgvs_p": null,
          "transcript": "ENST00000520299.5",
          "protein_id": "ENSP00000430174.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1039,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3120,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3587,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ANK1",
      "gene_hgnc_id": 492,
      "dbsnp": "rs200746947",
      "frequency_reference_population": 0.00071744283,
      "hom_count_reference_population": 3,
      "allele_count_reference_population": 1157,
      "gnomad_exomes_af": 0.0007334,
      "gnomad_genomes_af": 0.00056449,
      "gnomad_exomes_ac": 1071,
      "gnomad_genomes_ac": 86,
      "gnomad_exomes_homalt": 3,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8399999737739563,
      "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.84,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.786,
      "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": -13,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -13,
          "benign_score": 13,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000289734.13",
          "gene_symbol": "ANK1",
          "hgnc_id": 492,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.2960+13G>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Hereditary spherocytosis type 1,Spherocytosis,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:3",
      "phenotype_combined": "not specified|Hereditary spherocytosis type 1|Spherocytosis|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}