← 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: 12-49049775-T-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 49049775,
      "ref": "T",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000301067.12",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.3813A>T",
          "hgvs_p": "p.Leu1271Leu",
          "transcript": "NM_003482.4",
          "protein_id": "NP_003473.3",
          "transcript_support_level": null,
          "aa_start": 1271,
          "aa_end": null,
          "aa_length": 5537,
          "cds_start": 3813,
          "cds_end": null,
          "cds_length": 16614,
          "cdna_start": 5032,
          "cdna_end": null,
          "cdna_length": 20635,
          "mane_select": "ENST00000301067.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.3813A>T",
          "hgvs_p": "p.Leu1271Leu",
          "transcript": "ENST00000301067.12",
          "protein_id": "ENSP00000301067.7",
          "transcript_support_level": 5,
          "aa_start": 1271,
          "aa_end": null,
          "aa_length": 5537,
          "cds_start": 3813,
          "cds_end": null,
          "cds_length": 16614,
          "cdna_start": 5032,
          "cdna_end": null,
          "cdna_length": 20635,
          "mane_select": "NM_003482.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.3813A>T",
          "hgvs_p": "p.Leu1271Leu",
          "transcript": "ENST00000683543.2",
          "protein_id": "ENSP00000506726.1",
          "transcript_support_level": null,
          "aa_start": 1271,
          "aa_end": null,
          "aa_length": 5553,
          "cds_start": 3813,
          "cds_end": null,
          "cds_length": 16662,
          "cdna_start": 5032,
          "cdna_end": null,
          "cdna_length": 20686,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.3813A>T",
          "hgvs_p": "p.Leu1271Leu",
          "transcript": "ENST00000685166.1",
          "protein_id": "ENSP00000509386.1",
          "transcript_support_level": null,
          "aa_start": 1271,
          "aa_end": null,
          "aa_length": 5540,
          "cds_start": 3813,
          "cds_end": null,
          "cds_length": 16623,
          "cdna_start": 3813,
          "cdna_end": null,
          "cdna_length": 16623,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KMT2D",
          "gene_hgnc_id": 7133,
          "hgvs_c": "c.3813A>T",
          "hgvs_p": "p.Leu1271Leu",
          "transcript": "ENST00000692637.1",
          "protein_id": "ENSP00000509666.1",
          "transcript_support_level": null,
          "aa_start": 1271,
          "aa_end": null,
          "aa_length": 5536,
          "cds_start": 3813,
          "cds_end": null,
          "cds_length": 16611,
          "cdna_start": 3813,
          "cdna_end": null,
          "cdna_length": 16611,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "KMT2D",
      "gene_hgnc_id": 7133,
      "dbsnp": "rs201794205",
      "frequency_reference_population": 0.0001797355,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 290,
      "gnomad_exomes_af": 0.000184759,
      "gnomad_genomes_af": 0.000131475,
      "gnomad_exomes_ac": 270,
      "gnomad_genomes_ac": 20,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8500000238418579,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.15000000596046448,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.85,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -1.303,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.15,
      "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": "Benign",
      "acmg_criteria": "BP4_Strong,BP6,BP7,BS2",
      "acmg_by_gene": [
        {
          "score": -10,
          "benign_score": 10,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BP7",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000301067.12",
          "gene_symbol": "KMT2D",
          "hgnc_id": 7133,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3813A>T",
          "hgvs_p": "p.Leu1271Leu"
        }
      ],
      "clinvar_disease": "KMT2D-related disorder,Kabuki syndrome,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:3",
      "phenotype_combined": "not provided|not specified|Kabuki syndrome|KMT2D-related disorder",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}