123 |
12 Jul 06 |
jari |
$Id$ |
123 |
12 Jul 06 |
jari |
2 |
|
272 |
21 May 07 |
peter |
3 |
---------------------------------------------------------------------- |
272 |
21 May 07 |
peter |
4 |
{{{ |
123 |
12 Jul 06 |
jari |
Copyright (C) 2006 Jari Häkkinen |
281 |
22 May 07 |
jari |
Copyright (C) 2007 Jari Häkkinen, Peter Johansson |
123 |
12 Jul 06 |
jari |
7 |
|
272 |
21 May 07 |
peter |
This file is part of se.lu.thep.affymetrix package for BASE, |
272 |
21 May 07 |
peter |
http://baseplugins.thep.lu.se/wiki/se.thep.lu.se.affymetrix |
123 |
12 Jul 06 |
jari |
10 |
|
272 |
21 May 07 |
peter |
se.lu.thep.affymetrix package for BASE is free software; you can |
272 |
21 May 07 |
peter |
redistribute it and/or modify it under the terms of the GNU General |
272 |
21 May 07 |
peter |
Public License as published by the Free Software Foundation; either |
272 |
21 May 07 |
peter |
version 2 of the License, or (at your option) any later version. |
123 |
12 Jul 06 |
jari |
15 |
|
272 |
21 May 07 |
peter |
se.lu.thep.affymetrix package for BASE is distributed in the hope that |
272 |
21 May 07 |
peter |
it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
272 |
21 May 07 |
peter |
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
272 |
21 May 07 |
peter |
the GNU General Public License for more details. |
123 |
12 Jul 06 |
jari |
20 |
|
123 |
12 Jul 06 |
jari |
You should have received a copy of the GNU General Public License |
123 |
12 Jul 06 |
jari |
along with this program; if not, write to the Free Software |
123 |
12 Jul 06 |
jari |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
123 |
12 Jul 06 |
jari |
USA. |
273 |
21 May 07 |
peter |
25 |
}}} |
272 |
21 May 07 |
peter |
26 |
---------------------------------------------------------------------- |
123 |
12 Jul 06 |
jari |
27 |
|
123 |
12 Jul 06 |
jari |
28 |
|
272 |
21 May 07 |
peter |
= Installation Guide for se.lu.thep.affymetrix = |
272 |
21 May 07 |
peter |
30 |
|
284 |
22 May 07 |
jari |
This file contains installation information for two plug-ins: RMAExpress |
272 |
21 May 07 |
peter |
and Plier. |
272 |
21 May 07 |
peter |
33 |
|
345 |
27 Jun 07 |
jari |
34 |
|
272 |
21 May 07 |
peter |
== 0. Introduction == |
123 |
12 Jul 06 |
jari |
36 |
|
272 |
21 May 07 |
peter |
=== Short intro: === |
123 |
12 Jul 06 |
jari |
38 |
|
284 |
22 May 07 |
jari |
The route for successful first time installation of this RMAExpress plug-in is |
272 |
21 May 07 |
peter |
i. Install the plug-in. |
272 |
21 May 07 |
peter |
i. Install wxWidgets. |
272 |
21 May 07 |
peter |
i. Install RMAExpressConsole. |
272 |
21 May 07 |
peter |
i. Make BASE aware of the new plug-in. |
228 |
18 Jan 07 |
jari |
44 |
|
284 |
22 May 07 |
jari |
The route for successful first time installation of this Plier plug-in is |
272 |
21 May 07 |
peter |
i. Install the plug-in. |
272 |
21 May 07 |
peter |
i. Install apt-probeset-summarize. |
272 |
21 May 07 |
peter |
i. Make BASE aware of the new plug-in. |
228 |
18 Jan 07 |
jari |
49 |
|
345 |
27 Jun 07 |
jari |
Upgrading the plug-in is even easier, see item 5 below. |
228 |
18 Jan 07 |
jari |
51 |
|
272 |
21 May 07 |
peter |
=== Longer intro: === |
228 |
18 Jan 07 |
jari |
53 |
|
284 |
22 May 07 |
jari |
There are two supported ways to install this Affymetrix package, you |
189 |
27 Oct 06 |
jari |
either download a pre-compiled package or you checkout the latest |
189 |
27 Oct 06 |
jari |
source from the subversion repository. The below instructions covers |
189 |
27 Oct 06 |
jari |
both installation options since major parts of the installation is the |
189 |
27 Oct 06 |
jari |
same for the different cases. There is also a source package available |
189 |
27 Oct 06 |
jari |
for download but installation from that package is currently not |
189 |
27 Oct 06 |
jari |
supported, it is supplied for reference only. |
123 |
12 Jul 06 |
jari |
61 |
|
272 |
21 May 07 |
peter |
Note, the underlying algorithms RMA and Plier are not part of this |
272 |
21 May 07 |
peter |
package. This package contains the plug-in code needed for hooking up |
272 |
21 May 07 |
peter |
RMAExpress and Plier to BASE as a plug-in. The underlying binaries, |
272 |
21 May 07 |
peter |
RMAExpress and Plier, must be installed for the corresponding plug-in |
272 |
21 May 07 |
peter |
to work. See more in item 1.ii below. |
156 |
10 Aug 06 |
jari |
67 |
|
274 |
21 May 07 |
peter |
If you are upgrading a previously installed RMAExpress or Plier |
345 |
27 Jun 07 |
jari |
plug-in for BASE you can safely skip to item 5 below. |
124 |
18 Jul 06 |
jari |
70 |
|
156 |
10 Aug 06 |
jari |
71 |
|
272 |
21 May 07 |
peter |
== 1. Pre-requisites == |
124 |
18 Jul 06 |
jari |
73 |
|
274 |
21 May 07 |
peter |
=== BASE 2 === |
345 |
27 Jun 07 |
jari |
75 |
|
274 |
21 May 07 |
peter |
This plug-in package will only work with BASE 2.0 or later, i.e. BASE |
274 |
21 May 07 |
peter |
1.2.x is not (and will never be) supported. |
124 |
18 Jul 06 |
jari |
78 |
|
345 |
27 Jun 07 |
jari |
''Compile time access to BASE core jar file.'' |
345 |
27 Jun 07 |
jari |
80 |
|
345 |
27 Jun 07 |
jari |
This is only needed for compilation and installation from a subversion |
345 |
27 Jun 07 |
jari |
tree or a source package, i.e., it is not needed when installing a |
345 |
27 Jun 07 |
jari |
pre-compiled package. |
345 |
27 Jun 07 |
jari |
84 |
|
345 |
27 Jun 07 |
jari |
Specifically, the BASE2Core.jar file in use by the server running the |
345 |
27 Jun 07 |
jari |
BASE web application must be available at compile/install time. |
345 |
27 Jun 07 |
jari |
87 |
|
345 |
27 Jun 07 |
jari |
88 |
|
274 |
21 May 07 |
peter |
=== RMAExpressConsole and apt-probeset-summarize === |
282 |
22 May 07 |
jari |
90 |
|
282 |
22 May 07 |
jari |
''RMAExpressConsole'' |
282 |
22 May 07 |
jari |
92 |
|
274 |
21 May 07 |
peter |
Pre-requisite for RMAExpress plug-in (both binary package and |
345 |
27 Jun 07 |
jari |
subversion tree installs) to work is that RMAExpressConsole is |
345 |
27 Jun 07 |
jari |
installed. |
124 |
18 Jul 06 |
jari |
96 |
|
272 |
21 May 07 |
peter |
RMAExpressConsole is available in the RMAExpress package written by |
272 |
21 May 07 |
peter |
Ben Bolstad, and the official RMAExpress web site is |
124 |
18 Jul 06 |
jari |
http://rmaexpress.bmbolstad.com/ |
123 |
12 Jul 06 |
jari |
100 |
|
345 |
27 Jun 07 |
jari |
(Microsoft Windows instructions) RMAExpressConsole is a part of the |
345 |
27 Jun 07 |
jari |
Microsoft Windows pre-built binary package available from the |
345 |
27 Jun 07 |
jari |
RMAExpress web site. Install the package and locate the |
345 |
27 Jun 07 |
jari |
RMAExpressConsole.exe, wxbase26_gcc_custom.dll, and |
345 |
27 Jun 07 |
jari |
wxmsw26_core_gcc_custom.dll files (these will be copied to the plug-in |
345 |
27 Jun 07 |
jari |
location later). |
345 |
27 Jun 07 |
jari |
107 |
|
345 |
27 Jun 07 |
jari |
(Linux and MacOSX instructions) You must download and compile |
345 |
27 Jun 07 |
jari |
RMAExpressConsole. This requires that wxWidgets (a.k.a. wxWindows) is |
345 |
27 Jun 07 |
jari |
installed on your system. wxWidgets is found at |
345 |
27 Jun 07 |
jari |
http://www.wxwidgets.org. The compilation of RMAExpressConsole is |
345 |
27 Jun 07 |
jari |
straightforward (at least on OpenSuSE 10.0 and 10.2, and MacOSX |
345 |
27 Jun 07 |
jari |
10.4.9). Download the source for v1.0beta1 and unpack the tar |
280 |
22 May 07 |
jari |
file. Unfortunately the source will not work out of the box in some |
280 |
22 May 07 |
jari |
operating systems. You have to add |
280 |
22 May 07 |
jari |
116 |
{{{ |
280 |
22 May 07 |
jari |
#include <cmath> |
280 |
22 May 07 |
jari |
118 |
}}} |
283 |
22 May 07 |
jari |
to `RawDataVisualize.cpp` before issuing 'make'. After this patch |
280 |
22 May 07 |
jari |
RMAExpressConsole will be compiled (together with some other binaries |
280 |
22 May 07 |
jari |
which are of no interest here. |
123 |
12 Jul 06 |
jari |
122 |
|
282 |
22 May 07 |
jari |
''apt-probeset-summarize'' |
282 |
22 May 07 |
jari |
124 |
|
345 |
27 Jun 07 |
jari |
Pre-requisite for Plier plug-in (both binary package and subversion |
345 |
27 Jun 07 |
jari |
tree installs) to work is that apt-probeset_summarize is installed. |
282 |
22 May 07 |
jari |
127 |
|
272 |
21 May 07 |
peter |
apt-probeset-summarize is available in the Affymetrix Power Tools |
274 |
21 May 07 |
peter |
(APT) package available through Affymetrix home page |
272 |
21 May 07 |
peter |
http://www.affymetrix.com/support/developer/powertools/index.affx |
125 |
20 Jul 06 |
jari |
131 |
|
274 |
21 May 07 |
peter |
APT is available as a Windows installer package and pre-built binaries |
274 |
21 May 07 |
peter |
for Linux and Mac OS-X. If you prefer building yourself, the source |
274 |
21 May 07 |
peter |
code is available as well. Though, it should be noted, we have |
274 |
21 May 07 |
peter |
experienced some problems building APT and at the time being we have |
274 |
21 May 07 |
peter |
not succeeded. |
274 |
21 May 07 |
peter |
137 |
|
345 |
27 Jun 07 |
jari |
''Installation of external binaries'' |
282 |
22 May 07 |
jari |
139 |
|
345 |
27 Jun 07 |
jari |
You should install the external binaries, RMAExpressConsole (with the |
345 |
27 Jun 07 |
jari |
DLLs in case of Microsoft Windows install) and apt-probeset-summarize, |
345 |
27 Jun 07 |
jari |
such that they are readable for the user running your BASE application |
345 |
27 Jun 07 |
jari |
server. The name of the binaries MUST be `RMAExpressConsole` and |
345 |
27 Jun 07 |
jari |
`apt-probeset-summarize`, respectively. Also binaries must be copied |
345 |
27 Jun 07 |
jari |
into the same directory as the plug-in (see item 2 or 3 below |
345 |
27 Jun 07 |
jari |
depending on whether you perform a pre-compiled or source package |
345 |
27 Jun 07 |
jari |
installation). These two conditions are hard coded in the plug-ins. |
272 |
21 May 07 |
peter |
148 |
|
345 |
27 Jun 07 |
jari |
The install of the BASE plug-in it-self will succeed even if this |
345 |
27 Jun 07 |
jari |
requisite is not fulfilled, but execution of the plug-in within BASE |
345 |
27 Jun 07 |
jari |
will fail. |
123 |
12 Jul 06 |
jari |
152 |
|
282 |
22 May 07 |
jari |
153 |
|
273 |
21 May 07 |
peter |
== 2. Compilation and installation from a subversion tree == |
123 |
12 Jul 06 |
jari |
155 |
|
189 |
27 Oct 06 |
jari |
You should skip this section if you downloaded a pre-compiled package. |
123 |
12 Jul 06 |
jari |
157 |
|
345 |
27 Jun 07 |
jari |
When installing from a subversion working copy you must compile the |
345 |
27 Jun 07 |
jari |
plug-in, do |
123 |
12 Jul 06 |
jari |
160 |
|
273 |
21 May 07 |
peter |
`make` |
189 |
27 Oct 06 |
jari |
162 |
|
273 |
21 May 07 |
peter |
This assumes that BASE is installed in `/usr/local/base`. If this is not |
135 |
09 Aug 06 |
jari |
the case do |
123 |
12 Jul 06 |
jari |
165 |
|
273 |
21 May 07 |
peter |
`make BASEROOT=<base-dir>` |
123 |
12 Jul 06 |
jari |
167 |
|
273 |
21 May 07 |
peter |
where `<base-dir>` is to be replaced with the path to BASE. When the |
189 |
27 Oct 06 |
jari |
compilation finishes you install the plug-in into the BASE application |
189 |
27 Oct 06 |
jari |
server file system with |
135 |
09 Aug 06 |
jari |
171 |
|
273 |
21 May 07 |
peter |
`make install` or `make BASEROOT=<base-dir> install` |
135 |
09 Aug 06 |
jari |
173 |
|
189 |
27 Oct 06 |
jari |
The plug-in will install in the recommended directory |
273 |
21 May 07 |
peter |
`<base-dir>/www/plugins/se/lu/thep/affymetrix`, i.e., if you prefer |
189 |
27 Oct 06 |
jari |
another location please refer to the Makefile (which supports further |
189 |
27 Oct 06 |
jari |
options). |
124 |
18 Jul 06 |
jari |
178 |
|
273 |
21 May 07 |
peter |
For advanced users only: `<base-dir>` can really be any directory |
189 |
27 Oct 06 |
jari |
readable for the user running your tomcat server. This may be handy if |
189 |
27 Oct 06 |
jari |
you run several servers on one machine but only want one common |
189 |
27 Oct 06 |
jari |
directory hierarchy for the plug-ins. Or, if you update the BASE |
189 |
27 Oct 06 |
jari |
application frequently and in the process create new directories for |
189 |
27 Oct 06 |
jari |
the newer application. More information about this is available in the |
189 |
27 Oct 06 |
jari |
Makefile. |
189 |
27 Oct 06 |
jari |
186 |
|
189 |
27 Oct 06 |
jari |
Remember the plug-in location for configuration of BASE below. |
189 |
27 Oct 06 |
jari |
188 |
|
189 |
27 Oct 06 |
jari |
189 |
|
273 |
21 May 07 |
peter |
== 3. Installation from a pre-compiled package == |
189 |
27 Oct 06 |
jari |
191 |
|
345 |
27 Jun 07 |
jari |
You should skip this section if you use the subversion repository or a |
345 |
27 Jun 07 |
jari |
source package. |
189 |
27 Oct 06 |
jari |
194 |
|
345 |
27 Jun 07 |
jari |
Install the plug-in in the BASE application server file system. If |
273 |
21 May 07 |
peter |
BASE is installed in `/usr/local/base` simply do |
124 |
18 Jul 06 |
jari |
197 |
|
273 |
21 May 07 |
peter |
`make install-precompiled` |
123 |
12 Jul 06 |
jari |
199 |
|
135 |
09 Aug 06 |
jari |
If BASE is installed elsewhere, do |
135 |
09 Aug 06 |
jari |
201 |
|
273 |
21 May 07 |
peter |
`make BASEROOT=<base-dir> install-precompiled` |
135 |
09 Aug 06 |
jari |
203 |
|
273 |
21 May 07 |
peter |
where `<base-dir>` is to be replaced by the path to BASE. The plug-in |
123 |
12 Jul 06 |
jari |
will install in the recommended directory |
273 |
21 May 07 |
peter |
`<base-dir>/www/plugins/se/lu/thep/affymetrix`, i.e., if you prefer |
189 |
27 Oct 06 |
jari |
another location please refer to the Makefile (which supports further |
189 |
27 Oct 06 |
jari |
options). |
123 |
12 Jul 06 |
jari |
209 |
|
425 |
12 Sep 07 |
jari |
(Microsoft Windows instructions) If the above fails, or you decided to |
425 |
12 Sep 07 |
jari |
use a something else than a UNIX like operating system you may have |
425 |
12 Sep 07 |
jari |
difficulties running GNU `make`. Simply create directory |
425 |
12 Sep 07 |
jari |
`<base-dir>/www/plugins/se/lu/thep/affymetrix` and copy |
425 |
12 Sep 07 |
jari |
`affymetrix.jar` into the new directory. |
425 |
12 Sep 07 |
jari |
215 |
|
273 |
21 May 07 |
peter |
For advanced users only: `<base-dir>` can really be any directory |
125 |
20 Jul 06 |
jari |
readable for the user running your tomcat server. This may be handy if |
125 |
20 Jul 06 |
jari |
you run several servers on one machine but only want one common |
125 |
20 Jul 06 |
jari |
directory hierarchy for the plug-ins. Or, if you update the BASE |
125 |
20 Jul 06 |
jari |
application frequently and in the process create new directories for |
135 |
09 Aug 06 |
jari |
the newer application. More information about this is available in the |
135 |
09 Aug 06 |
jari |
Makefile. |
124 |
18 Jul 06 |
jari |
223 |
|
153 |
10 Aug 06 |
jari |
Remember the plug-in location for configuration of BASE below. |
125 |
20 Jul 06 |
jari |
225 |
|
125 |
20 Jul 06 |
jari |
226 |
|
273 |
21 May 07 |
peter |
== 4. BASE configuration == |
124 |
18 Jul 06 |
jari |
228 |
|
345 |
27 Jun 07 |
jari |
=== Make BASE aware of the new plug-ins === |
125 |
20 Jul 06 |
jari |
230 |
|
282 |
22 May 07 |
jari |
You need to perform the below steps for both plug-ins in this |
282 |
22 May 07 |
jari |
package. Currently there is no way to install all plug-ins in one |
282 |
22 May 07 |
jari |
package. |
282 |
22 May 07 |
jari |
234 |
|
284 |
22 May 07 |
jari |
* Log in to BASE with plug-in administrative privileges. |
127 |
22 Jul 06 |
jari |
236 |
|
273 |
21 May 07 |
peter |
* Choose 'Administrate' -> 'Plugins' -> 'Definitions'. |
127 |
22 Jul 06 |
jari |
238 |
|
273 |
21 May 07 |
peter |
* Click on 'New...'. This will open up the 'Create plugin' pop-up |
282 |
22 May 07 |
jari |
window. Type `se.lu.thep.affymetrix.RMAExpress` in the 'Class' |
189 |
27 Oct 06 |
jari |
field and |
282 |
22 May 07 |
jari |
`/path/to/base/www/plugins/se/lu/thep/affymetrix/affymetrix.jar" in |
284 |
22 May 07 |
jari |
the 'Path' field. Obviously, if you have chosen another location |
282 |
22 May 07 |
jari |
for the jar above you should adapt to that. Click on the 'Save' |
282 |
22 May 07 |
jari |
button. |
127 |
22 Jul 06 |
jari |
246 |
|
282 |
22 May 07 |
jari |
* Share the plug-in to all users/roles/groups that should have access |
282 |
22 May 07 |
jari |
to it (sharing it to group 'Everyone' should be sufficient in most |
282 |
22 May 07 |
jari |
cases). |
127 |
22 Jul 06 |
jari |
250 |
|
295 |
23 May 07 |
jari |
* Redo the third and fourth step above for Plier where you use |
295 |
23 May 07 |
jari |
`se.lu.thep.affymetrix.Plier` in the class field. |
127 |
22 Jul 06 |
jari |
253 |
|
273 |
21 May 07 |
peter |
* That's it, now you need to BASE skills to actually make use of the |
282 |
22 May 07 |
jari |
plug-in. |
125 |
20 Jul 06 |
jari |
256 |
|
345 |
27 Jun 07 |
jari |
257 |
|
281 |
22 May 07 |
jari |
== 5. Updating a plug-in in BASE. == |
127 |
22 Jul 06 |
jari |
259 |
|
273 |
21 May 07 |
peter |
You may update the underlying binaries (RMAExpress or |
273 |
21 May 07 |
peter |
apt-probeset-summarize) or the plug-in. |
153 |
10 Aug 06 |
jari |
262 |
|
273 |
21 May 07 |
peter |
=== Updating RMAExpressConsole or apt-probeset-summarize === |
156 |
10 Aug 06 |
jari |
264 |
|
273 |
21 May 07 |
peter |
Installing a new binary is trivial, just replace the old binary with |
282 |
22 May 07 |
jari |
the new binary. However, make sure that the input and output formats |
282 |
22 May 07 |
jari |
has not changed. |
156 |
10 Aug 06 |
jari |
268 |
|
273 |
21 May 07 |
peter |
=== Update RMAExpress or Plier plug-ins for BASE === |
156 |
10 Aug 06 |
jari |
270 |
|
284 |
22 May 07 |
jari |
This is straightforward: |
156 |
10 Aug 06 |
jari |
272 |
|
345 |
27 Jun 07 |
jari |
- Replace the old jar-file and |
156 |
10 Aug 06 |
jari |
274 |
|
345 |
27 Jun 07 |
jari |
- Log in to BASE with plug-in administrative privileges. |
156 |
10 Aug 06 |
jari |
276 |
|
345 |
27 Jun 07 |
jari |
- Choose 'Administrate' -> 'Plugins' -> 'Definitions'. |
156 |
10 Aug 06 |
jari |
278 |
|
345 |
27 Jun 07 |
jari |
- Locate the plug-in (RMAExpress or Plier) in the list and click on it. |
156 |
10 Aug 06 |
jari |
280 |
|
345 |
27 Jun 07 |
jari |
- Click on the 'Unload' button if it is available. This will |
345 |
27 Jun 07 |
jari |
remove the old plug-in from the application. |
156 |
10 Aug 06 |
jari |
283 |
|
345 |
27 Jun 07 |
jari |
- Click on 'Edit...'. This will open up the 'Edit plugin' |
345 |
27 Jun 07 |
jari |
pop-up window. No parameter changes are need, just click on |
345 |
27 Jun 07 |
jari |
the 'Save' button. |
156 |
10 Aug 06 |
jari |
287 |
|
345 |
27 Jun 07 |
jari |
- Done. |