# HG changeset patch # User iuc # Date 1538319089 14400 # Node ID d5a9401125111f9ea036273276b5641d65d17e96 # Parent 81796eb60bd0068d132fe2353fbfb58f930905ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/limma_voom commit 8560b34a261fde200bd77dc2e817d55d386ac811 diff -r 81796eb60bd0 -r d5a940112511 limma_voom.R --- a/limma_voom.R Sun Aug 05 05:13:12 2018 -0400 +++ b/limma_voom.R Sun Sep 30 10:51:29 2018 -0400 @@ -371,8 +371,8 @@ topOut[i] <- makeOut(paste0(deMethod, "_", con, ".tsv")) glimmaOut[i] <- makeOut(paste0("glimma_", con, "/MD-Plot.html")) } -filtOut <- makeOut(paste0(deMethod, "_filtcounts.tsv")) -normOut <- makeOut(paste0(deMethod, "_normcounts.tsv")) +filtOut <- makeOut(paste0(deMethod, "_", "filtcounts")) +normOut <- makeOut(paste0(deMethod, "_", "normcounts")) rdaOut <- makeOut(paste0(deMethod, "_analysis.RData")) sessionOut <- makeOut("session_info.txt") @@ -451,7 +451,7 @@ print("Outputting filtered counts") filt_counts <- data.frame(data$genes, data$counts) write.table(filt_counts, file=filtOut, row.names=FALSE, sep="\t", quote=FALSE) - linkData <- rbind(linkData, data.frame(Label=paste0(deMethod, "_", "filtcounts.tsv"), Link=paste0(deMethod, "_", "filtcounts.tsv"), stringsAsFactors=FALSE)) + linkData <- rbind(linkData, data.frame(Label=paste0(deMethod, "_", "filtcounts.tsv"), Link=paste0(deMethod, "_", "filtcounts"), stringsAsFactors=FALSE)) } # Plot Density @@ -723,7 +723,7 @@ # Save normalised counts (log2cpm) if (wantNorm) { write.table(logCPM, file=normOut, row.names=TRUE, sep="\t", quote=FALSE) - linkData <- rbind(linkData, c((paste0(deMethod, "_", "normcounts.tsv")), (paste0(deMethod, "_", "normcounts.tsv")))) + linkData <- rbind(linkData, c((paste0(deMethod, "_", "normcounts.tsv")), (paste0(deMethod, "_", "normcounts")))) } } else { # limma-voom approach @@ -774,7 +774,7 @@ if (wantNorm) { norm_counts <- data.frame(vData$genes, vData$E) write.table(norm_counts, file=normOut, row.names=FALSE, sep="\t", quote=FALSE) - linkData <- rbind(linkData, c((paste0(deMethod, "_", "normcounts.tsv")), (paste0(deMethod, "_", "normcounts.tsv")))) + linkData <- rbind(linkData, c((paste0(deMethod, "_", "normcounts.tsv")), (paste0(deMethod, "_", "normcounts")))) } # Fit linear model and estimate dispersion with eBayes @@ -1052,7 +1052,9 @@ cata("