← 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: 13-48380178-GACA-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "13",
      "pos": 48380178,
      "ref": "GACA",
      "alt": "G",
      "effect": "disruptive_inframe_deletion",
      "transcript": "ENST00000267163.6",
      "consequences": [
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "NM_000321.3",
          "protein_id": "NP_000312.2",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 928,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2787,
          "cdna_start": 1601,
          "cdna_end": null,
          "cdna_length": 4768,
          "mane_select": "ENST00000267163.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "ENST00000267163.6",
          "protein_id": "ENSP00000267163.4",
          "transcript_support_level": 1,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 928,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2787,
          "cdna_start": 1601,
          "cdna_end": null,
          "cdna_length": 4768,
          "mane_select": "NM_000321.3",
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.*807_*809delACA",
          "hgvs_p": null,
          "transcript": "ENST00000467505.6",
          "protein_id": "ENSP00000434702.1",
          "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": 4274,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.*807_*809delACA",
          "hgvs_p": null,
          "transcript": "ENST00000467505.6",
          "protein_id": "ENSP00000434702.1",
          "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": 4274,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "NM_001407165.1",
          "protein_id": "NP_001394094.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 923,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2772,
          "cdna_start": 1601,
          "cdna_end": null,
          "cdna_length": 4787,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "ENST00000650461.1",
          "protein_id": "ENSP00000497193.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 923,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2772,
          "cdna_start": 1605,
          "cdna_end": null,
          "cdna_length": 4629,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "ENST00000713858.1",
          "protein_id": "ENSP00000519163.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 893,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2682,
          "cdna_start": 1505,
          "cdna_end": null,
          "cdna_length": 4552,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "ENST00000713857.1",
          "protein_id": "ENSP00000519162.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 877,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2634,
          "cdna_start": 1505,
          "cdna_end": null,
          "cdna_length": 4504,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "ENST00000713856.1",
          "protein_id": "ENSP00000519161.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 851,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 2556,
          "cdna_start": 1597,
          "cdna_end": null,
          "cdna_length": 4110,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "NI",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del",
          "transcript": "NM_001407166.1",
          "protein_id": "NP_001394095.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 568,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 1707,
          "cdna_start": 1601,
          "cdna_end": null,
          "cdna_length": 6581,
          "mane_select": null,
          "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": 15,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.*513_*515delACA",
          "hgvs_p": null,
          "transcript": "ENST00000713859.1",
          "protein_id": "ENSP00000519164.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": 4494,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.*513_*515delACA",
          "hgvs_p": null,
          "transcript": "ENST00000713859.1",
          "protein_id": "ENSP00000519164.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": 4494,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "RB1",
      "gene_hgnc_id": 9884,
      "dbsnp": "rs587776788",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.03999999910593033,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 8.315,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.04,
      "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,PM2,PM4_Supporting,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 13,
          "benign_score": 0,
          "pathogenic_score": 13,
          "criteria": [
            "PM1",
            "PM2",
            "PM4_Supporting",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000267163.6",
          "gene_symbol": "RB1",
          "hgnc_id": 9884,
          "effects": [
            "disruptive_inframe_deletion"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1439_1441delACA",
          "hgvs_p": "p.Asn480del"
        }
      ],
      "clinvar_disease": "Hereditary cancer-predisposing syndrome,Retinoblastoma",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:3",
      "phenotype_combined": "Retinoblastoma|Hereditary cancer-predisposing syndrome",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}