Skip to content
Snippets Groups Projects
loading.html 10.54 KiB

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <title>Loading Rotamer Libraries &#8212; ProMod3 3.1.1 documentation</title>
    <link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/language_data.js"></script>
    <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"></script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Subrotamer Optimization" href="subrotamer_optimizer.html" />
    <link rel="prev" title="Disulfid Bond Evaluation" href="disulfid.html" />
   
  <link rel="stylesheet" href="../_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <div class="section" id="loading-rotamer-libraries">
<h1>Loading Rotamer Libraries<a class="headerlink" href="#loading-rotamer-libraries" title="Permalink to this headline">¶</a></h1>
<p>There are several rotamer libraries that can be used in ProMod3 . ProMod3
is optimized for the use with backbone dependent rotamer libraries such
as the 2010 library provided by the Dunbrack lab <a class="reference internal" href="../references.html#shapovalov2011" id="id1"><span>[shapovalov2011]</span></a>.
You can request a licence <a class="reference external" href="http://dunbrack.fccc.edu/bbdep2010/">here</a>
and generate such a library as described in
extras/data_generation/rotamer_library/README. Alternatively, ProMod3
provides its own backbone dependent or backbone independent libraries
that can be loaded with <a class="reference internal" href="#promod3.sidechain.LoadBBDepLib" title="promod3.sidechain.LoadBBDepLib"><code class="xref py py-meth docutils literal notranslate"><span class="pre">LoadBBDepLib()</span></code></a> / <a class="reference internal" href="#promod3.sidechain.LoadLib" title="promod3.sidechain.LoadLib"><code class="xref py py-meth docutils literal notranslate"><span class="pre">LoadLib()</span></code></a>.</p>
<dl class="method">
<dt id="promod3.sidechain.LoadBBDepLib">
<code class="sig-prename descclassname">promod3.sidechain.</code><code class="sig-name descname">LoadBBDepLib</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#promod3.sidechain.LoadBBDepLib" title="Permalink to this definition">¶</a></dt>
<dd><p>A backbone dependent rotamer library shipped with ProMod3. You can find
details on how it is created in extras/data_generation/rotamer_library/README.
All scripts to build it are in the same directory as the README file and
build the basis for custom versions.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>The requested Library</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="rotamer_lib.html#promod3.sidechain.BBDepRotamerLib" title="promod3.sidechain.BBDepRotamerLib"><code class="xref py py-class docutils literal notranslate"><span class="pre">BBDepRotamerLib</span></code></a></p>
</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="promod3.sidechain.LoadLib">
<code class="sig-prename descclassname">promod3.sidechain.</code><code class="sig-name descname">LoadLib</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#promod3.sidechain.LoadLib" title="Permalink to this definition">¶</a></dt>
<dd><p>A backbone independent rotamer library shipped with ProMod3. You can find
details on how it is created in extras/data_generation/rotamer_library/README.
All scripts to build it are in the same directory as the README file and
build the basis for custom versions.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>The requested library</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="rotamer_lib.html#promod3.sidechain.RotamerLib" title="promod3.sidechain.RotamerLib"><code class="xref py py-class docutils literal notranslate"><span class="pre">RotamerLib</span></code></a></p>
</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="promod3.sidechain.ReadDunbrackFile">
<code class="sig-prename descclassname">promod3.sidechain.</code><code class="sig-name descname">ReadDunbrackFile</code><span class="sig-paren">(</span><em class="sig-param">filename</em><span class="sig-paren">)</span><a class="headerlink" href="#promod3.sidechain.ReadDunbrackFile" title="Permalink to this definition">¶</a></dt>
<dd><p>Reads a file as it is provided when you get a licence for the 2010 library of
the Dunbrack lab. It can only read the classic version, where all rotamers
are in a single file. Specific distributions of non-rotameric sidechains
cannot be read. You can find an example described in
extras/data_generation/rotamer_library/README</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>filename</strong> – Name of the file</p>
</dd>
<dt class="field-even">Throws</dt>
<dd class="field-even"><p><code class="xref py py-exc docutils literal notranslate"><span class="pre">RuntimeError</span></code> if file does not exist, the format
is not valid or when the library is incomplete leading to problems
to make the library static. Most likely your input file is
incomplete if the last problem gets triggered.</p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>The read library</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="rotamer_lib.html#promod3.sidechain.BBDepRotamerLib" title="promod3.sidechain.BBDepRotamerLib"><code class="xref py py-class docutils literal notranslate"><span class="pre">BBDepRotamerLib</span></code></a></p>
</dd>
</dl>
</dd></dl>

</div>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">ProMod3</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../users.html">Users</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../gettingstarted.html">Getting Started</a></li>
<li class="toctree-l2"><a class="reference internal" href="../actions/index.html">ProMod3 Actions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../buildsystem.html">Building ProMod3</a></li>
<li class="toctree-l2"><a class="reference internal" href="../container/index.html">ProMod3 and Containers</a></li>
<li class="toctree-l2"><a class="reference internal" href="../modelling/index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">modelling</span></code> - Protein Modelling</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sidechain</span></code> - Sidechain Modelling</a></li>
<li class="toctree-l2"><a class="reference internal" href="../scoring/index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scoring</span></code> - Loop Scoring</a></li>
<li class="toctree-l2"><a class="reference internal" href="../loop/index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">loop</span></code> - Loop Handling</a></li>
<li class="toctree-l2"><a class="reference internal" href="../core/index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">core</span></code> - ProMod3 Core Functionality</a></li>
<li class="toctree-l2"><a class="reference internal" href="../core/setcompoundschemlib.html"><code class="xref py py-func docutils literal notranslate"><span class="pre">SetCompoundsChemlib()</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../user_contributions.html">Contributing</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../developers.html">Developers</a></li>
<li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
<li class="toctree-l1"><a class="reference internal" href="../references.html">References</a></li>
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="../index.html">Documentation overview</a><ul>
  <li><a href="../users.html">Documentation For Users</a><ul>
  <li><a href="index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sidechain</span></code> - Sidechain Modelling</a><ul>
      <li>Previous: <a href="disulfid.html" title="previous chapter">Disulfid Bond Evaluation</a></li>
      <li>Next: <a href="subrotamer_optimizer.html" title="next chapter">Subrotamer Optimization</a></li>
  </ul></li>
  </ul></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" />
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2013-2020, SIB - Swiss Institute of Bioinformatics and Biozentrum - University of Basel.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 2.1.2</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
      
      |
      <a href="../_sources/sidechain/loading.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>