Skip to content

Commit

Permalink
docs for version 6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom committed Jan 26, 2024
1 parent 87e1682 commit c19238a
Show file tree
Hide file tree
Showing 39 changed files with 363 additions and 438 deletions.
6 changes: 3 additions & 3 deletions RBD_average.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Averaging models &#8212; polyclonal 6.9 documentation</title>
<title>Averaging models &#8212; polyclonal 6.10 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=fed019e6" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css?v=7f9a90b1" />
<link rel="stylesheet" type="text/css" href="_static/nbsphinx-code-cells.css?v=2aa19091" />
<script src="_static/documentation_options.js?v=fb147579"></script>
<script src="_static/documentation_options.js?v=c2801b12"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
Expand Down Expand Up @@ -1253,7 +1253,7 @@ <h3 id="searchlabel">Quick search</h3>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;2019--2023.
&copy;2019--2024.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.2.6</a>
Expand Down
6 changes: 3 additions & 3 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; polyclonal 6.9 documentation</title>
<title>Overview: module code &#8212; polyclonal 6.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=fed019e6" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css?v=7f9a90b1" />
<script src="../_static/documentation_options.js?v=fb147579"></script>
<script src="../_static/documentation_options.js?v=c2801b12"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
Expand Down Expand Up @@ -125,7 +125,7 @@ <h3 id="searchlabel">Quick search</h3>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;2019--2023.
&copy;2019--2024.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.2.6</a>
Expand Down
55 changes: 30 additions & 25 deletions _modules/polyclonal/pdb_utils.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@

<!DOCTYPE html>

<html>
<html lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>polyclonal.pdb_utils &#8212; polyclonal 3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/doctools.js"></script>
<title>polyclonal.pdb_utils &#8212; polyclonal 6.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=fed019e6" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css?v=7f9a90b1" />
<script src="../../_static/documentation_options.js?v=c2801b12"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
Expand Down Expand Up @@ -42,7 +40,6 @@ <h1>Source code for polyclonal.pdb_utils</h1><div class="highlight"><pre>

<span class="sd">&quot;&quot;&quot;</span>


<span class="kn">import</span> <span class="nn">collections</span> <span class="c1"># noqa: F401</span>
<span class="kn">import</span> <span class="nn">itertools</span>
<span class="kn">import</span> <span class="nn">os</span> <span class="c1"># noqa: F401</span>
Expand All @@ -58,12 +55,14 @@ <h1>Source code for polyclonal.pdb_utils</h1><div class="highlight"><pre>
<span class="kn">import</span> <span class="nn">requests</span> <span class="c1"># noqa: F401</span>


<div class="viewcode-block" id="inter_residue_distances"><a class="viewcode-back" href="../../polyclonal.pdb_utils.html#polyclonal.pdb_utils.inter_residue_distances">[docs]</a><span class="k">def</span> <span class="nf">inter_residue_distances</span><span class="p">(</span>
<div class="viewcode-block" id="inter_residue_distances">
<a class="viewcode-back" href="../../polyclonal.pdb_utils.html#polyclonal.pdb_utils.inter_residue_distances">[docs]</a>
<span class="k">def</span> <span class="nf">inter_residue_distances</span><span class="p">(</span>
<span class="n">input_pdbfile</span><span class="p">,</span>
<span class="n">target_chains</span><span class="p">,</span>
<span class="n">target_atom</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="p">):</span>
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;Get inter-residue distances from a PDB file.</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;Get inter-residue distances from a PDB file.</span>

<span class="sd"> If a residue number is present in multiple chains, gets the closest distance</span>
<span class="sd"> for each partner from all residues with that number. This is useful for</span>
Expand Down Expand Up @@ -195,7 +194,10 @@ <h1>Source code for polyclonal.pdb_utils</h1><div class="highlight"><pre>
<span class="p">)</span></div>


<div class="viewcode-block" id="reassign_b_factor"><a class="viewcode-back" href="../../polyclonal.pdb_utils.html#polyclonal.pdb_utils.reassign_b_factor">[docs]</a><span class="k">def</span> <span class="nf">reassign_b_factor</span><span class="p">(</span>

<div class="viewcode-block" id="reassign_b_factor">
<a class="viewcode-back" href="../../polyclonal.pdb_utils.html#polyclonal.pdb_utils.reassign_b_factor">[docs]</a>
<span class="k">def</span> <span class="nf">reassign_b_factor</span><span class="p">(</span>
<span class="n">input_pdbfile</span><span class="p">,</span>
<span class="n">output_pdbfile</span><span class="p">,</span>
<span class="n">df</span><span class="p">,</span>
Expand All @@ -206,7 +208,7 @@ <h1>Source code for polyclonal.pdb_utils</h1><div class="highlight"><pre>
<span class="n">missing_metric</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
<span class="n">model_index</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
<span class="p">):</span>
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;Reassign B factors in PDB file to some other metric.</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;Reassign B factors in PDB file to some other metric.</span>

<span class="sd"> B-factor re-assignment is useful because PDB images can be colored</span>
<span class="sd"> by B factor using programs such as ``pymol`` using commands like::</span>
Expand Down Expand Up @@ -378,12 +380,15 @@ <h1>Source code for polyclonal.pdb_utils</h1><div class="highlight"><pre>
<span class="n">io</span><span class="o">.</span><span class="n">save</span><span class="p">(</span><span class="n">output_pdbfile</span><span class="p">)</span></div>


<div class="viewcode-block" id="extract_atom_locations"><a class="viewcode-back" href="../../polyclonal.pdb_utils.html#polyclonal.pdb_utils.extract_atom_locations">[docs]</a><span class="k">def</span> <span class="nf">extract_atom_locations</span><span class="p">(</span>

<div class="viewcode-block" id="extract_atom_locations">
<a class="viewcode-back" href="../../polyclonal.pdb_utils.html#polyclonal.pdb_utils.extract_atom_locations">[docs]</a>
<span class="k">def</span> <span class="nf">extract_atom_locations</span><span class="p">(</span>
<span class="n">input_pdbfile</span><span class="p">,</span>
<span class="n">target_chains</span><span class="p">,</span>
<span class="n">target_atom</span><span class="o">=</span><span class="s2">&quot;CA&quot;</span><span class="p">,</span>
<span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Extract atom locations from target chains of a PDB file.</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Extract atom locations from target chains of a PDB file.</span>

<span class="sd"> By default the locations of alpha carbons are extracted, but any atom</span>
<span class="sd"> can be specified. If a residue does not have the specified atom,</span>
Expand Down Expand Up @@ -507,6 +512,7 @@ <h1>Source code for polyclonal.pdb_utils</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="n">output</span><span class="o">.</span><span class="n">reset_index</span><span class="p">(</span><span class="n">drop</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span></div>



<span class="k">if</span> <span class="vm">__name__</span> <span class="o">==</span> <span class="s2">&quot;__main__&quot;</span><span class="p">:</span>
<span class="kn">import</span> <span class="nn">doctest</span>

Expand Down Expand Up @@ -554,13 +560,12 @@ <h3>Navigation</h3>
<li class="toctree-l1"><a class="reference internal" href="../../visualize_RBD.html">Visualize antibody mix</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../simulate_RBD.html">Simulate experiment</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../fit_RBD.html">Fit model to data</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../fit_2epitope.html">Fit more complex curves</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../regularization.html">Regularization</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../RBD_bootstrap.html">Bootstrapping model fits</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../RBD_average.html">Averaging models</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../real_LyCoV1404.html">Real antibody data example</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../real_LyCoV1404.html">Real antibody example</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../reference_site_numbering.html">Reference site numbering</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../real_cocktail.html">Real antibody cocktail example</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../real_serum.html">Real serum example</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../real_cocktail.html">Real antibody cocktail</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../specify_epitopes.html">Specifying epitopes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../expt_design.html">Experimental design</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../optimization.html">Details on fitting</a></li>
Expand Down Expand Up @@ -588,7 +593,7 @@ <h3 id="searchlabel">Quick search</h3>
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
<script>document.getElementById('searchbox').style.display = "block"</script>



Expand All @@ -602,11 +607,11 @@ <h3 id="searchlabel">Quick search</h3>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;2019--2023.
&copy;2019--2024.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.2.0</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.2.6</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>

Expand Down
Loading

0 comments on commit c19238a

Please sign in to comment.