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