Changeset 895
- Timestamp:
- Dec 8, 2008, 10:39:49 AM (15 years ago)
- Location:
- plugins/base1
- Files:
-
- 2 added
- 3 edited
- 3 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
plugins/base1/se.lu.onk.VirtualArray/trunk/README
r893 r895 1 1 $Id$ 2 2 3 = About `se.lu.onk. Center` =3 = About `se.lu.onk.VirtualArray` = 4 4 5 The `se.lu.onk.Center` plug-in is a normalisation method where 6 expression values are centered around the data median or mean. See 7 ``Documentation`` below for further information about the plug-in. 5 The `se.lu.onk.VirtualArray` plug-in is a ... 8 6 9 `se.lu.onk. Center` is free software. See the file license.txt for10 copying conditions.7 `se.lu.onk.VirtualArray` is free software. See the file license.txt 8 for copying conditions. 11 9 12 10 The package was created by Johan Enell and is currently maintained by … … 16 14 == Downloading == 17 15 18 `se.lu.onk. Center` can be obtained from16 `se.lu.onk.VirtualArray` can be obtained from 19 17 20 18 http://baseplugins.thep.lu.se/wiki/PluginDownload … … 42 40 {{{ 43 41 # cd /path/to/base/plugins 44 # download Center-version.tgz45 # untar Center-version.tgz46 # ln -s Center-version Center42 # download VirtualArray-version.tgz 43 # untar VirtualArray-version.tgz 44 # ln -s VirtualArray-version VirtualArray 47 45 }}} 48 46 The symbolic link in the last line above allows for easier change to … … 50 48 {{{ 51 49 # Log in to your BASE as admin 52 # Upload the configuration file misc/plugin_Transformation_Center.base`50 # Upload the configuration file lib/pluginVirtualArray.base` 53 51 # Create/update a configuration for the plug-in where you select the 54 plug-in definition file `plugin _Transformation_Center.base`. BASE52 plug-in definition file `pluginVirtualArray.base`. BASE 55 53 will respond that plug-ins where configured but ... 56 54 # Re-configure the plug-in without selecting a file, set the `Plugin … … 61 59 of this parameter and `Plugin executables path` should add up to 62 60 the absolute path to the binary `run`, i.e., 63 /path/to/base/plugins/ Center/run. How this string looks61 /path/to/base/plugins/VirtualArray/run. How this string looks 64 62 like depends on your plug-in directory structure. 65 63 # Test the plug-ins and when you are satisfied, share it to your … … 70 68 == Compiling == 71 69 72 You must checkout the `se.lu.onk. Center` from the repository,70 You must checkout the `se.lu.onk.VirtualArray` from the repository, 73 71 follow the instructions below. Then download and untar the 74 72 `se.lu.onk.BaseFile` package available from … … 77 75 {{{ 78 76 check out project, see instructions below 79 # cd /path/to/se.lu.onk. Center77 # cd /path/to/se.lu.onk.VirtualArray 80 78 # wget http://baseplugins.thep.lu.se/attachment/wiki/se.lu.onk.BaseFile/BaseFile-1.0.tgz?format=raw -O BaseFile-1.0.tgz 81 79 # wget http://baseplugins.thep.lu.se/attachment/wiki/se.lu.onk.BaseFile/BaseFile-1.0.tgz.MD5?format=raw -O BaseFile-1.0.tgz.MD5 … … 88 86 It is important that the `BaseFile` package is located in directory 89 87 `BaseFile`. Now simple issue `ant`. This will create a jar file 90 `dist/ Center.jar`.88 `dist/VirtualArray.jar`. 91 89 92 90 … … 100 98 == Bug Reporting == 101 99 102 You can report `se.lu.onk. Center` bugs on100 You can report `se.lu.onk.VirtualArray` bugs on 103 101 104 102 http://baseplugins.thep.lu.se/newticket … … 109 107 == Subversion Access == 110 108 111 The `se.lu.onk. Center` source repository is available via anonymous109 The `se.lu.onk.VirtualArray` source repository is available via anonymous 112 110 subversion access, issue: 113 111 114 `svn co http://baseplugins.thep.lu.se/svn/plugins/base1/se.lu.onk. Center/trunk se.lu.onk.Center`112 `svn co http://baseplugins.thep.lu.se/svn/plugins/base1/se.lu.onk.VirtualArray/trunk se.lu.onk.VirtualArray` 115 113 116 114 There is no guarantees about the contents or quality of the latest … … 121 119 122 120 123 == Documentation ==124 125 To center your data means that data values are adjusted to reflect126 their variation from some property of the data such as the mean or127 median. The center plug-in allows the user to center the expression128 levels either per gene or per array.129 130 Consider a common experimental design where you are looking at a large131 number of samples all compared to a common reference. For each gene,132 you have a series of ratio values that are relative to the expression133 level of that gene in the reference sample. Since the reference sample134 really has nothing to do with your experiment, you want your analysis135 to be independent of the amount of a gene present in the reference136 sample. This is achieved by center your data on genes. Centering makes137 less sense in experiments where the reference sample is part of the138 experiment.139 140 Centering the data for arrays can also be used to remove certain types141 of bias and can be seen as a crude normalization. The results of many142 two-color fluorescent hybridization experiments are not corrected for143 systematic biases in ratios that are the result of differences in RNA144 amounts, labeling efficiency, and image acquisition parameters. Such145 bias have the effect of multiplying ratios for all genes by a fixed146 scalar. Mean or median centering the data in log-space has the effect147 of correcting this bias, although it should be noted that an148 assumption is being made in correcting this bias, which is that the149 average gene in a given experiment is expected to have a ratio of 1.0150 (or log-ratio of 0).151 152 In general, it is recommended that median rather than mean centering153 is used since it is more robust against outliers.154 155 === Parameters ===156 157 ''Center on genes/arrays'' - Whether centering should be done on158 genes, arrays or both. If both is chosen then the centering will first159 be done on genes then on arrays, this is called a cycle.160 161 ''Number of centering cycles'' - How many cycles should be done during162 centering. This value is only relevant if the centering should be done163 on both genes and arrays.164 165 ''Centering using median or mean'' - Whether median or mean should be166 used for the centering.167 168 169 121 ---------------------------------------------------------------------- 170 122 {{{ 171 123 Copyright (C) 2008 Jari Häkkinen 172 124 173 This file is part of the se.lu.onk. Center plug-in for BASE. Available174 at http://baseplugins.thep.lu.se/ and BASE web site is125 This file is part of the se.lu.onk.VirtualArray plug-in for 126 BASE. Available at http://baseplugins.thep.lu.se/ and BASE web site is 175 127 http://base.thep.lu.se 176 128 -
plugins/base1/se.lu.onk.VirtualArray/trunk/build.xml
r893 r895 23 23 along with this software. If not, see <http://www.gnu.org/licenses/>. 24 24 --> 25 <project name="se.lu.onk. Centerplug-in for BASE"25 <project name="se.lu.onk.VirtualArray plug-in for BASE" 26 26 default="dist" basedir="."> 27 27 <description> 28 This build file is used for se.lu.onk. Centerplug-in for28 This build file is used for se.lu.onk.VirtualArray plug-in for 29 29 BASE created at the Department of Oncology, Lund University, 30 30 Sweden. … … 40 40 1.0, 1.1, 1.2pre 41 41 --> 42 <property name="version" value=" 2.2pre" />42 <property name="version" value="1.1pre" /> 43 43 44 44 <property name="basefilejar" value="BaseFile" /> 45 45 <property name="build" location="build" /> 46 46 <property name="dist" location="dist" /> 47 <property name=" misc" location="misc" />47 <property name="lib" location="lib" /> 48 48 <property name="package" value="mergebioassay"/> 49 <property name="packagestring" value=" Center-${version}" />49 <property name="packagestring" value="VirtualArray-${version}" /> 50 50 <property name="src" location="src" /> 51 51 … … 87 87 <target name="dist" depends="compile"> 88 88 <mkdir dir="${dist}" /> 89 <jar destfile="${dist}/ Center.jar">89 <jar destfile="${dist}/VirtualArray.jar"> 90 90 <fileset dir="${build}" /> 91 91 <manifest> … … 104 104 <mkdir dir="${package}/${basefilejar}"/> 105 105 <copy todir="${package}"> 106 <fileset file="${dist}/ Center.jar" />107 <fileset dir="${ misc}" />106 <fileset file="${dist}/VirtualArray.jar" /> 107 <fileset dir="${lib}" /> 108 108 <fileset file="license.txt" /> 109 109 <fileset file="README" /> -
plugins/base1/se.lu.onk.VirtualArray/trunk/lib/run
r149 r895 1 1 #!/bin/bash - 2 # 3 # $Id: run 880 2008-12-05 11:28:29Z jari $ 4 # 5 # Copyright (C) 2004 Johan Enell 6 # Copyright (C) 2008 Jari Häkkinen 7 # 8 # This file is part of the se.lu.onk.Center plug-in for 9 # BASE. Available at http://baseplugins.thep.lu.se/ and BASE web site 10 # is http://base.thep.lu.se 11 # 12 # This is free software; you can redistribute it and/or modify it 13 # under the terms of the GNU General Public License as published by 14 # the Free Software Foundation; either version 3 of the License, or 15 # (at your option) any later version. 16 # 17 # The software is distributed in the hope that it will be useful, but 18 # WITHOUT ANY WARRANTY; without even the implied warranty of 19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 # General Public License for more details. 21 # 22 # You should have received a copy of the GNU General Public License 23 # along with BASE. If not, see <http://www.gnu.org/licenses/>. 24 # 2 25 3 26 progdir="`dirname \"$0\"`" 4 java -cp "$CLASSPATH:$progdir/ VirtualArray.jar" virtualarray.VirtualArray27 java -cp "$CLASSPATH:$progdir/BaseFile/BaseFile.jar:$progdir/VirtualArray.jar" virtualarray.VirtualArray -
plugins/base1/se.lu.onk.VirtualArray/trunk/src/virtualarray/VirtualArray.java
-
Property
svn:keywords
set to
Id
r270 r895 1 /* 2 * $Id$ 3 * 4 * Copyright (C) 2004 Johan Enell 5 * Copyright (C) 2008 Jari Häkkinen 6 * 7 * This file is part of the se.lu.onk.Center plug-in for 8 * BASE. Available at http://baseplugins.thep.lu.se/ and BASE web site 9 * is http://base.thep.lu.se 10 * 11 * This is free software; you can redistribute it and/or modify it 12 * under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 3 of the License, or 14 * (at your option) any later version. 15 * 16 * The software is distributed in the hope that it will be useful, but 17 * WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 * General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this software. If not, see <http://www.gnu.org/licenses/>. 23 */ 24 1 25 package virtualarray; 2 /*3 * Created on 05-Nov-20044 *5 * VirtualArray.java is a part of QPackage6 * Copyright (C) 2004 Johan Enell, Dept Oncology, Lund University7 *8 * This program is free software; you can redistribute it and/or9 * modify it under the terms of the GNU General Public License10 * as published by the Free Software Foundation; either version 211 * of the License, or (at your option) any later version.12 *13 * This program is distributed in the hope that it will be useful,14 * but WITHOUT ANY WARRANTY; without even the implied warranty of15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16 * GNU General Public License for more details.17 *18 * You should have received a copy of the GNU General Public License19 * along with this program; if not, write toX the Free Software20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.21 */22 26 23 27 import java.io.File; -
Property
svn:keywords
set to
-
plugins/base1/se.lu.onk/trunk/build.xml
r875 r895 16 16 <!-- lib --> 17 17 <property name="lib" location="lib" /> 18 <property name="virtualarray.lib" location="VirtualArray/lib" />19 18 <property name="qpackage.lib" location="QPackage/lib" /> 20 19 <property name="smooth.doc" location="smooth/doc" /> … … 22 21 <!-- src --> 23 22 <property name="basefile.src" location="BaseFile/src" /> 24 <property name="virtualarray.src" location="VirtualArray/src" />25 23 <property name="qpackage.src" location="QPackage/src" /> 26 24 <property name="normalization.src" location="Normalization/src" /> … … 34 32 <property name="bin" location="build" /> 35 33 <property name="basefile.bin" location="${bin}/BaseFile" /> 36 <property name="virtualarray.bin" location="${bin}/VirtualArray" />37 34 <property name="qpackage.bin" location="${bin}/QPackage" /> 38 35 <property name="normalization.bin" location="${bin}/Normalization" /> … … 61 58 ================================== --> 62 59 <target name="compile" description="--> Compiles all the packages"> 63 <ant target="virtualarray.compile" />64 60 <ant target="qpackage.compile" /> 65 61 <ant target="normalization.compile" /> … … 82 78 83 79 <!-- - - - - - - - - - - - - - - - - - 84 target: virtualarray.compile85 - - - - - - - - - - - - - - - - - -->86 <target name="virtualarray.compile" depends="basefile.compile">87 <mkdir dir="${virtualarray.bin}"/>88 <javac89 srcdir="${virtualarray.src}"90 destdir="${virtualarray.bin}"91 classpath="${basefile.bin}"92 debug="true"93 deprecation="true"94 encoding="ISO-8859-1"95 />96 </target>97 98 <!-- - - - - - - - - - - - - - - - - -99 80 target: qpackage.compile 100 81 - - - - - - - - - - - - - - - - - --> … … 216 197 ================================== --> 217 198 <target name="dist" 218 depends="virtualarray.dist, 219 qpackage.dist, lowess.dist, smooth.dist" 199 depends="qpackage.dist, lowess.dist, smooth.dist" 220 200 description="--> Creates a ditributable gzipfile for each package"> 221 </target>222 223 <!-- - - - - - - - - - - - - - - - - -224 target: virtualarray.dist225 - - - - - - - - - - - - - - - - - -->226 <target name="virtualarray.dist" depends="virtualarray.compile">227 <mkdir dir="${dist}" />228 <jar destfile="${dist}/virtualarray.jar">229 <fileset dir="${basefile.src}" />230 <fileset dir="${basefile.bin}" />231 <fileset dir="${virtualarray.bin}" />232 <fileset dir="${virtualarray.src}" />233 <manifest>234 <attribute name="Built-By" value="${user.name}" />235 <attribute name="Main-Class" value="virtualarray.VirtualArray" />236 </manifest>237 </jar>238 201 </target> 239 202
Note: See TracChangeset
for help on using the changeset viewer.