Changeset 776 for plugins/base1/se.lu.onk.MergeBioAssay
- Timestamp:
- Sep 18, 2008, 7:21:18 PM (15 years ago)
- Location:
- plugins/base1/se.lu.onk.MergeBioAssay
- Files:
-
- 2 added
- 2 edited
- 3 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
plugins/base1/se.lu.onk.MergeBioAssay/trunk/README
r772 r776 1 1 $Id$ 2 2 3 = About `se.lu.onk. ReplicateError` =3 = About `se.lu.onk.MergeBioAssay` = 4 4 5 The `se.lu.onk. ReplicateError` plug-in for BASE is5 The `se.lu.onk.MergeBioAssay` plug-in for BASE is 6 6 7 `se.lu.onk. ReplicateError` is free software. See the file license.txt for7 `se.lu.onk.MergeBioAssay` is free software. See the file license.txt for 8 8 copying conditions. 9 9 … … 14 14 == Downloading == 15 15 16 `se.lu.onk. ReplicateError` can be obtained from16 `se.lu.onk.MergeBioAssay` can be obtained from 17 17 18 18 http://baseplugins.thep.lu.se/wiki/PluginDownload … … 26 26 http://baseplugins.thep.lu.se. These installation instructions only 27 27 describe how to get the plug-in to work with the Base1PluginExecuter 28 in the latest BASE version 2. BASE 1.2 installers should enable one 29 line in files AAtabs.html and WAtabs.html, read the information in 30 these short files.'' 28 in the latest BASE version 2.'' 31 29 32 30 If you downloaded a binary package you only need to follow these … … 42 40 {{{ 43 41 # cd /path/to/base/plugins 44 # download ReplicateError-version.tgz45 # untar ReplicateError-version.tgz46 # ln -s ReplicateError-version ReplicateError42 # download MergeBioAssay-version.tgz 43 # untar MergeBioAssay-version.tgz 44 # ln -s MergeBioAssay-version MergeBioAssay 47 45 }}} 48 The symbolic allink in the last line above allows for easier change to46 The symbolic link in the last line above allows for easier change to 49 47 future version of the plug-in. 50 48 {{{ 51 49 # Log in to your BASE as admin 52 # Upload the configuration files `pluginConfigurationAA.base` and 53 `pluginConfigurationWA.base`. 54 # Create/update one configuration each for across and within assays 55 mode of the ReplciateError plug-in where you select the plug-in 56 defintion files `pluginConfigurationAA.base` and 57 `pluginConfigurationWA.base`, respectively. BASE will respond that 58 plug-ins where configured but ... 59 # Re-configure the plug-ins without selecting a file, set the 60 `Plugin executables path` and proceed to next window by clicking 50 # Upload the configuration file `mergebioassay.base` 51 # Create/update a configuration for the plug-in where you select the 52 plug-in defintion files `mergebioassay.base`. BASE will respond 53 that plug-ins where configured but ... 54 # Re-configure the plug-in without selecting a file, set the `Plugin 55 executables path` and proceed to next window by clicking 61 56 `Next`. This is explained in the BASE documentation and needs to 62 57 be done even when you update your plug-in. 63 58 # In this parameter window set the `Name of executable`. The value 64 59 of this parameter and `Plugin executables path` should add up to 65 the absolute path to the binar ies `runAA` and `runWA`, i.e.,66 /path/to/base/plugins/ ReplicateError/runAA. How this string looks60 the absolute path to the binary `run`, i.e., 61 /path/to/base/plugins/MergeBioAssay/run. How this string looks 67 62 like depends on your plug-in directory structure. 68 63 # Test the plug-ins and when you are satisfied, share it to your … … 73 68 == Compiling == 74 69 75 You must checkout the `se.lu.onk. ReplicateError` from the repository,70 You must checkout the `se.lu.onk.MergeBioAssay` from the repository, 76 71 follow the instructions below. Then download and untar the 77 72 `se.lu.onk.BaseFile` package available from … … 80 75 {{{ 81 76 check out project, see instructions below 82 # cd /path/to/se.lu.onk. ReplicateError77 # cd /path/to/se.lu.onk.MergeBioAssay 83 78 # wget http://baseplugins.thep.lu.se/.../BaseFile-1.0.tgz 84 79 # wget http://baseplugins.thep.lu.se/.../BaseFile-1.0.tgz.MD5 … … 91 86 It is important that the `BaseFile` package is located in directory 92 87 `BaseFile`. Now simple issue `ant`. This will create a jar file 93 `dist/ ReplicateError.jar`.88 `dist/MergeBioAssay.jar`. 94 89 95 90 96 91 == Creating a distribution == 97 92 98 Update the version number (make sure they match) in `build.xml`, 99 `lib/pluginConfigurationAA.base`, and `lib/pluginConfigurationWA.base`. 100 Issue `ant package`. This creates a distribution package with all 101 required components, including BaseFile.jar and associated files. 93 Update the version number in `build.xml`, and issue `ant 94 package`. This creates a distribution package with all required 95 components, including BaseFile.jar and associated files. 102 96 103 97 104 98 == Bug Reporting == 105 99 106 You can report `se.lu.onk. ReplicateError` bugs on100 You can report `se.lu.onk.MergeBioAssay` bugs on 107 101 108 102 http://baseplugins.thep.lu.se/newticket … … 113 107 == Subversion Access == 114 108 115 The `se.lu.onk. ReplicateError` source repository is available via anonymous109 The `se.lu.onk.MergeBioAssay` source repository is available via anonymous 116 110 subversion access, issue: 117 111 118 `svn co http://baseplugins.thep.lu.se/svn/plugins/base1/se.lu.onk. ReplicateError/trunk se.lu.onk.ReplicateError`112 `svn co http://baseplugins.thep.lu.se/svn/plugins/base1/se.lu.onk.MergeBioAssay/trunk se.lu.onk.MergeBioAssay` 119 113 120 114 There is no guarantees about the contents or quality of the latest … … 122 116 is known to be broken to be committed to the repository. Use at your 123 117 own risk. You may prefer to check out a released version instead, then 124 replace `trunk` with `tags/ release-number` in the above example.118 replace `trunk` with `tags/version` in the above example. 125 119 126 120 … … 130 124 Copyright (C) 2008 Jari Häkkinen 131 125 132 This file is part of the se.lu.onk. ReplicateErrorplug-in for126 This file is part of the se.lu.onk.MergeBioAssay plug-in for 133 127 BASE. Available at http://baseplugins.thep.lu.se/ and BASE web site is 134 128 http://base.thep.lu.se -
plugins/base1/se.lu.onk.MergeBioAssay/trunk/build.xml
r771 r776 6 6 Copyright (C) 2008 Jari Hakkinen 7 7 8 This file is part of the se.lu.onk. ReplicateErrorplug-in for8 This file is part of the se.lu.onk.MergeBioAssay plug-in for 9 9 BASE. Available at http://baseplugins.thep.lu.se/ and BASE web 10 10 site is http://base.thep.lu.se … … 23 23 along with BASE. If not, see <http://www.gnu.org/licenses/>. 24 24 --> 25 <project name="se.lu.onk. ReplicateErrorplug-in for BASE"25 <project name="se.lu.onk.MergeBioAssay plug-in for BASE" 26 26 default="dist" basedir="."> 27 27 <description> 28 This build file is used for se.lu.onk. ReplicateErrorplug-in for28 This build file is used for se.lu.onk.MergeBioAssay 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=" 1.3pre" />42 <property name="version" value="2.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=" lib" location="lib" />48 <property name="package" value=" replicateerror"/>49 <property name="packagestring" value=" ReplicateError-${version}" />47 <property name="doc" location="doc" /> 48 <property name="package" value="mergebioassay"/> 49 <property name="packagestring" value="MergeBioAssay-${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}/ ReplicateError.jar">89 <jar destfile="${dist}/MergeBioAssay.jar"> 90 90 <fileset dir="${build}" /> 91 91 <manifest> 92 92 <attribute name="Built-By" value="${user.name}"/> 93 <attribute name="Main-Class" value=" replicateerror.ReplicateError"/>93 <attribute name="Main-Class" value="mergebioassay.MergeBioAssay"/> 94 94 </manifest> 95 95 </jar> … … 104 104 <mkdir dir="${package}/${basefilejar}"/> 105 105 <copy todir="${package}"> 106 <fileset file="${dist}/ ReplicateError.jar" />107 <fileset dir="${ lib}" />106 <fileset file="${dist}/MergeBioAssay.jar" /> 107 <fileset dir="${doc}" /> 108 108 <fileset file="license.txt" /> 109 109 <fileset file="README" /> … … 112 112 <fileset dir="${basefilejar}" /> 113 113 </copy> 114 <replace file="${package}/pluginConfigurationAA.base"> 115 <replacefilter 116 token="@VERSION@" 117 value="${version}" 118 /> 119 </replace> 120 <replace file="${package}/pluginConfigurationWA.base"> 114 <replace dir="${package}"> 115 <include name="*.base" /> 121 116 <replacefilter 122 117 token="@VERSION@" -
plugins/base1/se.lu.onk.MergeBioAssay/trunk/doc/mergebioassay.base
r181 r776 2 2 section plugin 3 3 uniqueName onk.lu.se/johan_enell/merge_bioassays 4 versionNumber 2.04 versionNumber @VERSION@ 5 5 name Transformation: Merge bioassays 6 6 descr Using this plugin base-users can merge together bioassays by grouping them according to annotation types or syntactical differences in the name. There are four different method for calculating the new values. They differ in what kind of mean they are using (arithmetic or geometric) and if they are merging on ratio or intensity. \r\n\r\nFor each group the parents are saved so the link to the raw data is preserved. Annotations for the bioassays are saved if sample1 is the same for each assay in each group.\r\n\r\nIMPORTANT\r\nIf you have merged assays in a group, BASE 1.2.10 will have difficulties to export data Merged on reporter from the parents RawBioAssays. If you for instance export '[Raw] Spot diameter' for a merged assay, each reporter might be associated with values from several RawBioAssays but only one such value will be exported. This is a known limitation of base 1.2.10 and will be fix in future versions. \r\n\r\nMerge methods\r\n\r\nGeometric mean of ratio:\r\n This method calculates the geometric mean of the ratios in each group per position.\r\n\r\nArithmetic mean of ratio:\r\n This method calculates the arithmetic mean of the ratios in each group per position.\r\n\r\nArithmetic mean of intensity:\r\n This method calculates the arithmetic mean of the intensities in each group per position.\r\n\r\nRatio of ratio:\r\n This method works a little bit different from the others. It demands that each group consists of exactly two bioassays. Then it will create a new ratio for each spot with one of the assays over the other, depending on what the user has specified in the ratio parameters. \r\n\r\nPARAMETERS:\r\nAssayname\r\nGroup\r\nNew name\r\nMerge method\r\nRatio\r\n\r\n\r\nAssayname - This parameter specifies how the name of the assays is constructed. Use %0-%9 as wildcards and then put any character(s) between as delimiters. For example assay name Assay_1_A can be divided into three parts. By setting the parameter to %1_%2_%3 the plugin will read assay name assay_1_A and set %1=Assay, %2=1 and %3=A. Thus, if your assays have names constructed in the same way merge can sort the assays in groups depending on %1, %2 or %3.\r\n\r\nGroup - This will specify how the assays will be grouped together. It can either be a %-number used in assayname or an annotation type.\r\n\r\nExample1: Assays; Assay_1_A, Assay_2_A, Assay_1_B and Assay_2_B can be sorted into groups of assays using merge.\r\n \r\n 1a: Setting the parameter \221Assayname\222 = %1_%2_%3 and parameter \221Group\222 = %2 will sort the assays into two groups.\r\n\r\n One group were %2=1 (assays Assay_1_A and Assay_1_B)\r\n One group were %2=2 (assays Assay_2_A and Assay_2_B) \r\n\r\n 1b: Setting the parameter \221Assayname\222 = %1_%2_%3 and parameter \221Group\222 = %3 will sort the assays into two groups.\r\n\r\n One group were %3=A (assays Assay_1_A and Assay_2_A)\r\n One group were %3=B (assays Assay_1_B and Assay_1_B) \r\n\r\nNew name - This text will be used in the name of the new merged assays. The name will be this string followed by the groupname.\r\n\r\nMerge method - Choose one of the methodes described above.\r\n\r\nRatio - If merge method "ratio of ratio" is chosen the form of the ratio must be specified. This is done either in the ratio parameter or in ratio annotation type and ratio annotation value. In the ratio parameter you can choose a %-number followed by the two values it can take. The last character in the string must be the delimiter the user has choosen ot use. The other way a user can specify the ratio is by choosing an annotation type in the list and specify the values in the annotation values parameter. This is done by writing the values with the delimiter used last. \r\n\r\nex.\r\n\r\n%1|vr1|vr2|\r\n\r\nThis will take the values from %1 in the assayname and put the assay with value vr1 over the assay with values vr2. Notice that the final character is the delimiter (this can of course be any character).\r\n\r\nExample2: Assays; Assay_1_A, Assay_2_A, Assay_1_B and Assay_2_B can be sorted into groups of assays using merge.\r\n\r\n 1a: Setting the parameter \221Assayname\222 = %1_%2_%3 and parameter \221Group\222 = %2 will sort the assays into two groups.\r\n\r\n One group were %2=1 (assays Assay_1_A and Assay_1_B)\r\n One group were %2=2 (assays Assay_2_A and Assay_2_B)\r\n\r\nBy setting parameter \221Ratio\222 = %3|A|B| ratios of ratios will be created as:\r\n Assay_1_A / Assay_1_B\r\n Assay_2_A / Assay_2_B\r\n \r\nArithmetic mean\r\nhttp://mathworld.wolfram.com/ArithmeticMean.html\r\nGeometric mean\r\nhttp://mathworld.wolfram.com/GeometricMean.html\r\n -
plugins/base1/se.lu.onk.MergeBioAssay/trunk/doc/run
r704 r776 2 2 3 3 progdir="`dirname \"$0\"`" 4 java -cp "$CLASSPATH:$progdir/ mergebioassay.jar" mergebioassay/MergeBioAssay stdin.txt4 java -cp "$CLASSPATH:$progdir/BaseFile/BaseFile.jar:$progdir/mergebioassay.jar" mergebioassay/MergeBioAssay stdin.txt
Note: See TracChangeset
for help on using the changeset viewer.