diff MANUAL_INSTALL.txt @ 0:e1b29d705286 draft

planemo upload for repository https://github.com/workflow4metabolomics/nmr_normalization commit 0a2ec9e30fbf7690a80695c751e6ea432b10a759-dirty
author marie-tremblay-metatoul
date Mon, 18 Apr 2016 11:29:30 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MANUAL_INSTALL.txt	Mon Apr 18 11:29:30 2016 -0400
@@ -0,0 +1,44 @@
+Instructions to integrate the NMR Normalization" tool into a local instance of Galaxy
+Version mars 2015 M Tremblay-Franco
+
+
+## --- R bin and Packages : --- ##
+R version 3.0.2 (2013-09-25) -- "Frisbee Sailing
+Platform: x86_64-redhat-linux-gnu (64-bit)
+
+Install the "batch" library, necessary for parseCommandArgs function:
+ - Download package source (*.tar.gz file) from your favorite CRAN (http://www.r-project.org/)
+For example: http://cran.univ-lyon1.fr/
+
+ - Install package in your R session
+install.packages("path/package_name.tar.gz",lib="path",repos=NULL)
+For Example: install.packages("/usr/lib64/R/library/batch_1.1-4.tar",lib="/usr/lib64/R/library",repos=NULL)
+
+ - Finally, load the package into your R session
+library(batch)
+
+
+
+## --- Config : --- ##
+ - Edit the file "/galaxy/dist/galaxy-dist/tool_conf.xml" and add 
+<section id="id_name" name="Name">
+  <tool file="path/NmrNormalization_xml.xml" />
+</section>
+to create a new section containing the Nmr_Normalization tool
+or add
+  <tool file="path/NmrNormalization_xml.xml" />
+in an existing section
+
+ - Put the three files NmrNormalization_xml.xml, NmrNormalization_wrapper.R and NmrNormalization_script.R in a same directory
+For example, path=/galaxy/dist/galaxy-dist/tools/stats
+
+ - Edit the NmrBucketing_xml.xml file and change the path in the following lines
+    # R script
+    R --vanilla --slave --no-site-file --file=path/NmrNormalization_wrapper.R --args
+    
+    ## Library name for raw files storage
+    library path/$library
+
+
+
+Finally, restart Galaxy
\ No newline at end of file