← 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: 11-36594065-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "11",
      "pos": 36594065,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000311485.8",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "NM_000536.4",
          "protein_id": "NP_000527.2",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 266,
          "cdna_end": null,
          "cdna_length": 2388,
          "mane_select": "ENST00000311485.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "ENST00000311485.8",
          "protein_id": "ENSP00000308620.4",
          "transcript_support_level": 1,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 266,
          "cdna_end": null,
          "cdna_length": 2388,
          "mane_select": "NM_000536.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "NM_001243785.2",
          "protein_id": "NP_001230714.1",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 461,
          "cdna_end": null,
          "cdna_length": 2583,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "NM_001243786.2",
          "protein_id": "NP_001230715.1",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 655,
          "cdna_end": null,
          "cdna_length": 2777,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "ENST00000527033.6",
          "protein_id": "ENSP00000436895.2",
          "transcript_support_level": 4,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 461,
          "cdna_end": null,
          "cdna_length": 1941,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "ENST00000529083.2",
          "protein_id": "ENSP00000436327.2",
          "transcript_support_level": 3,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 224,
          "cdna_end": null,
          "cdna_length": 1704,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "ENST00000532616.2",
          "protein_id": "ENSP00000432174.2",
          "transcript_support_level": 4,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 655,
          "cdna_end": null,
          "cdna_length": 2135,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "XM_047427385.1",
          "protein_id": "XP_047283341.1",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 1266,
          "cdna_end": null,
          "cdna_length": 4335,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala",
          "transcript": "XM_047427386.1",
          "protein_id": "XP_047283342.1",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 104,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 3561,
          "cdna_end": null,
          "cdna_length": 5683,
          "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": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "RAG2",
          "gene_hgnc_id": 9832,
          "hgvs_c": "n.131+4037G>C",
          "hgvs_p": null,
          "transcript": "ENST00000524423.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 529,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "RAG2",
      "gene_hgnc_id": 9832,
      "dbsnp": "rs148508754",
      "frequency_reference_population": 0.000017968761,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 29,
      "gnomad_exomes_af": 0.0000177865,
      "gnomad_genomes_af": 0.0000197197,
      "gnomad_exomes_ac": 26,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8503859639167786,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.898,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.8028,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.31,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 5.852,
      "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": 10,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PS3_Moderate,PM2_Supporting,PM1_Supporting,PM3_Strong,PM5_Supporting,PP4",
      "acmg_by_gene": [
        {
          "score": 10,
          "benign_score": 0,
          "pathogenic_score": 10,
          "criteria": [
            "PS3_Moderate",
            "PM2_Supporting",
            "PM1_Supporting",
            "PM3_Strong",
            "PM5_Supporting",
            "PP4"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000311485.8",
          "gene_symbol": "RAG2",
          "hgnc_id": 9832,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.104G>C",
          "hgvs_p": "p.Gly35Ala"
        }
      ],
      "clinvar_disease": " B cell-negative, NK cell-positive, T cell-negative, autosomal recessive,Atypical severe combined immunodeficiency due to complete RAG1/2 deficiency,Combined immunodeficiency with skin granulomas,Histiocytic medullary reticulosis,Inborn error of immunity,RAG2-related disorder,Recombinase activating gene 2 deficiency,Severe combined immunodeficiency,Severe combined immunodeficiency disease,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "P:6 LP:1 US:1",
      "phenotype_combined": "Severe combined immunodeficiency disease|Recombinase activating gene 2 deficiency;Inborn error of immunity;Atypical severe combined immunodeficiency due to complete RAG1/2 deficiency|Severe combined immunodeficiency, autosomal recessive, T cell-negative, B cell-negative, NK cell-positive;Combined immunodeficiency with skin granulomas|Severe combined immunodeficiency, autosomal recessive, T cell-negative, B cell-negative, NK cell-positive|RAG2-related disorder|Recombinase activating gene 2 deficiency|Combined immunodeficiency with skin granulomas|Severe combined immunodeficiency, autosomal recessive, T cell-negative, B cell-negative, NK cell-positive;Histiocytic medullary reticulosis;Combined immunodeficiency with skin granulomas|not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}