Commit f14d45eb authored by Lena Hersemann's avatar Lena Hersemann

added option to check R & python version

parent c45ac471
......@@ -27,6 +27,17 @@ umask u=rwx,g=rwx,o=
ls "${IGENOME}" "${PRJ_DATA}" "${NGS_TOOLS}" "${PRJ_SCRIPTS}" >/dev/null || { echo "not all project resources are well defined" 1>&2; exit 1; }
###TODO give required R version
#check R and python version
#req_R_v='3.4.0'
#if [ "$(R --version | head -1 | cut -d ' ' -f3)" != "$req_R_v" ]; then exit; fi
#req_python_v='Python 2.7.12'
#if [ "$(python --version 2>&1)" != "$req_python_v" ]; then exit; fi
source ${NGS_TOOLS}/dge_workflow/dge_utils.sh
export PATH=${NGS_TOOLS}/dge_workflow:$PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment