# HG changeset patch # User ethevenot # Date 1496763840 14400 # Node ID fa80bd02055f34f4ae613cd74dd505c179d52d6c # Parent b2414be87d4b1448e1fee2fd70eb166c90709431 planemo upload for repository https://github.com/workflow4metabolomics/biosigner.git commit 23d58cfd97411ad5d272971896914ce99e30b0ab diff -r b2414be87d4b -r fa80bd02055f biosigner_config.xml --- a/biosigner_config.xml Sat Aug 06 12:17:12 2016 -0400 +++ b/biosigner_config.xml Tue Jun 06 11:44:00 2017 -0400 @@ -1,8 +1,7 @@ - + Molecular signature discovery from omics data - R r-batch bioconductor-biosigner diff -r b2414be87d4b -r fa80bd02055f biosigner_wrapper.R --- a/biosigner_wrapper.R Sat Aug 06 12:17:12 2016 -0400 +++ b/biosigner_wrapper.R Tue Jun 06 11:44:00 2017 -0400 @@ -1,4 +1,5 @@ -#!/usr/bin/env Rscript +#!/usr/bin/Rscript --vanilla --slave --no-site-file + library(batch) ## parseCommandArgs @@ -131,13 +132,15 @@ if(!is.null(tierMC)) { plot(bsnLs, tierMaxC = tierMaxC, - file.pdfC = argVc["figure_tier"], + file.pdfC = "figure_tier.pdf", .sinkC = argVc["information"]) + file.rename("figure_tier.pdf", argVc["figure_tier"]) plot(bsnLs, tierMaxC = tierMaxC, typeC = "boxplot", - file.pdfC = argVc["figure_boxplot"], + file.pdfC = "figure_boxplot.pdf", .sinkC = argVc["information"]) + file.rename("figure_boxplot.pdf", argVc["figure_boxplot"]) } else { pdf(argVc["figure_tier"]) plot(1, bty = "n", type = "n", @@ -169,8 +172,7 @@ if(sum(tierMC %in% tierVc)) { cat("\nSignificant features from '", paste(tierVc, collapse = "', '"), "' tiers:\n", sep = "") print(tierMC[apply(tierMC, 1, function(rowVc) sum(rowVc %in% tierVc) > 0), , - drop = FALSE]) - + drop = FALSE]) cat("\nAccuracy:\n") print(round(getAccuracyMN(bsnLs), 3)) } else @@ -216,9 +218,25 @@ cat("\nEnd of '", modNamC, "' Galaxy module call: ", as.character(Sys.time()), "\n", sep = "") +cat("\n\n\n============================================================================") + +cat("\nAdditional information about the call:\n") + +cat("\n1) Parameters:\n") +print(cbind(value = argVc)) + +cat("\n2) Session Info:\n") +sessioninfo <- sessionInfo() +cat(sessioninfo$R.version$version.string,"\n") +cat("Main packages:\n") +for (pkg in names(sessioninfo$otherPkgs)) { cat(paste(pkg,packageVersion(pkg)),"\t") }; cat("\n") +cat("Other loaded packages:\n") +for (pkg in names(sessioninfo$loadedOnly)) { cat(paste(pkg,packageVersion(pkg)),"\t") }; cat("\n") + +cat("============================================================================\n") + sink() options(stringsAsFactors = strAsFacL) rm(list = ls()) - diff -r b2414be87d4b -r fa80bd02055f build.xml --- a/build.xml Sat Aug 06 12:17:12 2016 -0400 +++ b/build.xml Tue Jun 06 11:44:00 2017 -0400 @@ -13,7 +13,16 @@ ~ TEST ~ ~~~~~--> - + + + + + + + +