diff --git a/workflows/components/normalizerawcount.py b/workflows/components/normalizerawcount.py index 911be2e185ea0db5c04e9d14c747ece3fe7933dd..3ce96b1398da0fb4fbeeef59b3c37247127af9bf 100644 --- a/workflows/components/normalizerawcount.py +++ b/workflows/components/normalizerawcount.py @@ -82,7 +82,7 @@ class NormalizeRawCount (ComponentAnalysis): def process(self): - self.add_shell_execution(self.get_exec_path("Rscript")+ " "+ self.get_exec_path("Normalization.R") + " -f $1 -o $2 > $3 2>> $4", + self.add_shell_execution(self.get_exec_path("Rscript")+ " "+ self.get_exec_path("Normalization.R") + " -f $1 -o `dirname $2` > $2 2>> $3", cmd_format='{EXE} {IN} {OUT} ', - inputs=self.matrix, outputs=[self.output_directory,self.stdout,self.stderr]+self.files) + inputs=self.matrix, outputs=[self.stdout,self.stderr]+self.files) \ No newline at end of file