Difference between revisions of "Team:Waterloo/Software"
m |
m |
||
Line 25: | Line 25: | ||
<div class="panel-body"> | <div class="panel-body"> | ||
− | < | + | <h3>PyRosetta</h3> |
<p>Adapted from <a href="https://drive.google.com/viewerng/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxweXJvc2V0dGF8Z3g6NjA4OWZhYjZlN2YyOWZiNQ">this guide</a>. | <p>Adapted from <a href="https://drive.google.com/viewerng/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxweXJvc2V0dGF8Z3g6NjA4OWZhYjZlN2YyOWZiNQ">this guide</a>. | ||
Line 47: | Line 47: | ||
</ol> | </ol> | ||
− | < | + | <h3>PyMOL</h3> |
<p>Adapted from <a href="http://www.pymolwiki.org/index.php/Windows_Install#Pre-compiled_PyMOL">this guide</a></p> | <p>Adapted from <a href="http://www.pymolwiki.org/index.php/Windows_Install#Pre-compiled_PyMOL">this guide</a></p> | ||
Line 72: | Line 72: | ||
</ol> | </ol> | ||
− | < | + | <h3>Linking PyMOL and PyRosetta</h3> |
<p>Adapted from <a href="http://www.pyrosetta.org/pymol_mover-tutorial">this guide</a>.</p> | <p>Adapted from <a href="http://www.pyrosetta.org/pymol_mover-tutorial">this guide</a>.</p> | ||
<ol> | <ol> | ||
Line 100: | Line 100: | ||
<div id="mac-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="mac-install"> | <div id="mac-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="mac-install"> | ||
<div class="panel-body"> | <div class="panel-body"> | ||
− | < | + | <h3>PyRosetta</h3> |
− | < | + | <h3>PyMOL</h3> |
<h4></h4> | <h4></h4> | ||
</div> | </div> | ||
Line 116: | Line 116: | ||
<div id="linux-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="linux-install"> | <div id="linux-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="linux-install"> | ||
<div class="panel-body"> | <div class="panel-body"> | ||
− | < | + | <h3>PyRosetta</h3> |
FILL IN HERE | FILL IN HERE | ||
− | < | + | <h3>PyMOL</h3> |
<h4></h4> | <h4></h4> | ||
</div> | </div> |
Revision as of 00:50, 18 September 2015
Software
Mathematical Modelling
Give an overview of our GitHub code here.
PyRosetta and PyMOL
Installation Instructions
PyRosetta
Adapted from this guide.
PyRosetta is fairly simple to install on Windows, assuming Python is installed. However, it does take large amounts of RAM (you'll need a computer with >4GB), so you may need to use the Linux version for older computers.
- Download Python 2.7. You MUST use the 64-bit version, and make sure to select the option to add python to your path.
- Install iPython. Open a command prompt, and type
python -m pip install ipython
. This should download and install ipython in one step. - Get pyreadline (Download the 64-bit version, pyreadline-2.0.win-amd64.exe). Run the exe once download is complete. This provides a bunch of tab-completion and other handy features, it isn't necessary, but is very helpful.
- Get a PyRosetta license. These are free for academic/non-commercial use.
- Once your license is processed (which should only take a couple minutes), you'll receive an email with a username and password, and a link to the download.
- Download the most recent version of the PyRosetta windows. You'll want the .exe for the latest release.
- When the download completes, run the exe to install PyRosetta.
- Two shortcuts should appear on the desktop, one for "iPython PyRosetta shell" and on for "PyMOL PyRosetta Link". Delete the second one, as it doesn't work with the version of PyMOL we'll be using.
- Open the ipython shell using the remaining shortcut. type:
from rosetta import * rosetta.init()
- If you get a message ending with something like the following, you've successfully installed PyRosetta.
core.init.random: RandomGenerator:init: Normal mode, seed=-1088387864 RG_type=mt19937
PyMOL
Adapted from this guide
- Create a folder (e.g. C:\PyMOL_Install) to hold the files>
- Download:
- pymol-1.7.6.0-cp27-none-win_amd64.whl
- pymol_launcher-1.0-cp27-none-win_amd64.whl
- numpy-1.9.2+mkl-cp27-none-win_amd64.whl
- Pmw-2.0.0-py2-none-any.whl
- Move the files to the folder you created.
- Start a command prompt, and move to the directory you saved the files in:
cd C:\PyMOL_Install
- Assuming you added python to you path earlier, run the command:
python -m pip install --no-index --find-link="%CD%" --pre pymol_launcher-1.0-cp27-none-win_amd64.whl
- If there are errors, try installing the .whl files in this order: numpy, Pmw, pymol-1.7.6.0, pymol_launcher
- If there are no errors, you should be able start PyMOL using C:\Python27\PyMOL.exe
- Create a shortcut on your desktop to make starting PyMOL easier.
Linking PyMOL and PyRosetta
Adapted from this guide.
- Start PyMOL
- In the command line (upper window), type
run C:\Program Files\PyRosetta\PyMOLPyRosettaServer.py
- You should see a message just above saying:
If it doesn't work, check if PyRosetta installed to the above path (which it should have if you followed the instructions on this page). If the path is different, modify the run command to match.PyMOL <---> PyRosetta link started! at 127.0.0.1 port 65000
- Go to the 'File' menu and select 'Edit pymolrc'.
- Add the same run command to the file, then save it. This will start the PyRosetta link automatically every time you run PyMOL.