Menu

Home

Asher
Attachments
architecture.png (121878 bytes)

Gene Slider is a data visualization tool that helps visualize conservation and entropy of aligned DNA and protein sequences. Alignments can be loaded into Gene Slider and displayed as one long sequence logo that can be zoomed in and out of. It also displays transcription factor binding sites, mapped by FIMO (Grant et al, 2011)

How Gene Slider Works

Gene Slider uses HTML, CSS, and JavaScript for the front-end web page. The Gene Slider program is written in the Processing.js programming language. It GETs data from a REST API using an AJAX request from JavaScript. The Gene Slider REST API consists of two web services: one returns data given an AGI ID and the other returns data given a chromosomal region. A MySQL database stores gene annotations and locations of alignment files. This information is used to get alignment files from the file system. The Gene Slider architecture is summarized in the figure below:
Gene Slider Architecture

How to Use Gene Slider

There are two ways to visualize data in Gene Slider. You can use an existing alignment, or you can upload your own alignments.

Using Existing Alignments

There are Arabidopsis thaliana alignments on the Bio-Analytic Resource from Haudry, A. et al. (2013). These alignments have pre-mapped data from JASPAR (Mathelier, A. et al., 2014) and Weirauch, M.T. et al. (2014). Data from these sources can be visualized in two different ways:

  1. Data, mapped using FIMO (Grant et al.,, 2011) with a p-value cutoff of 1e^-4, may be loaded using an Arabidopsis AGI ID:

    • Visit Gene Slider
    • In the "Locus" text box, type in the AGI ID (E.g. At3g24650) or locus name such as ABI3
    • Input desired numbers in "Bases Upstream" and "Bases Downstream." For example, "100" and "100" respectively
    • Click "Go"
  2. Data may also be loaded for an Arabidopsis chromosomal region:

    • Visit Gene Slider
    • From "Chromosome" drop down box, choose a chromosome, for example, "1".
    • Enter the start and the end of the region in the respective text boxes, for example, "1" and "7000".
    • Click "Go"
    • To upload additional motifs, download this example file, which has sample mappings between 1 and 7000 base pairs. Then, upload this file into Gene Slider by clicking "Select file" in the top right.

Using Your Own Data

You can also use your own FASTA alignments as follows:

  • Visit Gene Slider
  • Download an example file and upload it into Gene Slider by clicking "Select file" button in top right.
  • GFF data can also be visualized. For example, this GFF file may be uploaded after loading the alignment into Gene Slider.
  • Additional motif files, such as this file could also be uploaded.

How to Implement Gene Slider on Your Own Server

Gene Slider runs on Apache HTTPD and MySQL on Linux. You can implement Gene Slider on your server as follows:

  1. Install web server software, such as Apache HTTPD, and enable CGI support following documentation for your web server and operating system.
  2. Install database management software such as MySQL and Perl DBI.
  3. Download Gene Slider and uncompress file geneslider_v1.tar.gz by using the command tar -xvzf geneslider_v1.tar.gz.
  4. Uploading databases:
    • Log into MySQL, and create databases using the following commands as root user:
      • create database annotations_lookup;
      • create database cistome;
      • create database eplant2;
      • create database geneslider;
    • Exit from MySQL and load the data into the databases. The database dumps are in the databases directory of the Gene Slider tarball (Please note that these are not complete BAR database dumps. There are only tables that are needed by Gene Slider and only have data up to 100k base pairs): Run the following command in the terminal:
      • mysql -u root -p annotations_lookup < annotations_lookup.sql
      • mysql -u root -p cistome < cistome.sql
      • mysql -u root -p eplant2 < eplant2.sql
      • mysql -u root -p geneslider < geneslider.sql
    • Log into MySQL and create a user account for Gene Slider and grant select privilege to the user on all four of these databases and flush privileges.
  5. Create a directory for data ('/DATA/GeneSlider/') and recursively copy contents of data directory into /DATA/GeneSlider/.
  6. Copy and paste geneslider directory into your web root directory or public_html directory.
  7. In geneslider/cgi-bin directory, we use USERNAME and PASSWORD as place holder for username and password repectively. Please chages these to your MySQL database username and database password.
  8. Final checks:
    • Visit index.html page in geneslider directory to check if the page loads. If not, please check your server settings.
    • Enter a gene alias (ABI3) to check Perl CGI and database connectivity. If AGI ID is not displayed in a dropdown box, please check if CGI is enabled for geneslider/cgi-bin dirctory with appropriate permission (chmod 755 *), and also Perl DBI libraries are installed for your operating system.
    • Click 'GO' and Gene Slider should load the alignment. If not, please make sure /DATA/GeneSlider/ directory is readable by HTTP server's user (chmod 744 *).
    • If it still doesn't work, we can help.
  9. Gene Slider can also be modified for use with other species. (There are some regexes that are specific for AGI IDs).

References

  • Grant, C. E. et al. 2011. FIMO: Scanning for occurrences of a given motif. Bioinformatics, 27(7):1017-1018.
  • Haudry, A. et al. (2013). An atlas of over 90,000 conserved noncoding sequences provides insight into crucifer regulatory regions. Nat. Genet. 45, 891–898.
  • Mathelier, A. et al. (2014). JASPAR 2014: an extensively expanded and updated open-access database of transcription factor binding profiles. Nucleic Acids Res. 42, D142–D147.
  • Weirauch, M.T. et al. (2014). Determination and inference of eukaryotic transcription factor sequence specificity. Cell 158, 1431–1443.

MongoDB Logo MongoDB