click on the Biowiki logo to go to homepage
Research Teaching | Blog
Main | GBrowse | TWiki
Biowiki > Main > TWiki Users > Lars Barquist > XreiProgram

Search

Advanced search...

Topics


Links
misc bio links
Open bio projects
Bio wikis, blogs
Meetings, journals
off-site links
Rfam / Pfam
GMOD/GBrowse
UCSC, Ensembl
Bioperl wiki
AAA fly wiki
ISCB; RNA society


journals
Nature, Science
Cell, PLoS Biol
Nature Genetics
Genome Research
Genome Biology
PLoS Comp Bio
NAR, Mol Biol Evol
J Comp Biol
BMC Bioinformatics
Bioinformatics
Phys Rev Lett


bioinformatics blogs
fungalgenomes.org
Jason Stajich
Buried Treasure
Cyrus Harmon
Flags and Lollipops
nodalpoint.org
mutantphenotype
Yi Xing
Yokofakun
Propeller Twist
Notes from the Biomass
bioinformatics.org
Biohackery
Andrew Dalke
Neil Saunders
Personal Genome
iSpecies blog
bioinformaticsblog
Public Rambling
Inforbiomatica
hublog
Oakleys corner


bio/science blogs
Biocurious
Declan Butler
Nascent
Pharyngula
Bioethics.net
Free Association
young female scientist
OpenScience project
genetics+health
evolgen
post-genomics
gene expression
Informaticopia
Biopeer
Tangled Bank
Cavalcade of Mammals
Triplepoint
three-toed sloth
panda's thumb
stranger fruit
Genetic Chaos
In the Pipeline


tech blogs
everybody :-x esr
xkcd
27B/6
geekdad
Bruce Schneier
videogameworkout
Annalee Newitz
Rudy Rucker
Bruce Sterling
Need To Know
The Register
The Scientist
Raph Koster
jay is games
Red Orbit
+ve tech journal
Laughing Meme
Respectful Insolence
Braintickle


collaborators
Alex Bateman
Casey Bergman
Ewan Birney
Steven Brenner
Bill Bruno
Sue Celniker
Richard Durbin
Sean Eddy
Mike Eisen
Nick Goldman
Richard Goldstein
Andreas Heger
Jotun Hein
Steve Holbrook
John Huelsenbeck
Marcin Joachimiak
Sam Griffiths Jones
Suzi Lewis
Gerton Lunter
Chris Mungall
Rasmus Nielsen
Lior Pachter
Chris Ponting
Kimmen Sjolander
Guy Slater
Jason Stajich
Lincoln Stein


PageRank Checker

xREI

xREI (pron. "X-ray") is an AJAX web interface and visualization server for xrate and its grammar files.

Along with xrate's annotation and training functionality, it provides web access to grammar state diagrams and substitution matrix bubbleplots.

A decent run down of it's features can be found in the usage notes.

Demonstration version

http://harmony.biowiki.org/xrei/

Downloading the source code

The xREI source code is available from our anonymous cvs, to download use:

cvs -z3 -d:ext:anonymous@cvs.biowiki.org:/usr/local/cvs co xrei
cvs -z3 -d:ext:anonymous@cvs.biowiki.org:/usr/local/cvs co xrei-scripts

xrei contains the javascript and html interface files, while xrei-scripts contains the perl scripts which serve as xREI's backend.

Browsing the source code

Browse the source code repositories here:

Installation notes

The following notes are from experience configuring xREI under OS X and Debian Linux. ymmv under other OSes. These instructions presume that Apache2 and Perl5 are installed and functional on your system.

Dependencies

Before installing xREI, the following software packages should be installed, preferably via apt-get, rpm, macports or similar:

  • TeXLive 2007 or equiv (note: the macports version under os x never worked for me, I recommend MacTeX)
  • ImageMagick
  • GraphViz

All executables should be installed within the root/default path, /usr/bin or /usr/local/bin are usually good choices under linux. By default, macports under OS X will require that you add /opt/local/bin to your path. xREI uses mpost, dvips, and latex from TeX, dot and neato from GraphViz and convert from ImageMagick.

In addition xREI will require the following perl modules be installed:

  • GraphViz
  • MIME::Base64
  • JSON::Any

xREI also requires DART.

Apache Configuration

Your sites-available/default or httpd.conf file should be modified to include a section that looks something like this:

<Directory "/var/www/xrei-scripts">
      Options +ExecCGI
      AddHandler cgi-script .cgi .pl
      SetEnv PERL5LIB /usr/local/biowiki/dart/perl
       SetEnv MPINPUTS /usr/share/texmf-texlive/metapost/base
</Directory>

xREI Configuration

xREI expects xrei-scripts to live in ../xrei-scripts by default, and for xrei.json to be in the same directory as index.html. These can both be modified in the init function in index.html.

xrei-vizrates.pl expects a directory /temp under xrei-scripts it can write PostScript files to. This directory should be cleaned out regularly with a cronjob. Once a night to once a week should be frequent enough, depending on use.

xrei.json

xrei.json defines the repositories that will be available to xREI, and is in a JSON format. An example configuration is included with xREI, including the directories containing xrate grammar files.

Other information

Some older, sketchy notes on installation, configuration and extension can be found here.

Papers

History

xREI development began during the 2007 Google Summer of Code, sponsored by NESCent. The original SoC ideas page can be found here.

-- LarsBarquist - 29 Feb 2008

Actions: Edit | Attach | New | Ref-By | Printable view | Raw view | Normal view | See diffs | Help | More...