← 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: 6-128171037-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 128171037,
      "ref": "A",
      "alt": "C",
      "effect": "intron_variant",
      "transcript": "ENST00000368226.9",
      "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": 30,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "NM_002844.4",
          "protein_id": "NP_002835.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1440,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4323,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6006,
          "mane_select": "ENST00000368226.9",
          "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": 30,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000368226.9",
          "protein_id": "ENSP00000357209.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1440,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4323,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6006,
          "mane_select": "NM_002844.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": 33,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000532331.5",
          "protein_id": "ENSP00000432973.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1462,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4389,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5757,
          "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": 31,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000368213.9",
          "protein_id": "ENSP00000357196.5",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1446,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4341,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5816,
          "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": 30,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000368215.7",
          "protein_id": "ENSP00000357198.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1439,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4320,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4651,
          "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": 18,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "n.*656+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000531050.5",
          "protein_id": "ENSP00000432960.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": 2515,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LOC124900216",
          "gene_hgnc_id": null,
          "hgvs_c": "n.10325T>G",
          "hgvs_p": null,
          "transcript": "XR_007059752.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": 58373,
          "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": 34,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000368207.7",
          "protein_id": "ENSP00000357190.3",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1472,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4419,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4758,
          "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": 33,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "NM_001291981.2",
          "protein_id": "NP_001278910.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1462,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4389,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6072,
          "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": 32,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000368210.7",
          "protein_id": "ENSP00000357193.3",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1458,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4377,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5025,
          "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": 31,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "NM_001135648.3",
          "protein_id": "NP_001129120.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1446,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4341,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6024,
          "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": 30,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "NM_001291984.2",
          "protein_id": "NP_001278913.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1439,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4320,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6003,
          "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": 19,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null,
          "transcript": "NM_001291982.2",
          "protein_id": "NP_001278911.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 876,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2631,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3162,
          "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": 19,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "c.775+13395T>G",
          "hgvs_p": null,
          "transcript": "NM_001291983.2",
          "protein_id": "NP_001278912.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 761,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2286,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2932,
          "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": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "n.1403+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000524481.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": 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": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "PTPRK",
          "gene_hgnc_id": 9674,
          "hgvs_c": "n.1319+13395T>G",
          "hgvs_p": null,
          "transcript": "ENST00000524534.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": 2441,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PTPRK",
      "gene_hgnc_id": 9674,
      "dbsnp": "rs10499138",
      "frequency_reference_population": 0.000006580679,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.00000658068,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8899999856948853,
      "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.89,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.516,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000368226.9",
          "gene_symbol": "PTPRK",
          "hgnc_id": 9674,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1162+13395T>G",
          "hgvs_p": null
        },
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "XR_007059752.1",
          "gene_symbol": "LOC124900216",
          "hgnc_id": null,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.10325T>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}