Skip to content

Instantly share code, notes, and snippets.

@daskelly
Last active March 10, 2018 23:17
Show Gist options
  • Save daskelly/e65931a22c6363ec3239f4951f68c63f to your computer and use it in GitHub Desktop.
Save daskelly/e65931a22c6363ec3239f4951f68c63f to your computer and use it in GitHub Desktop.
Using conda to install leafcutter
# 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