Mercurial > repos > marie-tremblay-metatoul > spectral_normalization
comparison MANUAL_INSTALL.txt @ 0:a5e6499f1b4d draft default tip
planemo upload for repository https://github.com/workflow4metabolomics/spectral_normalization commit 559844c168f0450b9657346ba890d9c028d7537a
author | marie-tremblay-metatoul |
---|---|
date | Tue, 22 Nov 2016 06:42:44 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a5e6499f1b4d |
---|---|
1 Instructions to integrate the NMR Normalization" tool into a local instance of Galaxy | |
2 Version mars 2015 M Tremblay-Franco | |
3 | |
4 | |
5 ## --- R bin and Packages : --- ## | |
6 R version 3.0.2 (2013-09-25) -- "Frisbee Sailing | |
7 Platform: x86_64-redhat-linux-gnu (64-bit) | |
8 | |
9 Install the "batch" library, necessary for parseCommandArgs function: | |
10 - Download package source (*.tar.gz file) from your favorite CRAN (http://www.r-project.org/) | |
11 For example: http://cran.univ-lyon1.fr/ | |
12 | |
13 - Install package in your R session | |
14 install.packages("path/package_name.tar.gz",lib="path",repos=NULL) | |
15 For Example: install.packages("/usr/lib64/R/library/batch_1.1-4.tar",lib="/usr/lib64/R/library",repos=NULL) | |
16 | |
17 - Finally, load the package into your R session | |
18 library(batch) | |
19 | |
20 | |
21 | |
22 ## --- Config : --- ## | |
23 - Edit the file "/galaxy/dist/galaxy-dist/tool_conf.xml" and add | |
24 <section id="id_name" name="Name"> | |
25 <tool file="path/NmrNormalization_xml.xml" /> | |
26 </section> | |
27 to create a new section containing the Nmr_Normalization tool | |
28 or add | |
29 <tool file="path/NmrNormalization_xml.xml" /> | |
30 in an existing section | |
31 | |
32 - Put the three files NmrNormalization_xml.xml, NmrNormalization_wrapper.R and NmrNormalization_script.R in a same directory | |
33 For example, path=/galaxy/dist/galaxy-dist/tools/stats | |
34 | |
35 - Edit the NmrBucketing_xml.xml file and change the path in the following lines | |
36 # R script | |
37 R --vanilla --slave --no-site-file --file=path/NmrNormalization_wrapper.R --args | |
38 | |
39 ## Library name for raw files storage | |
40 library path/$library | |
41 | |
42 | |
43 | |
44 Finally, restart Galaxy |