From 4fdfe786856d49f40a5f5828be690254b217dead Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent@modolo.fr>
Date: Thu, 11 Oct 2018 16:33:38 +0200
Subject: [PATCH] add PSMN module to fix module loading problem

---
 apps/cutadapt/install_1.14.sh  | 53 ++++++++++++++++++++++++++++++++++
 modulefiles/GCC/4.9.4.lua      | 40 +++++++++++++++++++++++++
 modulefiles/GCC/5.4.0.lua      | 40 +++++++++++++++++++++++++
 modulefiles/GCC/6.4.0.lua      | 40 +++++++++++++++++++++++++
 modulefiles/GCC/7.2.0.lua      | 40 +++++++++++++++++++++++++
 modulefiles/GCC/default        |  1 +
 modulefiles/Java/1.7.0_21.lua  | 34 ++++++++++++++++++++++
 modulefiles/Java/1.7.0_71.lua  | 34 ++++++++++++++++++++++
 modulefiles/Java/1.8.0_151.lua | 34 ++++++++++++++++++++++
 modulefiles/Python/2.7.13.lua  | 53 ++++++++++++++++++++++++++++++++++
 modulefiles/Python/3.6.1.lua   | 38 ++++++++++++++++++++++++
 modulefiles/R/3.2.4.lua        | 44 ++++++++++++++++++++++++++++
 modulefiles/R/3.4.3.lua        | 51 ++++++++++++++++++++++++++++++++
 modulefiles/cutadapt/1.14.lua  |  8 ++---
 14 files changed, 506 insertions(+), 4 deletions(-)
 create mode 100755 apps/cutadapt/install_1.14.sh
 create mode 100644 modulefiles/GCC/4.9.4.lua
 create mode 100644 modulefiles/GCC/5.4.0.lua
 create mode 100644 modulefiles/GCC/6.4.0.lua
 create mode 100644 modulefiles/GCC/7.2.0.lua
 create mode 120000 modulefiles/GCC/default
 create mode 100644 modulefiles/Java/1.7.0_21.lua
 create mode 100644 modulefiles/Java/1.7.0_71.lua
 create mode 100644 modulefiles/Java/1.8.0_151.lua
 create mode 100644 modulefiles/Python/2.7.13.lua
 create mode 100644 modulefiles/Python/3.6.1.lua
 create mode 100644 modulefiles/R/3.2.4.lua
 create mode 100644 modulefiles/R/3.4.3.lua

diff --git a/apps/cutadapt/install_1.14.sh b/apps/cutadapt/install_1.14.sh
new file mode 100755
index 0000000..0110c3d
--- /dev/null
+++ b/apps/cutadapt/install_1.14.sh
@@ -0,0 +1,53 @@
+#!/bin/bash
+# Copyright laurent modolo for the LBMC UMR 5239 ©.
+# contributor(s) : laurent modolo (2017)
+#
+# laurent.modolo@ens-lyon.fr
+#
+# This software is a computer program whose purpose is to manage dated file
+# names in complience with the bioinformatic good practices used in the LBMC.
+#
+# This software is governed by the CeCILL  license under French law and
+# abiding by the rules of distribution of free software.  You can  use,
+# modify and/ or redistribute the software under the terms of the CeCILL
+# license as circulated by CEA, CNRS and INRIA at the following URL
+# "http://www.cecill.info".
+#
+# As a counterpart to the access to the source code and  rights to copy,
+# modify and redistribute granted by the license, users are provided only
+# with a limited warranty  and the software's author,  the holder of the
+# economic rights,  and the successive licensors  have only  limited
+# liability.
+#
+# In this respect, the user's attention is drawn to the risks associated
+# with loading,  using,  modifying and/or developing or reproducing the
+# software by the user in light of its specific status of free software,
+# that may mean  that it is complicated to manipulate,  and  that  also
+# therefore means  that it is reserved for developers  and  experienced
+# professionals having in-depth computer knowledge. Users are therefore
+# encouraged to load and test the software's suitability as regards their
+# requirements in conditions enabling the security of their systems and/or
+# data to be ensured and,  more generally, to use and operate it in the
+# same conditions as regards security.
+#
+# The fact that you are presently reading this means that you have had
+# knowledge of the CeCILL license and that you accept its terms.
+
+source ../build_env.sh
+module load Python/3.6.1
+
+CUTADAPT_VERSION=1.14
+CUTADAPT_ROOT=/Xnfs/lbmcdb/common/modules/apps/cutadapt/${MULTIQC_VERSION}
+mkdir -p ${CUTADAPT_VERSION}/lib/python2.7/dist-packages/
+PYTHONPATH=${CUTADAPT_ROOT}lib/python2.7/dist-packages/:$PYTHONPATH
+
+
+git clone https://github.com/marcelm/cutadapt.git
+cd cutadapt
+git checkout tags/v${CUTADAPT_VERSION}
+python setup.py install --single-version-externally-managed --prefix ${CUTADAPT_ROOT} --record markupsafe_install.txt
+cd ..
+rm -Rf markupsafe
+mv bin lib 1.14/
+rm -Rf cutadapt
+
diff --git a/modulefiles/GCC/4.9.4.lua b/modulefiles/GCC/4.9.4.lua
new file mode 100644
index 0000000..0d56eab
--- /dev/null
+++ b/modulefiles/GCC/4.9.4.lua
@@ -0,0 +1,40 @@
+help([[
+
+Description
+===========
+The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).
+
+
+More information
+================
+ - Homepage: http://gcc.gnu.org/
+]])
+
+whatis([[Description: The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).]])
+whatis([[Homepage: http://gcc.gnu.org/]])
+
+local root = "/applis/PSMN/debian9/software/Core/GCC/4.9.4"
+
+conflict("GCC")
+prepend_path("MODULEPATH", "/applis/PSMN/debian9/Modules/all/Compiler/GCC/4.9.4")
+
+prepend_path("CPATH", pathJoin(root, "include"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/gcc/x86_64-unknown-linux-gnu/4.9.4"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("CC", pathJoin(root, 'bin/gcc'))
+setenv("CXX", pathJoin(root, 'bin/g++'))
+setenv("FC", pathJoin(root, "bin/gfortran"))
+setenv("EBROOTGCC", root)
+setenv("EBVERSIONGCC", "4.9.4")
+setenv("EBDEVELGCC", pathJoin(root, "easybuild/Core-GCC-4.9.4-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/GCC/5.4.0.lua b/modulefiles/GCC/5.4.0.lua
new file mode 100644
index 0000000..84bacc7
--- /dev/null
+++ b/modulefiles/GCC/5.4.0.lua
@@ -0,0 +1,40 @@
+help([[
+
+Description
+===========
+The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).
+
+
+More information
+================
+ - Homepage: http://gcc.gnu.org/
+]])
+
+whatis([[Description: The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).]])
+whatis([[Homepage: http://gcc.gnu.org/]])
+
+local root = "/applis/PSMN/debian9/software/Core/GCC/5.4.0"
+
+conflict("GCC")
+prepend_path("MODULEPATH", "/applis/PSMN/debian9/Modules/all/Compiler/GCC/5.4.0")
+
+prepend_path("CPATH", pathJoin(root, "include"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/gcc/x86_64-unknown-linux-gnu/5.4.0"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("CC", pathJoin(root, 'bin/gcc'))
+setenv("CXX", pathJoin(root, 'bin/g++'))
+setenv("FC", pathJoin(root, "bin/gfortran"))
+setenv("EBROOTGCC", root)
+setenv("EBVERSIONGCC", "5.4.0")
+setenv("EBDEVELGCC", pathJoin(root, "easybuild/Core-GCC-5.4.0-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/GCC/6.4.0.lua b/modulefiles/GCC/6.4.0.lua
new file mode 100644
index 0000000..af91269
--- /dev/null
+++ b/modulefiles/GCC/6.4.0.lua
@@ -0,0 +1,40 @@
+help([[
+
+Description
+===========
+The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).
+
+
+More information
+================
+ - Homepage: http://gcc.gnu.org/
+]])
+
+whatis([[Description: The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).]])
+whatis([[Homepage: http://gcc.gnu.org/]])
+
+local root = "/applis/PSMN/debian9/software/Core/GCC/6.4.0"
+
+conflict("GCC")
+prepend_path("MODULEPATH", "/applis/PSMN/debian9/Modules/all/Compiler/GCC/6.4.0")
+
+prepend_path("CPATH", pathJoin(root, "include"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/gcc/x86_64-pc-linux-gnu/6.4.0"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("CC", pathJoin(root, 'bin/gcc'))
+setenv("CXX", pathJoin(root, 'bin/g++'))
+setenv("FC", pathJoin(root, "bin/gfortran"))
+setenv("EBROOTGCC", root)
+setenv("EBVERSIONGCC", "6.4.0")
+setenv("EBDEVELGCC", pathJoin(root, "easybuild/Core-GCC-6.4.0-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/GCC/7.2.0.lua b/modulefiles/GCC/7.2.0.lua
new file mode 100644
index 0000000..18accef
--- /dev/null
+++ b/modulefiles/GCC/7.2.0.lua
@@ -0,0 +1,40 @@
+help([[
+
+Description
+===========
+The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).
+
+
+More information
+================
+ - Homepage: http://gcc.gnu.org/
+]])
+
+whatis([[Description: The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
+ as well as libraries for these languages (libstdc++, libgcj,...).]])
+whatis([[Homepage: http://gcc.gnu.org/]])
+
+local root = "/applis/PSMN/debian9/software/Core/GCC/7.2.0"
+
+conflict("GCC")
+prepend_path("MODULEPATH", "/applis/PSMN/debian9/Modules/all/Compiler/GCC/7.2.0")
+
+prepend_path("CPATH", pathJoin(root, "include"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/gcc/x86_64-pc-linux-gnu/7.2.0"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib64"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("CC", pathJoin(root, "bin/gcc"))
+setenv("CXX", pathJoin(root, "bin/g++"))
+setenv("FC", pathJoin(root, "bin/gfortran"))
+setenv("EBROOTGCC", root)
+setenv("EBVERSIONGCC", "7.2.0")
+setenv("EBDEVELGCC", pathJoin(root, "easybuild/Core-GCC-7.2.0-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/GCC/default b/modulefiles/GCC/default
new file mode 120000
index 0000000..6dba739
--- /dev/null
+++ b/modulefiles/GCC/default
@@ -0,0 +1 @@
+7.2.0.lua
\ No newline at end of file
diff --git a/modulefiles/Java/1.7.0_21.lua b/modulefiles/Java/1.7.0_21.lua
new file mode 100644
index 0000000..ebb7b38
--- /dev/null
+++ b/modulefiles/Java/1.7.0_21.lua
@@ -0,0 +1,34 @@
+help([[
+
+Description
+===========
+Java Platform, Standard Edition (Java SE) lets you develop and deploy
+ Java applications on desktops and servers.
+
+
+More information
+================
+ - Homepage: http://java.com/
+]])
+
+whatis([[Description: Java Platform, Standard Edition (Java SE) lets you develop and deploy
+ Java applications on desktops and servers.]])
+whatis([[Homepage: http://java.com/]])
+
+local root = "/applis/PSMN/debian9/software/Core/Java/1.7.0_21"
+
+conflict("Java")
+
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("MANPATH", pathJoin(root, "man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("EBROOTJAVA", root)
+setenv("EBVERSIONJAVA", "1.7.0_21")
+setenv("EBDEVELJAVA", pathJoin(root, "easybuild/Core-Java-1.7.0_21-easybuild-devel"))
+
+prepend_path("PATH", root)
+setenv("JAVA_HOME", "/applis/PSMN/debian9/software/Core/Java/1.7.0_21")
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/Java/1.7.0_71.lua b/modulefiles/Java/1.7.0_71.lua
new file mode 100644
index 0000000..2868119
--- /dev/null
+++ b/modulefiles/Java/1.7.0_71.lua
@@ -0,0 +1,34 @@
+help([[
+
+Description
+===========
+Java Platform, Standard Edition (Java SE) lets you develop and deploy
+ Java applications on desktops and servers.
+
+
+More information
+================
+ - Homepage: http://java.com/
+]])
+
+whatis([[Description: Java Platform, Standard Edition (Java SE) lets you develop and deploy
+ Java applications on desktops and servers.]])
+whatis([[Homepage: http://java.com/]])
+
+local root = "/applis/PSMN/debian9/software/Core/Java/1.7.0_71"
+
+conflict("Java")
+
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("MANPATH", pathJoin(root, "man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("EBROOTJAVA", root)
+setenv("EBVERSIONJAVA", "1.7.0_71")
+setenv("EBDEVELJAVA", pathJoin(root, "easybuild/Core-Java-1.7.0_71-easybuild-devel"))
+
+prepend_path("PATH", root)
+setenv("JAVA_HOME", "/applis/PSMN/debian9/software/Core/Java/1.7.0_71")
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/Java/1.8.0_151.lua b/modulefiles/Java/1.8.0_151.lua
new file mode 100644
index 0000000..4202f8b
--- /dev/null
+++ b/modulefiles/Java/1.8.0_151.lua
@@ -0,0 +1,34 @@
+help([[
+
+Description
+===========
+Java Platform, Standard Edition (Java SE) lets you develop and deploy
+ Java applications on desktops and servers.
+
+
+More information
+================
+ - Homepage: http://java.com/
+]])
+
+whatis([[Description: Java Platform, Standard Edition (Java SE) lets you develop and deploy
+ Java applications on desktops and servers.]])
+whatis([[Homepage: http://java.com/]])
+
+local root = "/applis/PSMN/debian9/software/Core/Java/1.8.0_151"
+
+conflict("Java")
+
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("MANPATH", pathJoin(root, "man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+setenv("EBROOTJAVA", root)
+setenv("EBVERSIONJAVA", "1.8.0_151")
+setenv("EBDEVELJAVA", pathJoin(root, "easybuild/Core-Java-1.8.0_151-easybuild-devel"))
+
+prepend_path("PATH", root)
+setenv("JAVA_HOME", "/applis/PSMN/debian9/software/Core/Java/1.8.0_151")
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/Python/2.7.13.lua b/modulefiles/Python/2.7.13.lua
new file mode 100644
index 0000000..91b2e3e
--- /dev/null
+++ b/modulefiles/Python/2.7.13.lua
@@ -0,0 +1,53 @@
+help([[
+
+Description
+===========
+Python is a programming language that lets you work more quickly and
+ integrate your systems more effectively.
+
+
+More information
+================
+ - Homepage: http://python.org/
+
+
+Included extensions
+===================
+arff-2.1.0, bitstring-3.1.5, blist-1.3.6, Cython-0.27.3, dateutil-2.6.0,
+deap-1.0.2, decorator-4.0.11, docopt-0.6.2, ecdsa-0.13, enum34-1.1.6,
+funcsigs-1.0.2, hmmlearn-0.2.0, HTSeq-0.9.1, intervaltree-2.1.0,
+intervaltree_bio-1.0.1, joblib-0.11, matplotlib-2.1.0, mock-2.0.0,
+mpi4py-2.0.0, multiqc-1.3, netaddr-0.7.19, netifaces-0.10.5, networkx-2.0,
+nose-1.3.7, numpy-1.13.3, pandas-0.21.0, paramiko-2.1.2, paycheck-1.0.2,
+pbr-2.0.0, pip-9.0.1, pycrypto-2.6.1, pyparsing-2.2.0, pysam-0.13,
+pytz-2017.2, setuptools-33.1.1, six-1.10.0, virtualenv-15.1.0
+]])
+
+whatis([[Description: 
+ Python is a programming language that lets you work more quickly and
+ integrate your systems more effectively.
+]])
+whatis([[Homepage: http://python.org/]])
+whatis([[Extensions: arff-2.1.0, bitstring-3.1.5, blist-1.3.6, Cython-0.27.3, dateutil-2.6.0, deap-1.0.2, decorator-4.0.11, docopt-0.6.2, ecdsa-0.13, enum34-1.1.6, funcsigs-1.0.2, hmmlearn-0.2.0, HTSeq-0.9.1, intervaltree-2.1.0, intervaltree_bio-1.0.1, joblib-0.11, matplotlib-2.1.0, mock-2.0.0, mpi4py-2.0.0, multiqc-1.3, netaddr-0.7.19, netifaces-0.10.5, networkx-2.0, nose-1.3.7, numpy-1.13.3, pandas-0.21.0, paramiko-2.1.2, paycheck-1.0.2, pbr-2.0.0, pip-9.0.1, pycrypto-2.6.1, pyparsing-2.2.0, pysam-0.13, pytz-2017.2, setuptools-33.1.1, six-1.10.0, virtualenv-15.1.0]])
+
+local root = "/applis/PSMN/debian9/software/Core/Python/2.7.13"
+
+load("GCC/7.2.0")
+
+conflict("Python")
+
+prepend_path("PYTHONPATH", pathJoin(root, "lib/python2.7/site-packages"))
+prepend_path("CPATH", pathJoin(root, "include"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+prepend_path("PKG_CONFIG_PATH", pathJoin(root, "lib/pkgconfig"))
+setenv("EBROOTPYTHON", root)
+setenv("EBVERSIONPYTHON", "2.7.13")
+setenv("EBDEVELPYTHON", pathJoin(root, "easybuild/Core-Python-2.7.13-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+setenv("EBEXTSLISTPYTHON", "setuptools-33.1.1,pip-9.0.1,nose-1.3.7,blist-1.3.6,mpi4py-2.0.0,paycheck-1.0.2,pbr-2.0.0,six-1.10.0,dateutil-2.6.0,deap-1.0.2,decorator-4.0.11,arff-2.1.0,pycrypto-2.6.1,ecdsa-0.13,paramiko-2.1.2,pyparsing-2.2.0,netifaces-0.10.5,netaddr-0.7.19,funcsigs-1.0.2,mock-2.0.0,pytz-2017.2,pandas-0.21.0,enum34-1.1.6,bitstring-3.1.5,virtualenv-15.1.0,docopt-0.6.2,joblib-0.11,multiqc-1.3,numpy-1.13.3,Cython-0.27.3,networkx-2.0,matplotlib-2.1.0,HTSeq-0.9.1,intervaltree-2.1.0,intervaltree_bio-1.0.1,pysam-0.13,hmmlearn-0.2.0")
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/Python/3.6.1.lua b/modulefiles/Python/3.6.1.lua
new file mode 100644
index 0000000..714ddc4
--- /dev/null
+++ b/modulefiles/Python/3.6.1.lua
@@ -0,0 +1,38 @@
+help([[
+
+Description
+===========
+Python is a programming language that lets you work more quickly and integrate your systems
+ more effectively.
+
+
+More information
+================
+ - Homepage: http://python.org/
+]])
+
+whatis([[Description: Python is a programming language that lets you work more quickly and integrate your systems
+ more effectively.]])
+whatis([[Homepage: http://python.org/]])
+
+local root = "/applis/PSMN/debian9/software/MPI/GCC/7.2.0/OpenMPI/3.0.0/Python/3.6.1"
+
+conflict("Python")
+
+load("GCC/6.4.0")
+load("GCC/6.4.0/OpenMPI/3.0.0")
+load("GCC/6.4.0/OpenMPI/3.0.0/FFTW/3.3.6")
+
+prepend_path("CPATH", pathJoin(root, "include"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+prepend_path("PKG_CONFIG_PATH", pathJoin(root, "lib/pkgconfig"))
+setenv("EBROOTPYTHON", root)
+setenv("EBVERSIONPYTHON", "3.6.1")
+setenv("EBDEVELPYTHON", pathJoin(root, "easybuild/MPI-GCC-7.2.0-OpenMPI-3.0.0-Python-3.6.1-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/R/3.2.4.lua b/modulefiles/R/3.2.4.lua
new file mode 100644
index 0000000..7e1edf6
--- /dev/null
+++ b/modulefiles/R/3.2.4.lua
@@ -0,0 +1,44 @@
+help([[
+
+Description
+===========
+R is a free software environment for statistical computing and graphics.
+
+
+More information
+================
+ - Homepage: http://www.r-project.org/
+
+
+Included extensions
+===================
+b-a, d-a, g-r, g-r, g-r, m-e, s-p, s-t, s-t, t-o, u-t
+]])
+
+whatis([[Description: R is a free software environment for statistical computing and graphics.]])
+whatis([[Homepage: http://www.r-project.org/]])
+whatis([[Extensions: b-a, d-a, g-r, g-r, g-r, m-e, s-p, s-t, s-t, t-o, u-t]])
+
+local root = "/applis/PSMN/debian9/software/Core/R/3.2.4"
+
+conflict("R")
+
+load("GCC/7.2.0")
+
+load("Java/1.8.0_151")
+
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/R/lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib/R/lib"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+prepend_path("PKG_CONFIG_PATH", pathJoin(root, "lib/pkgconfig"))
+setenv("EBROOTR", root)
+setenv("EBVERSIONR", "3.2.4")
+setenv("EBDEVELR", pathJoin(root, "easybuild/Core-R-3.2.4-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+setenv("EBEXTSLISTR", "b-a,d-a,g-r,g-r,g-r,m-e,s-p,s-t,s-t,t-o,u-t")
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/R/3.4.3.lua b/modulefiles/R/3.4.3.lua
new file mode 100644
index 0000000..36682ac
--- /dev/null
+++ b/modulefiles/R/3.4.3.lua
@@ -0,0 +1,51 @@
+help([[
+
+Description
+===========
+R is a free software environment for statistical computing and graphics.
+
+
+More information
+================
+ - Homepage: http://www.r-project.org/
+
+
+Included extensions
+===================
+abind-1.4-5, ade4-1.7-10, b-a, codetools-0.2-14, colorspace-1.3-2, d-a,
+data.table-1.10.4-3, dichromat-2.0-0, digest-0.6.14, evaluate-0.10.1,
+foreach-1.4.4, g-r, g-r, g-r, geometry-0.3-6, gtable-0.2.0, iterators-1.0.9,
+kernlab-0.9-25, labeling-0.3, lattice-0.20-35, latticeExtra-0.6-28, m-e,
+magic-1.5-6, magrittr-1.5, markdown-0.8, MASS-7.3-48, Matrix-1.2-12,
+mclust-5.4, mime-0.5, munsell-0.4.3, plyr-1.8.4, png-0.1-7, R6-2.2.2,
+RColorBrewer-1.1-2, Rcpp-0.12.14, reshape2-1.4.3, s-p, s-t, s-t,
+scatterplot3d-0.3-40, stringi-1.1.6, stringr-1.2.0, t-o, u-t, xtable-1.8-2
+]])
+
+whatis([[Description: R is a free software environment for statistical computing and graphics.]])
+whatis([[Homepage: http://www.r-project.org/]])
+whatis([[Extensions: abind-1.4-5, ade4-1.7-10, b-a, codetools-0.2-14, colorspace-1.3-2, d-a, data.table-1.10.4-3, dichromat-2.0-0, digest-0.6.14, evaluate-0.10.1, foreach-1.4.4, g-r, g-r, g-r, geometry-0.3-6, gtable-0.2.0, iterators-1.0.9, kernlab-0.9-25, labeling-0.3, lattice-0.20-35, latticeExtra-0.6-28, m-e, magic-1.5-6, magrittr-1.5, markdown-0.8, MASS-7.3-48, Matrix-1.2-12, mclust-5.4, mime-0.5, munsell-0.4.3, plyr-1.8.4, png-0.1-7, R6-2.2.2, RColorBrewer-1.1-2, Rcpp-0.12.14, reshape2-1.4.3, s-p, s-t, s-t, scatterplot3d-0.3-40, stringi-1.1.6, stringr-1.2.0, t-o, u-t, xtable-1.8-2]])
+
+local root = "/applis/PSMN/debian9/software/Core/R/3.4.3"
+
+conflict("R")
+
+load("GCC/7.2.0")
+
+load("Java/1.8.0_151")
+
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/R/lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib/R/lib"))
+prepend_path("MANPATH", pathJoin(root, "share/man"))
+prepend_path("PATH", pathJoin(root, "bin"))
+prepend_path("PKG_CONFIG_PATH", pathJoin(root, "lib/pkgconfig"))
+setenv("EBROOTR", root)
+setenv("EBVERSIONR", "3.4.3")
+setenv("EBDEVELR", pathJoin(root, "easybuild/Core-R-3.4.3-easybuild-devel"))
+
+-- Built with EasyBuild version 3.4.0
+setenv("EBEXTSLISTR", "b-a,d-a,g-r,g-r,g-r,m-e,s-p,s-t,s-t,t-o,u-t,MASS-7.3-48,ade4-1.7-10,abind-1.4-5,magic-1.5-6,geometry-0.3-6,kernlab-0.9-25,mime-0.5,markdown-0.8,mclust-5.4,digest-0.6.14,iterators-1.0.9,stringi-1.1.6,magrittr-1.5,stringr-1.2.0,evaluate-0.10.1,scatterplot3d-0.3-40,lattice-0.20-35,RColorBrewer-1.1-2,latticeExtra-0.6-28,Matrix-1.2-12,png-0.1-7,Rcpp-0.12.14,plyr-1.8.4,colorspace-1.3-2,codetools-0.2-14,foreach-1.4.4,xtable-1.8-2,dichromat-2.0-0,reshape2-1.4.3,gtable-0.2.0,munsell-0.4.3,labeling-0.3,data.table-1.10.4-3,R6-2.2.2")
+
+-- PSMN: : 2.6.6.lua 2202 2018-03-30 09:00:33Z cpetit $
diff --git a/modulefiles/cutadapt/1.14.lua b/modulefiles/cutadapt/1.14.lua
index b38eb34..fcfd60f 100644
--- a/modulefiles/cutadapt/1.14.lua
+++ b/modulefiles/cutadapt/1.14.lua
@@ -36,9 +36,9 @@ knowledge of the CeCILL license and that you accept its terms.
 
 local root = "/Xnfs/lbmcdb/common/modules/apps/cutadapt/1.14"
 conflict("cutadapt")
-conflict("Python/3.6.1")
-load("Python/2.7.13")
-prereq_any("Python/2.7.13")
-prepend_path{"PYTHONPATH","/Xnfs/lbmcdb/common/modules/apps/cutadapt/1.14/lib/python2.7/site-packages/",delim=":",priority="0"}
+conflict("Python/2.7.13")
+load("Python/3.6.1")
+prereq_any("Python/3.6.1")
+prepend_path{"PYTHONPATH","/Xnfs/lbmcdb/common/modules/apps/cutadapt/1.14/lib/python3.6/site-packages/",delim=":",priority="0"}
 prepend_path{"PATH","/Xnfs/lbmcdb/common/modules/apps/cutadapt/1.14/bin",delim=":",priority="0"}
 setenv("HTSEQ_PATH","/Xnfs/lbmcdb/common/modules/apps/cutadapt/1.14/bin")
-- 
GitLab