Prerequisites:
- a working installation of galaxy
- R/Bioconductor
- Ringo bioconductor library
- rpy (version 1.0.x)
- a working C++ compiler

Installation:
given a galaxy dir $GALAXYTOPDIR
- extract the content of the archive into $GALAXYTOPDIR:

  tar cvjf carpet.tar.bz2 -C $GALAXYTOPDIR
  
- build the "comuni" executable:
  
  cd $GALAXYTOPDIR/tools/CARPET
  g++ com_uni.cpp -o comuni
  
  (do NOT use optimizations if possible)
  
- paste the content of add_to_tool_conf.xml within tool_conf.xml 
file (part of galaxy distribution), where needed and between the
<toolbox></toolbox> tags

- restart galaxy

NOTES:
- rpy2 is not implemented in carpet yet. You can download rpy (1.0.3) here:

http://sourceforge.net/projects/rpy/files/rpy/1.0.3/rpy-1.0.3.tar.gz/download

- You may install bioconductor's Ringo library just issuing the following within
your R console:

  source("http://bioconductor.org/biocLite.R")
  biocLite("Ringo")
  
- carpet has been deployed and tested on galaxy build 1349. There's no warranty it 
works on different builds (although it should).