Development versions and source code are available on Bitbucket.
The simplest way to install the latest stable release of pRESTO is via pip:
> pip3 install presto --user
The current development build can be installed using pip and mercurial in similar fashion:
> pip3 install hg+https://bitbucket.org/kleinstein/presto#default --user
If you currently have a development version installed, then you will likely
need to add the arguments
--upgrade --no-deps --force-reinstall to the
Mac OS X¶
Install Xcode. Available from the Apple store or developer downloads.
Older versions Mac OS X will require you to install XQuartz 2.7.5. Available from the XQuartz project.
Install Homebrew following the installation and post-installation instructions.
Install Python 3.4.0+ and set the path to the python3 executable:
> brew install python3 > echo 'export PATH=/usr/local/bin:$PATH' >> ~/.profile
Exit and reopen the terminal application so the PATH setting takes effect.
You may, or may not, need to install gfortran (required for SciPy). Try without first, as this can take an hour to install and is not needed on newer releases. If you do need gfortran to install SciPy, you can install it using Homebrew:
> brew install gfortran
If the above fails run this instead:
> brew install --env=std gfortran
Install NumPy, SciPy, pandas and Biopyton using the Python package manager:
> pip3 install numpy scipy pandas biopython
Download pRESTO bundle, open a terminal window, change directories to download location, and run:
> pip3 install presto-x.y.z.tar.gz
Install Python 3.4.0+ from Python, selecting both the options ‘pip’ and ‘Add python.exe to Path’.
Install NumPy, SciPy, pandas and Biopython using the packages available from the Unofficial Windows binary collection.
Download pRESTO bundle, open a Command Prompt, change directories to the download folder, and run:
> pip install presto-x.y.z.tar.gz
For a default installation of Python 3.4, the pRESTO scripts will be installed into
C:\Python34\Scriptsand should be directly executable from the Command Prompt. If this is not the case, then follow step 5 below.
Add both the
C:\Python34\Scriptsdirectories to your
%Path%. On Windows 7 the
%Path%setting is located under Control Panel -> System and Security -> System -> Advanced System Settings -> Environment variables -> System variables -> Path.
If you have trouble with the
.pyfile associations, try adding
PATHEXTenvironment variable. Also, opening a command prompt as Administrator and run:
> assoc .py=Python.File > ftype Python.File="C:\Python34\python.exe" "%1" %*