Skip to content

Commit

Permalink
build based on e052b15
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 19, 2023
1 parent bc503ae commit 8abf13e
Show file tree
Hide file tree
Showing 24 changed files with 436 additions and 436 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-12-19T12:27:55","documenter_version":"1.2.1"}}
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-12-19T13:57:33","documenter_version":"1.2.1"}}
2 changes: 1 addition & 1 deletion dev/01_Change_B_factors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
res.atoms[i] = change_b_factor(atom, hydrophobicity[res.id.name])
end
end
end</code></pre><p>Finally, we can save the changed residues in a new PDB file.</p><pre><code class="language-julia hljs">write(&quot;4zj9_hydrophobicity.pdb&quot;, pdb_residues, PDBFile)</code></pre><h2 id="Discussion"><a class="docs-heading-anchor" href="#Discussion">Discussion</a><a id="Discussion-1"></a><a class="docs-heading-anchor-permalink" href="#Discussion" title="Permalink"></a></h2><p>While we have focused on changing the B-factor field of a <code>PDBAtom</code>, you can use the same approach to change other fields. However, if you want to change atom coordinates, it is better to use the <code>change_coordinates</code> function from the PDB module of MIToS.</p><p>MIToS atoms and residues generally stores the string present in the input file without surrounding spaces. You can use the <code>Formatting</code> module to create these strings and <code>strip</code> to get rid of the spaces. You can see the <a href="https://www.wwpdb.org/documentation/file-format-content/format23/sect9.html">PDB format description</a> to know what is the format of the expected string or see the <a href="https://github.com/diegozea/MIToS.jl/blob/master/src/PDB/PDBParser.j">MIToS PDB print source code</a> to get a quick idea.</p><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../Pfam/">« Pfam</a><a class="docs-footer-nextpage" href="../02_Linking_structural_and_evolutionary_information/">Linking structural and evolutionary information »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 19 December 2023 12:27">Tuesday 19 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
end</code></pre><p>Finally, we can save the changed residues in a new PDB file.</p><pre><code class="language-julia hljs">write(&quot;4zj9_hydrophobicity.pdb&quot;, pdb_residues, PDBFile)</code></pre><h2 id="Discussion"><a class="docs-heading-anchor" href="#Discussion">Discussion</a><a id="Discussion-1"></a><a class="docs-heading-anchor-permalink" href="#Discussion" title="Permalink"></a></h2><p>While we have focused on changing the B-factor field of a <code>PDBAtom</code>, you can use the same approach to change other fields. However, if you want to change atom coordinates, it is better to use the <code>change_coordinates</code> function from the PDB module of MIToS.</p><p>MIToS atoms and residues generally stores the string present in the input file without surrounding spaces. You can use the <code>Formatting</code> module to create these strings and <code>strip</code> to get rid of the spaces. You can see the <a href="https://www.wwpdb.org/documentation/file-format-content/format23/sect9.html">PDB format description</a> to know what is the format of the expected string or see the <a href="https://github.com/diegozea/MIToS.jl/blob/master/src/PDB/PDBParser.j">MIToS PDB print source code</a> to get a quick idea.</p><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../Pfam/">« Pfam</a><a class="docs-footer-nextpage" href="../02_Linking_structural_and_evolutionary_information/">Linking structural and evolutionary information »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 19 December 2023 13:57">Tuesday 19 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,4 @@
39 =&gt; &quot;32&quot;
51 =&gt; &quot;44&quot;
61 =&gt; &quot;54&quot;
⋮ =&gt; ⋮</code></pre><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../01_Change_B_factors/">« Change B-factors</a><a class="docs-footer-nextpage" href="../03_RMSF/">Root Mean Squared Fluctuation (RMSF) »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 19 December 2023 12:27">Tuesday 19 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
⋮ =&gt; ⋮</code></pre><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../01_Change_B_factors/">« Change B-factors</a><a class="docs-footer-nextpage" href="../03_RMSF/">Root Mean Squared Fluctuation (RMSF) »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 19 December 2023 13:57">Tuesday 19 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 8abf13e

Please sign in to comment.