← 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: 1-147619684-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 147619684,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000234739.8",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BCL9",
          "gene_hgnc_id": 1008,
          "hgvs_c": "c.1529T>G",
          "hgvs_p": "p.Val510Gly",
          "transcript": "NM_004326.4",
          "protein_id": "NP_004317.2",
          "transcript_support_level": null,
          "aa_start": 510,
          "aa_end": null,
          "aa_length": 1426,
          "cds_start": 1529,
          "cds_end": null,
          "cds_length": 4281,
          "cdna_start": 2180,
          "cdna_end": null,
          "cdna_length": 6189,
          "mane_select": "ENST00000234739.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BCL9",
          "gene_hgnc_id": 1008,
          "hgvs_c": "c.1529T>G",
          "hgvs_p": "p.Val510Gly",
          "transcript": "ENST00000234739.8",
          "protein_id": "ENSP00000234739.3",
          "transcript_support_level": 1,
          "aa_start": 510,
          "aa_end": null,
          "aa_length": 1426,
          "cds_start": 1529,
          "cds_end": null,
          "cds_length": 4281,
          "cdna_start": 2180,
          "cdna_end": null,
          "cdna_length": 6189,
          "mane_select": "NM_004326.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BCL9",
          "gene_hgnc_id": 1008,
          "hgvs_c": "c.1529T>G",
          "hgvs_p": "p.Val510Gly",
          "transcript": "ENST00000683836.1",
          "protein_id": "ENSP00000506908.1",
          "transcript_support_level": null,
          "aa_start": 510,
          "aa_end": null,
          "aa_length": 1414,
          "cds_start": 1529,
          "cds_end": null,
          "cds_length": 4245,
          "cdna_start": 2180,
          "cdna_end": null,
          "cdna_length": 6117,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BCL9",
          "gene_hgnc_id": 1008,
          "hgvs_c": "c.1307T>G",
          "hgvs_p": "p.Val436Gly",
          "transcript": "ENST00000684121.1",
          "protein_id": "ENSP00000507238.1",
          "transcript_support_level": null,
          "aa_start": 436,
          "aa_end": null,
          "aa_length": 1352,
          "cds_start": 1307,
          "cds_end": null,
          "cds_length": 4059,
          "cdna_start": 1648,
          "cdna_end": null,
          "cdna_length": 5639,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "BCL9",
      "gene_hgnc_id": 1008,
      "dbsnp": "rs1054557337",
      "frequency_reference_population": 0.0000075249177,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 11,
      "gnomad_exomes_af": 0.00000752492,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 11,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.14178583025932312,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.19,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.221,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.29,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 4.892,
      "phylop100way_prediction": "Uncertain_significance",
      "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": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Moderate,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000234739.8",
          "gene_symbol": "BCL9",
          "hgnc_id": 1008,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1529T>G",
          "hgvs_p": "p.Val510Gly"
        }
      ],
      "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
}