From 8706de703b8b5933f89651e5be0312af96cddb7c Mon Sep 17 00:00:00 2001
From: Brandi Cantarel <brandi.cantarel@utsouthwestern.edu>
Date: Wed, 30 Sep 2020 09:54:58 -0500
Subject: [PATCH] move modules to is not docker

---
 genect_rnaseq/statanal.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/genect_rnaseq/statanal.sh b/genect_rnaseq/statanal.sh
index cdf3b1c..dfcb864 100644
--- a/genect_rnaseq/statanal.sh
+++ b/genect_rnaseq/statanal.sh
@@ -28,6 +28,7 @@ fi
 if [[ -z $isdocker ]]
 then
     source /etc/profile.d/modules.sh
+    module load R/3.2.1-intel
 fi
 perl $baseDir/concat_cts.pl -o ./ *.cts
 perl $baseDir/concat_fpkm.pl -o ./ *.fpkm.txt
@@ -40,7 +41,6 @@ then
     touch empty.png
     touch bg.rda
 else
-    module load R/3.2.1-intel
     Rscript  $baseDir/dea.R
     Rscript $baseDir/build_ballgown.R *_stringtie
     edgeR=`find ./ -name *.edgeR.txt`
-- 
GitLab