Difference between revisions of "Team:Waterloo/Software"

Line 11: Line 11:
 
     <section id="pyrosetta" title="PyRosetta & PyMOL">
 
     <section id="pyrosetta" title="PyRosetta & PyMOL">
 
         <h2>PyRosetta and PyMOL</h2>
 
         <h2>PyRosetta and PyMOL</h2>
         <p>
+
         <h3> Windows Installation</h3>
            Include the installation guides + maybe a few notes on useful PyRosetta resources.</p>
+
<p>PyRosetta</p>
        </p>
+
<p>Adapted from <a href="https://drive.google.com/viewerng/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxweXJvc2V0dGF8Z3g6NjA4OWZhYjZlN2YyOWZiNQ">this guide</a>.
 +
 
 +
<p>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.</p>
 +
<ol>
 +
<li><a href="https://www.python.org/downloads/">Download Python 2.7</a>. You MUST use the 64-bit version, and make sure to select the option to add python to your path.</li>
 +
<li>Install iPython. Open a command prompt, and type <code>python -m pip install ipython</code>. This should download and install ipython in one step.</li>
 +
<li>Get <a href="https://pypi.python.org/pypi/pyreadline/2.0">pyreadline</a> (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.</li>
 +
<li>Get a PyRosetta license. These are free for academic/non-commercial use. <a href="http://c4c.uwc4c.com/express_license_technologies/pyrosetta">Link</a>.</li>
 +
<li>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.</li>
 +
<li>Download the most recent version of the PyRosetta windows. You'll want the .exe for the latest release.</li>
 +
<li>When the download completes, run the exe to install PyRosetta.</li>
 +
<li>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.</li>
 +
<li>Open the ipython shell using the remaining shortcut. type:
 +
<ul>
 +
    <li>from rosetta import *</li>
 +
    <li>rosetta.init()</li>
 +
</ul>
 +
<li>If you get a message ending with something like the following, you've successfully installed PyRosetta.
 +
<p><code>core.init.random: RandomGenerator:init: Normal mode, seed=-1088387864 RG_type=mt19937</code></p></li>
 +
 
 
     </section>
 
     </section>
 
     <section id="lab" title="Lab Software">
 
     <section id="lab" title="Lab Software">
 +
 
         <h2>Lab Team Calculators</h2>
 
         <h2>Lab Team Calculators</h2>
 
         <p>
 
         <p>

Revision as of 00:08, 18 September 2015

Software

Mathematical Modelling

Give an overview of our GitHub code here.

PyRosetta and PyMOL

Windows Installation

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.

  1. Download Python 2.7. You MUST use the 64-bit version, and make sure to select the option to add python to your path.
  2. Install iPython. Open a command prompt, and type python -m pip install ipython. This should download and install ipython in one step.
  3. 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.
  4. Get a PyRosetta license. These are free for academic/non-commercial use. Link.
  5. 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.
  6. Download the most recent version of the PyRosetta windows. You'll want the .exe for the latest release.
  7. When the download completes, run the exe to install PyRosetta.
  8. 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.
  9. Open the ipython shell using the remaining shortcut. type:
    • from rosetta import *
    • rosetta.init()
  10. 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

Lab Team Calculators

Digest Calculator Ligation Calculator

Regardless of the topic, iGEM projects often create or adapt computational tools to move the project forward. Because they are born out of a direct practical need, these software tools (or new computational methods) can be surprisingly useful for other teams. Without necessarily being big or complex, they can make the crucial difference to a project's success. This award tries to find and honour such "nuggets" of computational work.

If you are working on software as your main project, please join the software track. If you are creating software as an addition to your main project, please apply for this award.

Here are a few examples from previous teams:

Top