# HG changeset patch
# User stef
# Date 1414754033 14400
# Node ID 4efd258b33d967bf63991e31ca9e3b0c2eaa95db
# Parent 238a698f7904b594a6079b4e22638d9f954fc7e8
Uploaded
diff -r 238a698f7904 -r 4efd258b33d9 QDNAseq.R
--- a/QDNAseq.R Mon Oct 27 05:38:16 2014 -0400
+++ b/QDNAseq.R Fri Oct 31 07:13:53 2014 -0400
@@ -135,9 +135,13 @@
## ==================================================
## Start of analysis
## ==================================================
+cmdLineArgs <- commandArgs(TRUE)
+config <- cmdLineArgs[1]
+installDir <- cmdLineArgs[2]
+
MAIN_NAME <- '[INFO] '
TOOL_PATH <- getScriptPath()
-CSS_FILE <- paste( TOOL_PATH, '/static/css/QDNAseq.css', sep="" )
+CSS_FILE <- paste( installDir, '/static/css/QDNAseq.css', sep="" )
DECIMALS <- 3
WEB_LINK <- 'http://www.bioconductor.org/packages/release/bioc/html/QDNAseq.html'
PURE_CSS <- 'http://yui.yahooapis.com/pure/0.5.0/pure-min.css'
@@ -146,20 +150,9 @@
catMsg( "Loading R libraries" )
catMsg( R.version.string )
-packs <- c( "limma", "marray", "CGHbase", "impute", "DNAcopy", "CGHcall" )
-for ( pack in packs ){
- catMsg( c("Loading ", pack) )
- library( pack )
-}
-
-## supress msg to allow R to finish with non-error msg
suppressWarnings( suppressMessages( library( QDNAseq, quietly = TRUE ) ) )
suppressWarnings( suppressMessages( library( CGHcall, quietly = TRUE ) ) )
-## only one param: the tmp config file
-cmdLineArgs <- commandArgs(TRUE)
-config <- cmdLineArgs[1]
-
## sourcing the config file will load all input params
## many variables are imported via sourced "config"
source( config )
diff -r 238a698f7904 -r 4efd258b33d9 QDNAseq.xml
--- a/QDNAseq.xml Mon Oct 27 05:38:16 2014 -0400
+++ b/QDNAseq.xml Fri Oct 31 07:13:53 2014 -0400
@@ -3,8 +3,8 @@
- R
- qdnaseq
+
+
samtools
@@ -14,6 +14,7 @@
QDNAseq.R
$qdnaseq_cfg
+ $INSTALL_DIR
diff -r 238a698f7904 -r 4efd258b33d9 tool_dependencies.xml
--- a/tool_dependencies.xml Mon Oct 27 05:38:16 2014 -0400
+++ b/tool_dependencies.xml Fri Oct 31 07:13:53 2014 -0400
@@ -2,24 +2,28 @@
-
+
+
+
+
- $INSTALL_DIR
+ $INSTALL_DIR
- -->
+