← 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: 5-1293999-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 1293999,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000310581.10",
      "consequences": [
        {
          "aa_ref": "H",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "c.887A>C",
          "hgvs_p": "p.His296Pro",
          "transcript": "NM_198253.3",
          "protein_id": "NP_937983.2",
          "transcript_support_level": null,
          "aa_start": 296,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": 887,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": 966,
          "cdna_end": null,
          "cdna_length": 4039,
          "mane_select": "ENST00000310581.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "H",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "c.887A>C",
          "hgvs_p": "p.His296Pro",
          "transcript": "ENST00000310581.10",
          "protein_id": "ENSP00000309572.5",
          "transcript_support_level": 1,
          "aa_start": 296,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": 887,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": 966,
          "cdna_end": null,
          "cdna_length": 4039,
          "mane_select": "NM_198253.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "H",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "c.887A>C",
          "hgvs_p": "p.His296Pro",
          "transcript": "ENST00000334602.10",
          "protein_id": "ENSP00000334346.6",
          "transcript_support_level": 1,
          "aa_start": 296,
          "aa_end": null,
          "aa_length": 1069,
          "cds_start": 887,
          "cds_end": null,
          "cds_length": 3210,
          "cdna_start": 887,
          "cdna_end": null,
          "cdna_length": 3210,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "n.887A>C",
          "hgvs_p": null,
          "transcript": "ENST00000460137.6",
          "protein_id": "ENSP00000425003.1",
          "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": 2992,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "H",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "c.887A>C",
          "hgvs_p": "p.His296Pro",
          "transcript": "NM_001193376.3",
          "protein_id": "NP_001180305.1",
          "transcript_support_level": null,
          "aa_start": 296,
          "aa_end": null,
          "aa_length": 1069,
          "cds_start": 887,
          "cds_end": null,
          "cds_length": 3210,
          "cdna_start": 966,
          "cdna_end": null,
          "cdna_length": 3850,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "n.887A>C",
          "hgvs_p": null,
          "transcript": "ENST00000656021.1",
          "protein_id": "ENSP00000499759.1",
          "transcript_support_level": null,
          "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": 5289,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "n.966A>C",
          "hgvs_p": null,
          "transcript": "NR_149162.3",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 3668,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TERT",
          "gene_hgnc_id": 11730,
          "hgvs_c": "n.966A>C",
          "hgvs_p": null,
          "transcript": "NR_149163.3",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 3632,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TERT",
      "gene_hgnc_id": 11730,
      "dbsnp": "rs778187343",
      "frequency_reference_population": 0.00019103687,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 301,
      "gnomad_exomes_af": 0.000203717,
      "gnomad_genomes_af": 0.000072337,
      "gnomad_exomes_ac": 290,
      "gnomad_genomes_ac": 11,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.10802415013313293,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.294,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.064,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.21,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.942,
      "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": -3,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Moderate,BP6",
      "acmg_by_gene": [
        {
          "score": -3,
          "benign_score": 3,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000310581.10",
          "gene_symbol": "TERT",
          "hgnc_id": 11730,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD,SD,Unknown",
          "hgvs_c": "c.887A>C",
          "hgvs_p": "p.His296Pro"
        }
      ],
      "clinvar_disease": " 1, Telomere-related, autosomal dominant 2,7 conditions,Aplastic anemia,Dyskeratosis congenita,Hepatocellular carcinoma,Idiopathic Pulmonary Fibrosis,Pulmonary fibrosis and/or bone marrow failure,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:6 LB:1 B:1",
      "phenotype_combined": "Aplastic anemia|Pulmonary fibrosis and/or bone marrow failure, Telomere-related, 1|Dyskeratosis congenita, autosomal dominant 2|Hepatocellular carcinoma|7 conditions|not specified|not provided|Idiopathic Pulmonary Fibrosis;Dyskeratosis congenita, autosomal dominant 2|Dyskeratosis congenita",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}