← 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: 19-49835586-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 49835586,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000312865.10",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "c.1727C>G",
          "hgvs_p": "p.Ala576Gly",
          "transcript": "NM_030973.4",
          "protein_id": "NP_112235.2",
          "transcript_support_level": null,
          "aa_start": 576,
          "aa_end": null,
          "aa_length": 747,
          "cds_start": 1727,
          "cds_end": null,
          "cds_length": 2244,
          "cdna_start": 1780,
          "cdna_end": null,
          "cdna_length": 2332,
          "mane_select": "ENST00000312865.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "c.1727C>G",
          "hgvs_p": "p.Ala576Gly",
          "transcript": "ENST00000312865.10",
          "protein_id": "ENSP00000326767.5",
          "transcript_support_level": 1,
          "aa_start": 576,
          "aa_end": null,
          "aa_length": 747,
          "cds_start": 1727,
          "cds_end": null,
          "cds_length": 2244,
          "cdna_start": 1780,
          "cdna_end": null,
          "cdna_length": 2332,
          "mane_select": "NM_030973.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "c.1088C>G",
          "hgvs_p": "p.Ala363Gly",
          "transcript": "ENST00000538643.5",
          "protein_id": "ENSP00000437496.1",
          "transcript_support_level": 1,
          "aa_start": 363,
          "aa_end": null,
          "aa_length": 534,
          "cds_start": 1088,
          "cds_end": null,
          "cds_length": 1605,
          "cdna_start": 1088,
          "cdna_end": null,
          "cdna_length": 1623,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "n.2347C>G",
          "hgvs_p": null,
          "transcript": "ENST00000594998.1",
          "protein_id": null,
          "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": 3339,
          "mane_select": null,
          "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": 7,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "c.689-1305C>G",
          "hgvs_p": null,
          "transcript": "ENST00000595185.5",
          "protein_id": "ENSP00000470027.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 252,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 760,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 760,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "c.1727C>G",
          "hgvs_p": "p.Ala576Gly",
          "transcript": "NM_001378355.1",
          "protein_id": "NP_001365284.1",
          "transcript_support_level": null,
          "aa_start": 576,
          "aa_end": null,
          "aa_length": 796,
          "cds_start": 1727,
          "cds_end": null,
          "cds_length": 2391,
          "cdna_start": 1780,
          "cdna_end": null,
          "cdna_length": 4004,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MED25",
          "gene_hgnc_id": 28845,
          "hgvs_c": "c.1727C>G",
          "hgvs_p": "p.Ala576Gly",
          "transcript": "ENST00000593767.3",
          "protein_id": "ENSP00000470692.3",
          "transcript_support_level": 3,
          "aa_start": 576,
          "aa_end": null,
          "aa_length": 796,
          "cds_start": 1727,
          "cds_end": null,
          "cds_length": 2391,
          "cdna_start": 1780,
          "cdna_end": null,
          "cdna_length": 4003,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MED25",
      "gene_hgnc_id": 28845,
      "dbsnp": "rs193291405",
      "frequency_reference_population": 0.014412455,
      "hom_count_reference_population": 294,
      "allele_count_reference_population": 22558,
      "gnomad_exomes_af": 0.0150908,
      "gnomad_genomes_af": 0.00812053,
      "gnomad_exomes_ac": 21321,
      "gnomad_genomes_ac": 1237,
      "gnomad_exomes_homalt": 286,
      "gnomad_genomes_homalt": 8,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0054638683795928955,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.179,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0784,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.43,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.652,
      "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": -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": "ENST00000312865.10",
          "gene_symbol": "MED25",
          "hgnc_id": 28845,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1727C>G",
          "hgvs_p": "p.Ala576Gly"
        }
      ],
      "clinvar_disease": "Charcot-Marie-Tooth disease,Charcot-Marie-Tooth disease type 2,Congenital cataract-microcephaly-nevus flammeus simplex-severe intellectual disability syndrome,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:5",
      "phenotype_combined": "Charcot-Marie-Tooth disease type 2|not specified|not provided|Charcot-Marie-Tooth disease|Congenital cataract-microcephaly-nevus flammeus simplex-severe intellectual disability syndrome",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}