Mercurial > repos > marie-tremblay-metatoul > spectral_normalization
view 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 |
line wrap: on
line source
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