
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.jmol.org/index.php?action=history&amp;feed=atom&amp;title=User%3ARemig%2Fplico%2Ffold_trna</id>
	<title>User:Remig/plico/fold trna - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jmol.org/index.php?action=history&amp;feed=atom&amp;title=User%3ARemig%2Fplico%2Ffold_trna"/>
	<link rel="alternate" type="text/html" href="https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;action=history"/>
	<updated>2026-06-13T07:48:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=9612&amp;oldid=prev</id>
		<title>Remig at 17:31, 12 April 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=9612&amp;oldid=prev"/>
		<updated>2016-04-12T17:31:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:31, 12 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot; &gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy and paste the following to a text editor and save to your scripts directory as fold_trna.spt:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy and paste the following to a text editor and save to your scripts directory as fold_trna.spt:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#   fold_trna - Jmol script by Ron Mignery&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#   fold_trna - Jmol script by Ron Mignery&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   v1.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2 &lt;/del&gt;beta    &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;7&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;24&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2015&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   v1.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3 &lt;/ins&gt;beta    &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;12&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2016 -axis is now a reserved word&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   fold_trna predicts the tertiary structure of any tRNA from its sequence&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   fold_trna predicts the tertiary structure of any tRNA from its sequence&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l66&quot; &gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 66:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # Load common functions if not already&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # Load common functions if not already&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if (kCommon &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;6&lt;/del&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if (kCommon &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7&lt;/ins&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         script $SCRIPT_PATH$plicoCommon.spt&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         script $SCRIPT_PATH$plicoCommon.spt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (kCommon &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;6&lt;/del&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (kCommon &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7&lt;/ins&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             prompt (&amp;quot;A newer version of plicoCommon.SPT is required&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             prompt (&amp;quot;A newer version of plicoCommon.SPT is required&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             quit&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             quit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if (kNTcommon &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/del&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if (kNTcommon &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;6&lt;/ins&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         script $SCRIPT_PATH$plicoNTcommon.spt&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         script $SCRIPT_PATH$plicoNTcommon.spt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (kNTcommon &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/del&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (kNTcommon &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;6&lt;/ins&gt;) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             prompt (&amp;quot;A newer version of plicoNTcommon.SPT is required&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             prompt (&amp;quot;A newer version of plicoNTcommon.SPT is required&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             quit&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             quit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l186&quot; &gt;Line 186:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 186:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var a = {all}.atomno.min&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var a = {all}.atomno.min&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var iChain = {atomno=a}.chain&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var iChain = {atomno=a}.chain&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var rmin = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{chain=&lt;/del&gt;iChain&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}.resno.min&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var rmin = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;get_resno_min(&lt;/ins&gt;iChain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var rmax = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{chain=&lt;/del&gt;iChain&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}.resno.max&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var rmax = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;get_resno_max(&lt;/ins&gt;iChain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var pn5 = 1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var pn5 = 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var pn3 = nseq.size&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var pn3 = nseq.size&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l225&quot; &gt;Line 225:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 225:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             translateSelected @{-ac1.xyz}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             translateSelected @{-ac1.xyz}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;axis &lt;/del&gt;= cross({1 0 0}, ac2.xyz)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;caxis &lt;/ins&gt;= cross({1 0 0}, ac2.xyz)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var curangle =  angle({1 0 0}, {0 0 0}, ac2.xyz)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             var curangle =  angle({1 0 0}, {0 0 0}, ac2.xyz)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             rotateSelected @&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;axis &lt;/del&gt;{0 0 0} @{curangle}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             rotateSelected @&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;caxis &lt;/ins&gt;{0 0 0} @{curangle}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;axis &lt;/del&gt;= cross({0 -1 0}, ac3.xyz)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;caxis &lt;/ins&gt;= cross({0 -1 0}, ac3.xyz)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             curangle =  angle({0 -1 0}, {0 0 0}, ac3.xyz)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             curangle =  angle({0 -1 0}, {0 0 0}, ac3.xyz)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             rotateSelected @&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;axis &lt;/del&gt;{0 0 0} @{curangle}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             rotateSelected @&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;caxis &lt;/ins&gt;{0 0 0} @{curangle}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             translateSelected {-4 0 0}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             translateSelected {-4 0 0}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             center {0 0 0}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             center {0 0 0}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l237&quot; &gt;Line 237:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 237:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             # Fix new collisions                 &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             # Fix new collisions                 &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             set echo TOP LEFT&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             set echo TOP LEFT&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             /*for (var i = 1; i &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{chain=&lt;/del&gt;iChain&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}.resno.max&lt;/del&gt;; i++) {*/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             /*for (var i = 1; i &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;get_resno_max(&lt;/ins&gt;iChain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;; i++) {*/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 gEcho = &amp;quot;aligning tRNA... Minimizing collisions NT&amp;quot; + i&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 gEcho = &amp;quot;aligning tRNA... Minimizing collisions NT&amp;quot; + i&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 echo @gEcho&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 echo @gEcho&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 #minimize_for_collision(i, iChain)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 #minimize_for_collision(i, iChain)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             /*}*/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             /*}*/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             fix_p_res_range(1, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{chain=&lt;/del&gt;iChain&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}.resno.max&lt;/del&gt;, iChain, true)  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             fix_p_res_range(1, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;get_resno_max(&lt;/ins&gt;iChain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;, iChain, true)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             # If more on new&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             # If more on new&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l283&quot; &gt;Line 283:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 283:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             /*&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             /*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             set echo TOP LEFT&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             set echo TOP LEFT&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             for (var i = 1; i &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{chain=&lt;/del&gt;iChain&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}.resno.max&lt;/del&gt;; i++) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             for (var i = 1; i &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;get_resno_max(&lt;/ins&gt;iChain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;; i++) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 gEcho = &amp;quot;aligning tRNA... Minimizing collisions NT&amp;quot; + i&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 gEcho = &amp;quot;aligning tRNA... Minimizing collisions NT&amp;quot; + i&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 echo @gEcho&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 echo @gEcho&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 #minimize_for_collision(i, iChain)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 #minimize_for_collision(i, iChain)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             for (var i = 1; i &amp;lt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{chain=&lt;/del&gt;iChain&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}.resno.max&lt;/del&gt;; i++) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             for (var i = 1; i &amp;lt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;get_resno_max(&lt;/ins&gt;iChain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;; i++) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 gEcho = &amp;quot;aligning tRNA... Repairing backbone NT&amp;quot; + i&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 gEcho = &amp;quot;aligning tRNA... Repairing backbone NT&amp;quot; + i&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 echo @gEcho&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 echo @gEcho&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Remig</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=8921&amp;oldid=prev</id>
		<title>Remig: Debugged</title>
		<link rel="alternate" type="text/html" href="https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=8921&amp;oldid=prev"/>
		<updated>2015-07-24T18:58:37Z</updated>

		<summary type="html">&lt;p&gt;Debugged&lt;/p&gt;
&lt;a href=&quot;https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;amp;diff=8921&amp;amp;oldid=8895&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Remig</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=8895&amp;oldid=prev</id>
		<title>Remig at 18:41, 13 July 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=8895&amp;oldid=prev"/>
		<updated>2015-07-13T18:41:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:41, 13 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fold_trna &lt;/del&gt;predicts the tertiary structure of any tRNA from its sequence provided the tRNA has the universal elements of functional tRNAs: (proceeding 5' to 3') a 7 base-pair stem, 3 upaired nts, a 4 base-pair D stem, a 7, 8 or 9 base D loop, 1 unpaired nt,  a 5 base-pair acceptor stem, a 7 base acceptor loop, 5 unpaired NTs or else a variable stem loop of any size, a TUCG stem of 5 base-pairs, a UCG loop of 7 bases, no NTs before the acceptor stem, and a final unpaired N or NCCA.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''Fold_trna''' &lt;/ins&gt;predicts the tertiary structure of any tRNA from its sequence provided the tRNA has the universal elements of functional tRNAs: (proceeding 5' to 3') a 7 base-pair stem, 3 upaired nts, a 4 base-pair D stem, a 7, 8 or 9 base D loop, 1 unpaired nt,  a 5 base-pair acceptor stem, a 7 base acceptor loop, 5 unpaired NTs or else a variable stem loop of any size, a TUCG stem of 5 base-pairs, a UCG loop of 7 bases, no NTs before the acceptor stem, and a final unpaired N or NCCA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This script prompts for a tRNA sequence string (5' to 3', ACGUs only, with or without 3'CCA).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This script prompts for a tRNA sequence string (5' to 3', ACGUs only, with or without 3'CCA).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot; &gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The end model is double-bonded to prevent minimization errors.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The end model is double-bonded to prevent minimization errors.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use the Convert macro to remove them if desired.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[User:Remig/plico/convert|&lt;/ins&gt;Convert&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;macro to remove them if desired.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Fold_trna''' is a member of the Plico suite of protein folding tools described [[User:Remig/plico|here]]. It may be installed and accessed as a macro with the file:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Fold_trna''' is a member of the Plico suite of protein folding tools described [[User:Remig/plico|here]]. It may be installed and accessed as a macro with the file:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot; &gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy and paste the following to a text editor and save to your scripts directory as fold_trna.spt:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy and paste the following to a text editor and save to your scripts directory as fold_trna.spt:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   fold_trna - Jmol script by Ron Mignery&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;#   fold_trna - Jmol script by Ron Mignery&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   v1.1 beta    7/13/2015&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#   v1.1 beta    7/13/2015&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l400&quot; &gt;Line 400:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 400:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# end fold_trna.spt&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# end fold_trna.spt&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Remig</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=8891&amp;oldid=prev</id>
		<title>Remig: A tRNA tertiary structure predictor script.</title>
		<link rel="alternate" type="text/html" href="https://wiki.jmol.org/index.php?title=User:Remig/plico/fold_trna&amp;diff=8891&amp;oldid=prev"/>
		<updated>2015-07-13T18:06:07Z</updated>

		<summary type="html">&lt;p&gt;A tRNA tertiary structure predictor script.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;fold_trna predicts the tertiary structure of any tRNA from its sequence provided the tRNA has the universal elements of functional tRNAs: (proceeding 5' to 3') a 7 base-pair stem, 3 upaired nts, a 4 base-pair D stem, a 7, 8 or 9 base D loop, 1 unpaired nt,  a 5 base-pair acceptor stem, a 7 base acceptor loop, 5 unpaired NTs or else a variable stem loop of any size, a TUCG stem of 5 base-pairs, a UCG loop of 7 bases, no NTs before the acceptor stem, and a final unpaired N or NCCA.&lt;br /&gt;
&lt;br /&gt;
This script prompts for a tRNA sequence string (5' to 3', ACGUs only, with or without 3'CCA).&lt;br /&gt;
The Genomic tRNA Database at http://lowelab.ucsc.edu/GtRNAdb/ is an excellent source for such strings.&lt;br /&gt;
&lt;br /&gt;
It then loads a corresponding template tRNA from the PDB, replaces the template nucleotides with the input string nucleotide, minimizes to fix any&lt;br /&gt;
resulting collisions, and, if needed, creates and inserts a variable loop.&lt;br /&gt;
&lt;br /&gt;
The process takes a few minutes: the yellow progress message in the upper left will go pink for the duration.&lt;br /&gt;
   &lt;br /&gt;
The template used depends on the D loop size as follows:&lt;br /&gt;
    7:  1yfg    8:  3l0u    9:1ffy&lt;br /&gt;
Variable loop positioning is templated on the PDB entry 1ser.&lt;br /&gt;
&lt;br /&gt;
The end model is double-bonded to prevent minimization errors.&lt;br /&gt;
Use the Convert macro to remove them if desired.&lt;br /&gt;
&lt;br /&gt;
'''Fold_trna''' is a member of the Plico suite of protein folding tools described [[User:Remig/plico|here]]. It may be installed and accessed as a macro with the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;Title=PLICO Fold tRNA&lt;br /&gt;
Script=script &amp;lt;path to your scripts directory&amp;gt;/fold_trna.spt;plico_fold_trna&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
saved as plicoFoldTrna.macro in your .jmol/macros directory as described in [[Macro]].&lt;br /&gt;
&lt;br /&gt;
Copy and paste the following to a text editor and save to your scripts directory as fold_trna.spt:&lt;br /&gt;
#   fold_trna - Jmol script by Ron Mignery&lt;br /&gt;
#   v1.1 beta    7/13/2015&lt;br /&gt;
#&lt;br /&gt;
#   fold_trna predicts the tertiary structure of any tRNA from its sequence&lt;br /&gt;
#   provided the tRNA has the universal elements of functional tRNAs:&lt;br /&gt;
#   (proceeding 5' to 3') a 7 base-pair stem, 3 upaired nts, a 4 base-pair&lt;br /&gt;
#   D stem, a 7, 8 or 9 base D loop, 1 unpaired nt,  a 5 base-pair &lt;br /&gt;
#   acceptor stem, a 7 base acceptor loop, 5 unpaired NTs or else a variable&lt;br /&gt;
#   stem loop of any size, a TUCG stem of 5 base-pairs, a TUCG loop of 7&lt;br /&gt;
#   bases, no NTs before the acceptor stem, and a final unpaired N or NCCA.&lt;br /&gt;
#   Not all base pairs need be canonical.&lt;br /&gt;
#&lt;br /&gt;
#   This script prompts for a tRNA sequence string&lt;br /&gt;
#   (5' to 3', ACGUs only, with or without 3'CCA).&lt;br /&gt;
#   The Genomic tRNA Database at http://lowelab.ucsc.edu/GtRNAdb/&lt;br /&gt;
#   is an excellent source for such strings.&lt;br /&gt;
#&lt;br /&gt;
#   It then loads a corresponding template tRNA from the PDB, replaces the template&lt;br /&gt;
#   nucleotides with the input string nucleotide, minimizes to fix any&lt;br /&gt;
#   resulting collisions, and, if needed, creates and inserts a variable loop.&lt;br /&gt;
#&lt;br /&gt;
#   The process takes a few minutes: the yellow progress message in the upper&lt;br /&gt;
#   left will go pink for the duration.&lt;br /&gt;
#   &lt;br /&gt;
#   The template used depends on the D loop size as follows:&lt;br /&gt;
#       7:  1yfg    8:  3l0u    9:1ffy&lt;br /&gt;
#   &lt;br /&gt;
#   Variable loop positioning is templated on 1ser.&lt;br /&gt;
#   &lt;br /&gt;
#   The end model is double-bonded to prevent minimization errors.&lt;br /&gt;
#   Use the Convert macro to remove them if desired.&lt;br /&gt;
#&lt;br /&gt;
#   fold_rna uses the PLICO scripts plicoCommon.spt, plicoNTcommon.spt,&lt;br /&gt;
#   polymeraze.spt, remapNT.spt, and convert_residue.spt which must be&lt;br /&gt;
#   available in the same directory from which fold_rna.spt is loaded.&lt;br /&gt;
&lt;br /&gt;
# TOP LEVEL FUNCTION - Find and fold all loops&lt;br /&gt;
function fold_all(iChain) {&lt;br /&gt;
&lt;br /&gt;
    # Load common functions if not already&lt;br /&gt;
    if (kCommon &amp;lt; 4) {&lt;br /&gt;
        script $SCRIPT_PATH$plicoCommon.spt&lt;br /&gt;
        if (kCommon &amp;lt; 4) {&lt;br /&gt;
            prompt (&amp;quot;A newer version of plicoCommon.SPT is required&amp;quot;)&lt;br /&gt;
            quit&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (kNTcommon &amp;lt; 4) {&lt;br /&gt;
        script $SCRIPT_PATH$plicoNTcommon.spt&lt;br /&gt;
        if (kNTcommon &amp;lt; 4) {&lt;br /&gt;
            prompt (&amp;quot;A newer version of plicoNTcommon.SPT is required&amp;quot;)&lt;br /&gt;
            quit&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (iChain == &amp;quot;&amp;quot;) {&lt;br /&gt;
        iChain = gChain1&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    align_trna()&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function align_trna() {&lt;br /&gt;
    if (kPolymeraze &amp;lt; 1) {&lt;br /&gt;
        script $SCRIPT_PATH$polymeraze.spt&lt;br /&gt;
        echo dl polymeraze.spt&lt;br /&gt;
        if (kPolymeraze &amp;lt; 1) {&lt;br /&gt;
            prompt (&amp;quot;The Plico script polymeraze.spt (1.14+) is required&amp;quot;)&lt;br /&gt;
            quit&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (kRemapNT &amp;lt; 2) {&lt;br /&gt;
        script $SCRIPT_PATH$remapNT.spt&lt;br /&gt;
        echo dl remapNT.spt&lt;br /&gt;
        if (kRemapNT &amp;lt; 2) {&lt;br /&gt;
            prompt (&amp;quot;The Plico script remapNT.spt (1.14+) is required&amp;quot;)&lt;br /&gt;
            quit&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (kConvert &amp;lt; 1) {&lt;br /&gt;
        script $SCRIPT_PATH$convert_residue.spt&lt;br /&gt;
        echo dl convert_residue.spt&lt;br /&gt;
        if (kConvert &amp;lt; 1) {&lt;br /&gt;
            prompt (&amp;quot;The Plico script convert_residue.spt (1.4+) is required&amp;quot;)&lt;br /&gt;
            quit&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    # Prompt for new&lt;br /&gt;
    var nseq = prompt(&amp;quot;Enter new tRNA NT sequence (ACGTU...)&amp;quot;, &amp;quot;&amp;quot;)%9999%0&lt;br /&gt;
    try {&lt;br /&gt;
    &lt;br /&gt;
        # If new is trna&lt;br /&gt;
        if (nseq.size &amp;gt; 67) {&lt;br /&gt;
            nseq = nseq.replace(&amp;quot;T&amp;quot;, &amp;quot;U&amp;quot;)&lt;br /&gt;
            &lt;br /&gt;
            # Remove 3' CCA if present&lt;br /&gt;
            if (nseq[nseq.size-2][nseq.size] == &amp;quot;CCA&amp;quot;) {&lt;br /&gt;
                if (eval_pairing( nseq, 1, nseq.size-4, 3) &amp;gt; 6) {&lt;br /&gt;
                    nseq = nseq[1][nseq.size-3]&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
            # Calc D loop size&lt;br /&gt;
            var dn = 7&lt;br /&gt;
            var ds = eval_pairing(nseq, 10, 24, 4)&lt;br /&gt;
            if (eval_pairing(nseq, 10, 25, 4) &amp;gt; ds) {&lt;br /&gt;
                ds = eval_pairing(nseq, 10, 25, 4)&lt;br /&gt;
                dn = 8&lt;br /&gt;
            }&lt;br /&gt;
            if (eval_pairing(nseq, 10, 26, 4) &amp;gt; ds) {&lt;br /&gt;
                dn = 9&lt;br /&gt;
            }&lt;br /&gt;
            &lt;br /&gt;
            var tpdb = &amp;quot;&amp;quot;&lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            background ECHO pink&lt;br /&gt;
            switch (dn) {&lt;br /&gt;
            case 7: # 1yfg&lt;br /&gt;
                tpdb = &amp;quot;1yfg&amp;quot;&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Loading &amp;quot; + tpdb&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                load &amp;quot;=1yfg&amp;quot;&lt;br /&gt;
                delete 74-76&lt;br /&gt;
                delete {connected(connected(atomName=&amp;quot;C12&amp;quot;))} #T6A&lt;br /&gt;
                #convert_nt(16, &amp;quot;A&amp;quot;, &amp;quot;U&amp;quot;)&lt;br /&gt;
                #convert_nt(47, &amp;quot;A&amp;quot;, &amp;quot;U&amp;quot;)&lt;br /&gt;
                break&lt;br /&gt;
            case 8: # 3l0u&lt;br /&gt;
                tpdb = &amp;quot;3l0u&amp;quot;&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Loading &amp;quot; + tpdb&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                load &amp;quot;=3l0u&amp;quot;&lt;br /&gt;
                break&lt;br /&gt;
            case 9: # 1ffy&lt;br /&gt;
                tpdb = &amp;quot;1ffy&amp;quot;&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Loading &amp;quot; + tpdb&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                load &amp;quot;=1ffy&amp;quot;&lt;br /&gt;
                delete not :T&lt;br /&gt;
                delete 74&lt;br /&gt;
                break&lt;br /&gt;
            default :&lt;br /&gt;
                throw &amp;quot;D loop not 7-9 bases&amp;quot;&lt;br /&gt;
            }&lt;br /&gt;
            refresh&lt;br /&gt;
            delete ligands&lt;br /&gt;
            delete hoh&lt;br /&gt;
            delete {atomName=&amp;quot;CM?&amp;quot;}&lt;br /&gt;
            delete not connected&lt;br /&gt;
            &lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            gEcho = &amp;quot;aligning tRNA... Remapping &amp;quot; + tpdb&lt;br /&gt;
            echo @{gEcho}&lt;br /&gt;
            gChain1 = &amp;quot;A&amp;quot;&lt;br /&gt;
            remap_nt( 1, true, 1)&lt;br /&gt;
            {atomName=&amp;quot;O&amp;quot;}.atomName=&amp;quot;OP1&amp;quot; # 1yfg?&lt;br /&gt;
            center&lt;br /&gt;
&lt;br /&gt;
            var a = {all}.atomno.min&lt;br /&gt;
            var iChain = {atomno=a}.chain&lt;br /&gt;
            var rmin = {chain=iChain}.resno.min&lt;br /&gt;
            var rmax = {chain=iChain}.resno.max&lt;br /&gt;
            var pn5 = 1&lt;br /&gt;
            var pn3 = nseq.size&lt;br /&gt;
            &lt;br /&gt;
            # Convert from 5' and 3' until meet&lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            gEcho = &amp;quot;aligning tRNA... Converting &amp;quot; + tpdb&lt;br /&gt;
            echo @{gEcho}&lt;br /&gt;
            for (var i = 0; i &amp;lt; (37+dn); i++) {&lt;br /&gt;
                var ac1 = get_atom_rcn(rmin+i, iChain, &amp;quot;C1\'&amp;quot;)&lt;br /&gt;
                if (ac1.group != nseq[pn5+i]) {&lt;br /&gt;
                    convert_nt(rmin+i, iChain, nseq[pn5+i])&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            for (var i = 0; i &amp;lt; 28; i++) {&lt;br /&gt;
                var ac1 = get_atom_rcn(rmax-i, iChain, &amp;quot;C1\'&amp;quot;)&lt;br /&gt;
                if (ac1.group != nseq[pn3-i]) {&lt;br /&gt;
                    convert_nt(rmax-i, iChain, nseq[pn3-i])&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            gEcho = &amp;quot;aligning tRNA... Renumbering atoms&amp;quot;&lt;br /&gt;
            echo @{gEcho}&lt;br /&gt;
            update_atomnos(iChain)&lt;br /&gt;
            &lt;br /&gt;
            # Double bond the bases and add Hs to keep minimizations kosher&lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            gEcho = &amp;quot;aligning tRNA... Double-bonding&amp;quot;&lt;br /&gt;
            echo @{gEcho}&lt;br /&gt;
            double_bond_planars(iChain, false)&lt;br /&gt;
            &lt;br /&gt;
            # Position at origin&lt;br /&gt;
            select all&lt;br /&gt;
            var ac1 = get_atom_rcn(rmin, iChain, &amp;quot;C1\'&amp;quot;)&lt;br /&gt;
            var ac2 = get_atom_rcn(rmin, iChain, &amp;quot;C2\'&amp;quot;)&lt;br /&gt;
            var ac3 = get_atom_rcn(rmin, iChain, &amp;quot;C3\'&amp;quot;)&lt;br /&gt;
            translateSelected @{-ac1.xyz}&lt;br /&gt;
            &lt;br /&gt;
            var axis = cross({1 0 0}, ac2.xyz)&lt;br /&gt;
            var curangle =  angle({1 0 0}, {0 0 0}, ac2.xyz)&lt;br /&gt;
            rotateSelected @axis {0 0 0} @{curangle}&lt;br /&gt;
            &lt;br /&gt;
            axis = cross({0 -1 0}, ac3.xyz)&lt;br /&gt;
            curangle =  angle({0 -1 0}, {0 0 0}, ac3.xyz)&lt;br /&gt;
            rotateSelected @axis {0 0 0} @{curangle}&lt;br /&gt;
            translateSelected {-4 0 0}&lt;br /&gt;
            center {0 0 0}&lt;br /&gt;
            &lt;br /&gt;
            # Fix new collisions                &lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            /*for (var i = 1; i &amp;lt; {chain=iChain}.resno.max; i++) {*/&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Minimizing collisions NT&amp;quot; + i&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                #minimize_for_collision(i, iChain)&lt;br /&gt;
            /*}*/&lt;br /&gt;
            fix_p_res_range(1, {chain=iChain}.resno.max, iChain, true) &lt;br /&gt;
echo 1=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
            &lt;br /&gt;
            # If more on new&lt;br /&gt;
            var rr =  pn3-pn5-(rmax-rmin)+1&lt;br /&gt;
            if (rr &amp;gt; 1) {&lt;br /&gt;
            &lt;br /&gt;
                # Renumber 3' fragment += rr&lt;br /&gt;
                delete {resno=@{38+dn}}&lt;br /&gt;
                var aP = get_atom_rcn(39+dn, iChain, &amp;quot;P&amp;quot;)&lt;br /&gt;
                set echo TOP LEFT&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Remapping from NT&amp;quot; + (39+dn)&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                remap_nt(aP.atomIndex, true, 38+dn+rr)&lt;br /&gt;
                # Make var loop base&lt;br /&gt;
echo 1.1=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
                make_var_loop_base( 37+dn, iChain)&lt;br /&gt;
                fix_all_nt_collisions(iChain)&lt;br /&gt;
echo 1.2=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
                if (is_form_a(38+dn+rr, iChain) == false) {&lt;br /&gt;
                    to_ab_nt_res(38+dn+rr, -1, iChain, true)&lt;br /&gt;
echo 1.3=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
                }&lt;br /&gt;
                pair_it_res( 38+dn+rr, 37+dn, -1, iChain, iChain)&lt;br /&gt;
echo 2=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
                &lt;br /&gt;
                var aO3 = get_atom_rcn(38+dn+rr, iChain, &amp;quot;O3\'&amp;quot;)&lt;br /&gt;
                aP = get_atom_rcn(39+dn+rr, iChain, &amp;quot;P&amp;quot;)&lt;br /&gt;
                var aRot = get_atom_rcn(37+dn, iChain, &amp;quot;P&amp;quot;)&lt;br /&gt;
                fix_p_res(39+dn+rr, iChain, true)&lt;br /&gt;
                select {(resno=@{38+dn+rr}) or (resno=@{37+dn})}&lt;br /&gt;
                for (var i = 0; i &amp;lt; 2; i++) {        &lt;br /&gt;
                    pivot_to_close_atoms( aO3, aP, aRot, 1.74)&lt;br /&gt;
                    fix_p_res(39+dn+rr, iChain, true)&lt;br /&gt;
                }&lt;br /&gt;
                fix_all_nt_collisions(iChain)&lt;br /&gt;
echo 3=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
                &lt;br /&gt;
                # Gen variable loop&lt;br /&gt;
                gen_variable_loop(nSeq, rr, dn, iChain) # CALL&lt;br /&gt;
            }&lt;br /&gt;
            &lt;br /&gt;
            # Fix new collisions                &lt;br /&gt;
echo 4=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
            fix_all_nt_collisions(iChain)&lt;br /&gt;
            /*&lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            for (var i = 1; i &amp;lt; {chain=iChain}.resno.max; i++) {&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Minimizing collisions NT&amp;quot; + i&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                #minimize_for_collision(i, iChain)&lt;br /&gt;
            }&lt;br /&gt;
            for (var i = 1; i &amp;lt; {chain=iChain}.resno.max; i++) {&lt;br /&gt;
                gEcho = &amp;quot;aligning tRNA... Repairing backbone NT&amp;quot; + i&lt;br /&gt;
                echo @{gEcho}&lt;br /&gt;
                #fix_p_res(i, iChain, true)&lt;br /&gt;
            }&lt;br /&gt;
            */&lt;br /&gt;
cc&lt;br /&gt;
echo cc=t&lt;br /&gt;
if (x1) throw context t            &lt;br /&gt;
            &lt;br /&gt;
            select all&lt;br /&gt;
            color jmol       &lt;br /&gt;
            &lt;br /&gt;
            set echo TOP LEFT&lt;br /&gt;
            background ECHO yellow&lt;br /&gt;
            gEcho = &amp;quot;tRNA aligned...&amp;quot;&lt;br /&gt;
            echo @{gEcho}&lt;br /&gt;
        }&lt;br /&gt;
        else {&lt;br /&gt;
            throw &amp;quot;string is too short (&amp;lt;68)&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    catch(e) {&lt;br /&gt;
        set echo TOP LEFT&lt;br /&gt;
        echo @{format(&amp;quot;%s Unable to process... %s&amp;quot;, e, thrown_value)}&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function gen_variable_loop(nSeq, rr, dn, iChain) {&lt;br /&gt;
    var seq = &amp;quot;RS&amp;quot; + (nSeq[38+dn][37+dn+rr])&lt;br /&gt;
    gAppendNew = appendNew&lt;br /&gt;
    set appendNew false&lt;br /&gt;
    &lt;br /&gt;
    # Gen the loop at the origin&lt;br /&gt;
    for (var i = 0; i &amp;lt; rr; i++) {&lt;br /&gt;
    &lt;br /&gt;
        # Add and stack 5' res&lt;br /&gt;
        set echo TOP LEFT&lt;br /&gt;
        gEcho = &amp;quot;aligning tRNA... Adding &amp;quot; + nSeq[38+dn+i] + (38+dn+i)&lt;br /&gt;
        echo @{gEcho}&lt;br /&gt;
        gA = &amp;quot;data \&amp;quot;append nt\&amp;quot;\n&amp;quot;&lt;br /&gt;
        gA += gen_nt(38+dn+i, nSeq[38+dn+i], true, false); # CALL&lt;br /&gt;
        gA += &amp;quot;end \&amp;quot;append nt\&amp;quot;&amp;quot;&lt;br /&gt;
        script inline @{gA}&lt;br /&gt;
        refresh&lt;br /&gt;
        to_ab_nt_res(38+dn+i, -1, iChain, true)&lt;br /&gt;
        base_stack_res(38+dn+i, 37+dn+i, iChain, iChain, 4.8, 23.7, true)&lt;br /&gt;
        connect_res_nt( 37+dn+i, 38+dn+i, iChain, false)&lt;br /&gt;
        fix_p_res(37+dn+i, iChain, true)&lt;br /&gt;
        fix_p_res(38+dn+i, iChain, true)&lt;br /&gt;
    } # endfor +rr res&lt;br /&gt;
    &lt;br /&gt;
    # Pair up the loop&lt;br /&gt;
    set echo TOP LEFT&lt;br /&gt;
    gEcho = &amp;quot;aligning tRNA... Form variable stem-loop&amp;quot;&lt;br /&gt;
    echo @{gEcho}&lt;br /&gt;
    for (var i = 0; i &amp;lt; rr\2; i++) {&lt;br /&gt;
        pair_it_res(37+dn+rr-i, 38+dn+i, -1, iChain, iChain)&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    # Make a tetra loop&lt;br /&gt;
    # If PYR&lt;br /&gt;
    if ((nSeq[36+dn+(rr/2)] = &amp;quot;U&amp;quot;) or (nSeq[36+dn+(rr/2)] = &amp;quot;C&amp;quot;)) {&lt;br /&gt;
        #echo make uncg fold&lt;br /&gt;
        make_uncg_loop(36+dn+(rr/2), 37+dn, iChain)&lt;br /&gt;
    }&lt;br /&gt;
    # else &lt;br /&gt;
    else {&lt;br /&gt;
        #echo make gnra fold&lt;br /&gt;
        make_gnra_loop(36+dn+(rr/2), 37+dn, iChain)&lt;br /&gt;
    }&lt;br /&gt;
    for (var i = 0; i &amp;lt; rr\2; i++) {&lt;br /&gt;
        if (eval_pairing( nseq, 38+dn+i, 37+dn+rr-1, 1) &amp;gt; 0) {&lt;br /&gt;
            pair_it_res(38+dn+i, 37+dn+rr-i, -1, iChain, iChain)&lt;br /&gt;
        }&lt;br /&gt;
        else {&lt;br /&gt;
            break&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    fix_p_res_range(37+dn, 36+dn+rr, iChain, true) &lt;br /&gt;
    for (var i = 0; i &amp;lt; 5; i++) {&lt;br /&gt;
        minimize_for_collision(35+dn+(rr\2)+i, iChain)&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    # Connect loop&lt;br /&gt;
    connect_res_nt( 37+dn, 38+dn, iChain, false)&lt;br /&gt;
    connect_res_nt( 37+dn+rr, 38+dn+rr, iChain, false)&lt;br /&gt;
&lt;br /&gt;
    appendNew = gAppendNew&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function make_var_loop_base( r5, iChain) {&lt;br /&gt;
    var vs = [5.35, 108.6, 97.7, 95.5, -54.2, 24.2, -38.9, -8.4]&lt;br /&gt;
    position_nt_by_vs(r5-1, r5-2, r5, vs, iChain, iChain)&lt;br /&gt;
    &lt;br /&gt;
    vs = [10.36, 61.7, 72.5, 64.7, -40.8, 62.4, -8.4, -19.3]&lt;br /&gt;
    position_nt_by_vs(r5, r5-1, r5+1, vs, iChain, iChain)&lt;br /&gt;
    &lt;br /&gt;
    fix_p_res(r5, iChain, true)&lt;br /&gt;
    fix_p_res(r5+1, iChain, true)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# end fold_trna.spt&lt;/div&gt;</summary>
		<author><name>Remig</name></author>
		
	</entry>
</feed>