Last active
March 10, 2018 23:17
-
-
Save daskelly/e65931a22c6363ec3239f4951f68c63f to your computer and use it in GitHub Desktop.
Using conda to install leafcutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Intalling leafcutter on a CentOS 6.5 machine | |
# This machine has glibc 2.12 and leafcutter needs glibc 2.14 | |
module purge | |
module load gcc/4.9.2 | |
# Install glibc 2.14 | |
mkdir $HOME/apps/glibc_install | |
cd $HOME/apps/glibc_install | |
wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz | |
tar zxvf glibc-2.14.tar.gz | |
cd glibc-2.14 | |
mkdir build | |
cd build | |
../configure --prefix=$HOME/opt/glibc-2.14 | |
make | |
touch $HOME/opt/glibc-2.14/etc/ld.so.conf | |
make install | |
# Install leafcutter | |
module load Anaconda/4.2.0 | |
condo create --name leafcutter | |
source activate leafcutter | |
export LD_LIBRARY_PATH=$HOME/opt/glibc-2.14/lib | |
conda install -c r r-base | |
conda install -c davidaknowles r-leafcutter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment