← 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: 20-45025072-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 45025072,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000372806.8",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1247C>T",
          "hgvs_p": "p.Pro416Leu",
          "transcript": "NM_006282.5",
          "protein_id": "NP_006273.1",
          "transcript_support_level": null,
          "aa_start": 416,
          "aa_end": null,
          "aa_length": 487,
          "cds_start": 1247,
          "cds_end": null,
          "cds_length": 1464,
          "cdna_start": 1304,
          "cdna_end": null,
          "cdna_length": 6366,
          "mane_select": "ENST00000372806.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1247C>T",
          "hgvs_p": "p.Pro416Leu",
          "transcript": "ENST00000372806.8",
          "protein_id": "ENSP00000361892.3",
          "transcript_support_level": 1,
          "aa_start": 416,
          "aa_end": null,
          "aa_length": 487,
          "cds_start": 1247,
          "cds_end": null,
          "cds_length": 1464,
          "cdna_start": 1304,
          "cdna_end": null,
          "cdna_length": 6366,
          "mane_select": "NM_006282.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1082C>T",
          "hgvs_p": "p.Pro361Leu",
          "transcript": "ENST00000499879.8",
          "protein_id": "ENSP00000443514.1",
          "transcript_support_level": 1,
          "aa_start": 361,
          "aa_end": null,
          "aa_length": 432,
          "cds_start": 1082,
          "cds_end": null,
          "cds_length": 1299,
          "cdna_start": 1125,
          "cdna_end": null,
          "cdna_length": 10380,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1247C>T",
          "hgvs_p": "p.Pro416Leu",
          "transcript": "NM_001352385.2",
          "protein_id": "NP_001339314.1",
          "transcript_support_level": null,
          "aa_start": 416,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1247,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1304,
          "cdna_end": null,
          "cdna_length": 6461,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1247C>T",
          "hgvs_p": "p.Pro416Leu",
          "transcript": "ENST00000372801.5",
          "protein_id": "ENSP00000361887.1",
          "transcript_support_level": 2,
          "aa_start": 416,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 1247,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 1294,
          "cdna_end": null,
          "cdna_length": 2038,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1019C>T",
          "hgvs_p": "p.Pro340Leu",
          "transcript": "ENST00000474717.3",
          "protein_id": "ENSP00000479564.2",
          "transcript_support_level": 3,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 411,
          "cds_start": 1019,
          "cds_end": null,
          "cds_length": 1236,
          "cdna_start": 1276,
          "cdna_end": null,
          "cdna_length": 6286,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1208C>T",
          "hgvs_p": "p.Pro403Leu",
          "transcript": "XM_005260532.5",
          "protein_id": "XP_005260589.1",
          "transcript_support_level": null,
          "aa_start": 403,
          "aa_end": null,
          "aa_length": 474,
          "cds_start": 1208,
          "cds_end": null,
          "cds_length": 1425,
          "cdna_start": 5393,
          "cdna_end": null,
          "cdna_length": 10455,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1208C>T",
          "hgvs_p": "p.Pro403Leu",
          "transcript": "XM_017028031.3",
          "protein_id": "XP_016883520.1",
          "transcript_support_level": null,
          "aa_start": 403,
          "aa_end": null,
          "aa_length": 474,
          "cds_start": 1208,
          "cds_end": null,
          "cds_length": 1425,
          "cdna_start": 6768,
          "cdna_end": null,
          "cdna_length": 11830,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1208C>T",
          "hgvs_p": "p.Pro403Leu",
          "transcript": "XM_047440425.1",
          "protein_id": "XP_047296381.1",
          "transcript_support_level": null,
          "aa_start": 403,
          "aa_end": null,
          "aa_length": 474,
          "cds_start": 1208,
          "cds_end": null,
          "cds_length": 1425,
          "cdna_start": 6750,
          "cdna_end": null,
          "cdna_length": 11812,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1160C>T",
          "hgvs_p": "p.Pro387Leu",
          "transcript": "XM_047440426.1",
          "protein_id": "XP_047296382.1",
          "transcript_support_level": null,
          "aa_start": 387,
          "aa_end": null,
          "aa_length": 458,
          "cds_start": 1160,
          "cds_end": null,
          "cds_length": 1377,
          "cdna_start": 1249,
          "cdna_end": null,
          "cdna_length": 6311,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.1019C>T",
          "hgvs_p": "p.Pro340Leu",
          "transcript": "XM_011529018.4",
          "protein_id": "XP_011527320.1",
          "transcript_support_level": null,
          "aa_start": 340,
          "aa_end": null,
          "aa_length": 411,
          "cds_start": 1019,
          "cds_end": null,
          "cds_length": 1236,
          "cdna_start": 5457,
          "cdna_end": null,
          "cdna_length": 10519,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "n.*299C>T",
          "hgvs_p": null,
          "transcript": "ENST00000698221.1",
          "protein_id": "ENSP00000513614.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": 2115,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "n.*1208C>T",
          "hgvs_p": null,
          "transcript": "ENST00000698222.1",
          "protein_id": "ENSP00000513615.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": 2010,
          "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": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "n.1622C>T",
          "hgvs_p": null,
          "transcript": "ENST00000698225.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": 2260,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "n.*299C>T",
          "hgvs_p": null,
          "transcript": "ENST00000698221.1",
          "protein_id": "ENSP00000513614.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": 2115,
          "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": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "n.*1208C>T",
          "hgvs_p": null,
          "transcript": "ENST00000698222.1",
          "protein_id": "ENSP00000513615.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": 2010,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STK4",
          "gene_hgnc_id": 11408,
          "hgvs_c": "c.*141C>T",
          "hgvs_p": null,
          "transcript": "XM_017028033.2",
          "protein_id": "XP_016883522.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 388,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1167,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1324,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "STK4",
      "gene_hgnc_id": 11408,
      "dbsnp": "rs33963346",
      "frequency_reference_population": 0.01107989,
      "hom_count_reference_population": 120,
      "allele_count_reference_population": 17870,
      "gnomad_exomes_af": 0.0114971,
      "gnomad_genomes_af": 0.00707879,
      "gnomad_exomes_ac": 16792,
      "gnomad_genomes_ac": 1078,
      "gnomad_exomes_homalt": 114,
      "gnomad_genomes_homalt": 6,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0074424147605896,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.291,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.0762,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.32,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 3.83,
      "phylop100way_prediction": "Uncertain_significance",
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000372806.8",
          "gene_symbol": "STK4",
          "hgnc_id": 11408,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1247C>T",
          "hgvs_p": "p.Pro416Leu"
        }
      ],
      "clinvar_disease": "Combined immunodeficiency due to STK4 deficiency,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:3",
      "phenotype_combined": "Combined immunodeficiency due to STK4 deficiency|not specified|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}