Skip to content

Commit

Permalink
Fix pip 10 errors and directory error
Browse files Browse the repository at this point in the history
pip3 no longer works when updated (see pypa/pip#5221). Also, git clone should create the right folder (or you need to mkdir it first)
  • Loading branch information
mdchia authored May 8, 2018
1 parent b17fa47 commit 5d512ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nanopolish_on_NCI
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ mkdir -p /short/sd34/ap5514/myapps/nanopolish/0.9.0
export PYTHONPATH=/short/sd34/ap5514/myapps/nanopolish/0.9.0/lib/python3.6/site-packages
mkdir -p $PYTHONPATH
export PATH=/short/sd34/ap5514/myapps/nanopolish/0.9.0/bin:$PATH
pip3 install biopython --upgrade pip --prefix /short/sd34/ap5514/myapps/nanopolish/0.9.0 --ignore-installed
python3 -m pip install biopython --upgrade pip --prefix /short/sd34/ap5514/myapps/nanopolish/0.9.0 --ignore-installed

# install pysam
pip3 install pysam --upgrade pip --prefix /short/sd34/ap5514/myapps/nanopolish/0.9.0 --ignore-installed
python3 -m pip install pysam --upgrade pip --prefix /short/sd34/ap5514/myapps/nanopolish/0.9.0 --ignore-installed

#load all the required modules incluing gcc-4.8+ and eigen and hdf5 and hts
module load gcc/4.9.0
Expand All @@ -16,7 +16,7 @@ module load eigen/3.2.8
module load htslib/1.4

#install nanopolish
cd /short/sd34/ap5514/myapps/nanopolish/0.9.0/bin/nanopolish # make sure nanopolish files are sent to the right folder
cd /short/sd34/ap5514/myapps/nanopolish/0.9.0/bin/ # make sure nanopolish files are sent to the right folder
git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
make EIGEN=noinstall HTS=noinstall # HDF5=noinstall flag was not used because NCI didn't have threadsafe hdf5 installed
Expand Down

0 comments on commit 5d512ab

Please sign in to comment.