← 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-71941585-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 71941585,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant,splice_region_variant",
      "transcript": "NM_173353.4",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TPH2",
          "gene_hgnc_id": 20692,
          "hgvs_c": "c.107T>G",
          "hgvs_p": "p.Leu36Arg",
          "transcript": "NM_173353.4",
          "protein_id": "NP_775489.2",
          "transcript_support_level": null,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 490,
          "cds_start": 107,
          "cds_end": null,
          "cds_length": 1473,
          "cdna_start": 249,
          "cdna_end": null,
          "cdna_length": 2360,
          "mane_select": "ENST00000333850.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TPH2",
          "gene_hgnc_id": 20692,
          "hgvs_c": "c.107T>G",
          "hgvs_p": "p.Leu36Arg",
          "transcript": "ENST00000333850.4",
          "protein_id": "ENSP00000329093.3",
          "transcript_support_level": 1,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 490,
          "cds_start": 107,
          "cds_end": null,
          "cds_length": 1473,
          "cdna_start": 249,
          "cdna_end": null,
          "cdna_length": 2360,
          "mane_select": "NM_173353.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TPH2",
          "gene_hgnc_id": 20692,
          "hgvs_c": "n.117T>G",
          "hgvs_p": null,
          "transcript": "ENST00000546576.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TPH2",
          "gene_hgnc_id": 20692,
          "hgvs_c": "n.249T>G",
          "hgvs_p": null,
          "transcript": "XR_001748575.2",
          "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": 3124,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TPH2",
      "gene_hgnc_id": 20692,
      "dbsnp": "rs199775778",
      "frequency_reference_population": 0.00001487304,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 24,
      "gnomad_exomes_af": 0.0000157366,
      "gnomad_genomes_af": 0.00000657488,
      "gnomad_exomes_ac": 23,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0421203076839447,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.03400000184774399,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": 0.358,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.0747,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.18,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.894,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.000200239575734849,
      "dbscsnv_ada_prediction": "Benign",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -8,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BS2",
      "acmg_by_gene": [
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_173353.4",
          "gene_symbol": "TPH2",
          "hgnc_id": 20692,
          "effects": [
            "missense_variant",
            "splice_region_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.107T>G",
          "hgvs_p": "p.Leu36Arg"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}