← 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: 7-152247986-G-GT (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 152247986,
      "ref": "G",
      "alt": "GT",
      "effect": "frameshift_variant,stop_gained",
      "transcript": "NM_170606.3",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs",
          "transcript": "NM_170606.3",
          "protein_id": "NP_733751.2",
          "transcript_support_level": null,
          "aa_start": 816,
          "aa_end": null,
          "aa_length": 4911,
          "cds_start": 2447,
          "cds_end": null,
          "cds_length": 14736,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000262189.11",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_170606.3"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs",
          "transcript": "ENST00000262189.11",
          "protein_id": "ENSP00000262189.6",
          "transcript_support_level": 1,
          "aa_start": 816,
          "aa_end": null,
          "aa_length": 4911,
          "cds_start": 2447,
          "cds_end": null,
          "cds_length": 14736,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_170606.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000262189.11"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 60,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs",
          "transcript": "ENST00000682283.1",
          "protein_id": "ENSP00000507485.1",
          "transcript_support_level": null,
          "aa_start": 816,
          "aa_end": null,
          "aa_length": 4968,
          "cds_start": 2447,
          "cds_end": null,
          "cds_length": 14907,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000682283.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs",
          "transcript": "ENST00000679882.1",
          "protein_id": "ENSP00000506154.1",
          "transcript_support_level": null,
          "aa_start": 816,
          "aa_end": null,
          "aa_length": 4762,
          "cds_start": 2447,
          "cds_end": null,
          "cds_length": 14289,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000679882.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 31,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.1148dupA",
          "hgvs_p": "p.Tyr383fs",
          "transcript": "ENST00000681033.1",
          "protein_id": "ENSP00000505058.1",
          "transcript_support_level": null,
          "aa_start": 383,
          "aa_end": null,
          "aa_length": 2716,
          "cds_start": 1148,
          "cds_end": null,
          "cds_length": 8151,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000681033.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs",
          "transcript": "ENST00000684550.1",
          "protein_id": "ENSP00000507135.1",
          "transcript_support_level": null,
          "aa_start": 816,
          "aa_end": null,
          "aa_length": 1376,
          "cds_start": 2447,
          "cds_end": null,
          "cds_length": 4131,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000684550.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs",
          "transcript": "ENST00000683490.1",
          "protein_id": "ENSP00000507385.1",
          "transcript_support_level": null,
          "aa_start": 816,
          "aa_end": null,
          "aa_length": 1325,
          "cds_start": 2447,
          "cds_end": null,
          "cds_length": 3978,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000683490.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.2450dupA",
          "hgvs_p": "p.Tyr817fs",
          "transcript": "ENST00000683616.1",
          "protein_id": "ENSP00000507332.1",
          "transcript_support_level": null,
          "aa_start": 817,
          "aa_end": null,
          "aa_length": 847,
          "cds_start": 2450,
          "cds_end": null,
          "cds_length": 2544,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000683616.1"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant",
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "c.1565dupA",
          "hgvs_p": "p.Tyr522fs",
          "transcript": "ENST00000682916.1",
          "protein_id": "ENSP00000506784.1",
          "transcript_support_level": null,
          "aa_start": 522,
          "aa_end": null,
          "aa_length": 552,
          "cds_start": 1565,
          "cds_end": null,
          "cds_length": 1659,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000682916.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2C",
          "gene_hgnc_id": 13726,
          "hgvs_c": "n.2447dupA",
          "hgvs_p": null,
          "transcript": "ENST00000679645.1",
          "protein_id": "ENSP00000505745.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000679645.1"
        }
      ],
      "gene_symbol": "KMT2C",
      "gene_hgnc_id": 13726,
      "dbsnp": "rs150073007",
      "frequency_reference_population": null,
      "hom_count_reference_population": null,
      "allele_count_reference_population": null,
      "gnomad_exomes_af": 0.491589,
      "gnomad_genomes_af": 0.494634,
      "gnomad_exomes_ac": 635498,
      "gnomad_genomes_ac": 72179,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "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": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 4.768,
      "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": 6,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PVS1,BP6_Moderate",
      "acmg_by_gene": [
        {
          "score": 6,
          "benign_score": 2,
          "pathogenic_score": 8,
          "criteria": [
            "PVS1",
            "BP6_Moderate"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_170606.3",
          "gene_symbol": "KMT2C",
          "hgnc_id": 13726,
          "effects": [
            "frameshift_variant",
            "stop_gained"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.2447dupA",
          "hgvs_p": "p.Tyr816fs"
        }
      ],
      "clinvar_disease": "Intellectual disability,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not specified|Intellectual disability",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.