Last active
February 13, 2016 05:24
-
-
Save icaoberg/fac992243ac2a7970b7d to your computer and use it in GitHub Desktop.
Install BioPython 1.6.6 in a virtual environment on the CBD cluster
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
#!/bin/bash | |
##make virtual environment | |
virtualenv --system-site-packages . | |
##activate virtual environment | |
source ./bin/activate | |
#get biopython | |
pip install -U biopython | |
##make sample script that prints biopython version | |
echo " | |
import Bio | |
print Bio.__version__ | |
" > script.py | |
python script.py | |
##turn off virtual environment | |
deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment