Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Last active February 13, 2016 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icaoberg/fac992243ac2a7970b7d to your computer and use it in GitHub Desktop.
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
#!/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