← 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: 4-147653942-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 147653942,
      "ref": "G",
      "alt": "C",
      "effect": "stop_gained",
      "transcript": "NM_138364.4",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.1955C>G",
          "hgvs_p": "p.Ser652*",
          "transcript": "NM_138364.4",
          "protein_id": "NP_612373.2",
          "transcript_support_level": null,
          "aa_start": 652,
          "aa_end": null,
          "aa_length": 845,
          "cds_start": 1955,
          "cds_end": null,
          "cds_length": 2538,
          "cdna_start": 2131,
          "cdna_end": null,
          "cdna_length": 3461,
          "mane_select": "ENST00000322396.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.1955C>G",
          "hgvs_p": "p.Ser652*",
          "transcript": "ENST00000322396.7",
          "protein_id": "ENSP00000314396.6",
          "transcript_support_level": 1,
          "aa_start": 652,
          "aa_end": null,
          "aa_length": 845,
          "cds_start": 1955,
          "cds_end": null,
          "cds_length": 2538,
          "cdna_start": 2131,
          "cdna_end": null,
          "cdna_length": 3461,
          "mane_select": "NM_138364.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "TMEM184C",
          "gene_hgnc_id": 25587,
          "hgvs_c": "c.780-17925G>C",
          "hgvs_p": null,
          "transcript": "ENST00000508208.5",
          "protein_id": "ENSP00000425940.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 261,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 786,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1528,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.1616C>G",
          "hgvs_p": "p.Ser539*",
          "transcript": "NM_001304458.2",
          "protein_id": "NP_001291387.1",
          "transcript_support_level": null,
          "aa_start": 539,
          "aa_end": null,
          "aa_length": 732,
          "cds_start": 1616,
          "cds_end": null,
          "cds_length": 2199,
          "cdna_start": 1982,
          "cdna_end": null,
          "cdna_length": 3312,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.1616C>G",
          "hgvs_p": "p.Ser539*",
          "transcript": "NM_001350142.2",
          "protein_id": "NP_001337071.1",
          "transcript_support_level": null,
          "aa_start": 539,
          "aa_end": null,
          "aa_length": 732,
          "cds_start": 1616,
          "cds_end": null,
          "cds_length": 2199,
          "cdna_start": 2266,
          "cdna_end": null,
          "cdna_length": 3596,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.1040C>G",
          "hgvs_p": "p.Ser347*",
          "transcript": "NM_001350143.2",
          "protein_id": "NP_001337072.1",
          "transcript_support_level": null,
          "aa_start": 347,
          "aa_end": null,
          "aa_length": 540,
          "cds_start": 1040,
          "cds_end": null,
          "cds_length": 1623,
          "cdna_start": 1710,
          "cdna_end": null,
          "cdna_length": 3040,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.887C>G",
          "hgvs_p": "p.Ser296*",
          "transcript": "NM_001350141.2",
          "protein_id": "NP_001337070.1",
          "transcript_support_level": null,
          "aa_start": 296,
          "aa_end": null,
          "aa_length": 489,
          "cds_start": 887,
          "cds_end": null,
          "cds_length": 1470,
          "cdna_start": 2328,
          "cdna_end": null,
          "cdna_length": 3658,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.731C>G",
          "hgvs_p": "p.Ser244*",
          "transcript": "NM_001350144.2",
          "protein_id": "NP_001337073.1",
          "transcript_support_level": null,
          "aa_start": 244,
          "aa_end": null,
          "aa_length": 437,
          "cds_start": 731,
          "cds_end": null,
          "cds_length": 1314,
          "cdna_start": 1977,
          "cdna_end": null,
          "cdna_length": 3307,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "c.1040C>G",
          "hgvs_p": "p.Ser347*",
          "transcript": "XM_047416393.1",
          "protein_id": "XP_047272349.1",
          "transcript_support_level": null,
          "aa_start": 347,
          "aa_end": null,
          "aa_length": 540,
          "cds_start": 1040,
          "cds_end": null,
          "cds_length": 1623,
          "cdna_start": 1277,
          "cdna_end": null,
          "cdna_length": 2607,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "n.1282C>G",
          "hgvs_p": null,
          "transcript": "ENST00000510269.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": 2012,
          "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": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "n.*1605C>G",
          "hgvs_p": null,
          "transcript": "ENST00000514886.1",
          "protein_id": "ENSP00000426732.1",
          "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": 2674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRMT9",
          "gene_hgnc_id": 25099,
          "hgvs_c": "n.*1605C>G",
          "hgvs_p": null,
          "transcript": "ENST00000514886.1",
          "protein_id": "ENSP00000426732.1",
          "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": 2674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PRMT9",
      "gene_hgnc_id": 25099,
      "dbsnp": "rs1053963742",
      "frequency_reference_population": 0.0000013681332,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.00000136813,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6299999952316284,
      "computational_prediction_selected": "Pathogenic",
      "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.63,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 3.286,
      "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": 10,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2",
      "acmg_by_gene": [
        {
          "score": 10,
          "benign_score": 0,
          "pathogenic_score": 10,
          "criteria": [
            "PVS1",
            "PM2"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_138364.4",
          "gene_symbol": "PRMT9",
          "hgnc_id": 25099,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1955C>G",
          "hgvs_p": "p.Ser652*"
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000508208.5",
          "gene_symbol": "TMEM184C",
          "hgnc_id": 25587,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.780-17925G>C",
          "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
}