← 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: 14-91974722-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "14",
      "pos": 91974722,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000267622.8",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRIP11",
          "gene_hgnc_id": 12305,
          "hgvs_c": "c.5479G>A",
          "hgvs_p": "p.Gly1827Ser",
          "transcript": "NM_004239.4",
          "protein_id": "NP_004230.2",
          "transcript_support_level": null,
          "aa_start": 1827,
          "aa_end": null,
          "aa_length": 1979,
          "cds_start": 5479,
          "cds_end": null,
          "cds_length": 5940,
          "cdna_start": 5853,
          "cdna_end": null,
          "cdna_length": 9996,
          "mane_select": "ENST00000267622.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRIP11",
          "gene_hgnc_id": 12305,
          "hgvs_c": "c.5479G>A",
          "hgvs_p": "p.Gly1827Ser",
          "transcript": "ENST00000267622.8",
          "protein_id": "ENSP00000267622.4",
          "transcript_support_level": 1,
          "aa_start": 1827,
          "aa_end": null,
          "aa_length": 1979,
          "cds_start": 5479,
          "cds_end": null,
          "cds_length": 5940,
          "cdna_start": 5853,
          "cdna_end": null,
          "cdna_length": 9996,
          "mane_select": "NM_004239.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRIP11",
          "gene_hgnc_id": 12305,
          "hgvs_c": "c.4624G>A",
          "hgvs_p": "p.Gly1542Ser",
          "transcript": "ENST00000554357.5",
          "protein_id": "ENSP00000451032.1",
          "transcript_support_level": 1,
          "aa_start": 1542,
          "aa_end": null,
          "aa_length": 1694,
          "cds_start": 4624,
          "cds_end": null,
          "cds_length": 5085,
          "cdna_start": 4625,
          "cdna_end": null,
          "cdna_length": 5246,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRIP11",
          "gene_hgnc_id": 12305,
          "hgvs_c": "c.5476G>A",
          "hgvs_p": "p.Gly1826Ser",
          "transcript": "NM_001321851.1",
          "protein_id": "NP_001308780.1",
          "transcript_support_level": null,
          "aa_start": 1826,
          "aa_end": null,
          "aa_length": 1978,
          "cds_start": 5476,
          "cds_end": null,
          "cds_length": 5937,
          "cdna_start": 5850,
          "cdna_end": null,
          "cdna_length": 9993,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRIP11",
          "gene_hgnc_id": 12305,
          "hgvs_c": "c.4153G>A",
          "hgvs_p": "p.Gly1385Ser",
          "transcript": "XM_047431935.1",
          "protein_id": "XP_047287891.1",
          "transcript_support_level": null,
          "aa_start": 1385,
          "aa_end": null,
          "aa_length": 1537,
          "cds_start": 4153,
          "cds_end": null,
          "cds_length": 4614,
          "cdna_start": 4253,
          "cdna_end": null,
          "cdna_length": 8396,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TRIP11",
      "gene_hgnc_id": 12305,
      "dbsnp": "rs1051340",
      "frequency_reference_population": 0.32156113,
      "hom_count_reference_population": 84925,
      "allele_count_reference_population": 517179,
      "gnomad_exomes_af": 0.32474,
      "gnomad_genomes_af": 0.291008,
      "gnomad_exomes_ac": 473068,
      "gnomad_genomes_ac": 44111,
      "gnomad_exomes_homalt": 78281,
      "gnomad_genomes_homalt": 6644,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.002951383590698242,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.10999999940395355,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.112,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0799,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.51,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.31,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.11,
      "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,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000267622.8",
          "gene_symbol": "TRIP11",
          "hgnc_id": 12305,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.5479G>A",
          "hgvs_p": "p.Gly1827Ser"
        }
      ],
      "clinvar_disease": " type IA,Achondrogenesis,Odontochondrodysplasia 1,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:8",
      "phenotype_combined": "not specified|Achondrogenesis, type IA|not provided|Odontochondrodysplasia 1",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}