<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Fine_tuning_UNTRAP</id>
	<title>Fine tuning UNTRAP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Fine_tuning_UNTRAP"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Fine_tuning_UNTRAP&amp;action=history"/>
	<updated>2026-04-12T04:40:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Fine_tuning_UNTRAP&amp;diff=1200&amp;oldid=prev</id>
		<title>Adk44: Created page with &quot;When you&#039;re optimising a path using &#039;&#039;SHORTCUT&#039;&#039; and &#039;&#039;SHORTCUT BARRIER&#039;&#039;, you often add many minima to the database, some of which will not be well connected. These minima ma...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Fine_tuning_UNTRAP&amp;diff=1200&amp;oldid=prev"/>
		<updated>2019-05-13T09:17:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;When you&amp;#039;re optimising a path using &amp;#039;&amp;#039;SHORTCUT&amp;#039;&amp;#039; and &amp;#039;&amp;#039;SHORTCUT BARRIER&amp;#039;&amp;#039;, you often add many minima to the database, some of which will not be well connected. These minima ma...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When you&amp;#039;re optimising a path using &amp;#039;&amp;#039;SHORTCUT&amp;#039;&amp;#039; and &amp;#039;&amp;#039;SHORTCUT BARRIER&amp;#039;&amp;#039;, you often add many minima to the database, some of which will not be well connected. These minima may be of low energy, but with a high barrier connecting them to the rest of the tree. Such minima act as kinetic traps and as such, can severely affect the rate calculated using PATHSAMPLE.&lt;br /&gt;
&lt;br /&gt;
Some of these traps may be real, but a lot will not, and the high barrier is simply the result of a lack of sampling. The &amp;#039;&amp;#039;UNTRAP&amp;#039;&amp;#039; keyword is designed to focus [[PATHSAMPLE]] reconnections on these minima, and hopefully find lower energy pathways to reconnect them to the rest of the database.&lt;br /&gt;
&lt;br /&gt;
== Fine tuning parameters for UNTRAP ==&lt;br /&gt;
&lt;br /&gt;
When using &amp;#039;&amp;#039;UNTRAP&amp;#039;&amp;#039;, you can use more than the minimal arguements. From the [http://www-wales.ch.cam.ac.uk/PATHSAMPLE.2.1.doc/node5.html documentation]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UNTRAP einc thresh edeltamin elowbar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only the first two arguments are required (einc and thresh). However, you may find that &amp;#039;&amp;#039;UNTRAP&amp;#039;&amp;#039; is not picking pairs of minima efficiently. You can tweak the algorithm using the last two arguments recently implemented by Vanessa.&lt;br /&gt;
&lt;br /&gt;
===edeltamin===&lt;br /&gt;
The optional arguments edeltamin and elowbar are useful for databases without a well-defined global minimum. If the potential energy difference between the minimum in question and the lowest product minimum is less than edeltamin, the value of edeltamin is substituted for this difference. This substitution prevents connection attempts to minima connected by low barriers but with a very small energy difference to the lowest product minimum.&lt;br /&gt;
&lt;br /&gt;
===elowbar===&lt;br /&gt;
If the barrier from the minimum in question to the lowest product minimum is less than elowbar, a value of TINY(1.0D0) is given to the barrier instead. This substitution prevents connection attempts to minima connected by low barriers.&lt;br /&gt;
&lt;br /&gt;
== Choosing values by visualising the effect==&lt;br /&gt;
&lt;br /&gt;
Unless you have a very small database, the only way to check that your changes to &amp;#039;&amp;#039;UNTRAP&amp;#039;&amp;#039; are achieving what you&amp;#039;re aiming for is to label the pairs of minima being selected by [[PATHSAMPLE]] on a disconnectivity graph. You can use the visualise_UNTRAP.sh script to do this. It can be found in the svn repository here:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SCRIPTS/PATHSAMPLE/visualise_UNTRAP.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The workflow for calibrating these values is as follows:&lt;br /&gt;
&lt;br /&gt;
# Choose initial values by examining the disconnectivity graph for your system.&lt;br /&gt;
# Run [[PATHSAMPLE]] using the &amp;#039;&amp;#039;DUMMYRUN&amp;#039;&amp;#039; keyword, and kill it as soon as you see &amp;#039;getupair&amp;gt; connecting minima&amp;#039; in the output.&lt;br /&gt;
# Run the &amp;#039;&amp;#039;visualise_UNTRAP.sh&amp;#039;&amp;#039; script, specifying the [[PATHSAMPLE]] output file, and the number of pairs of minima you&amp;#039;d like to label.&lt;br /&gt;
# Run &amp;#039;&amp;#039;disconnectionDPS&amp;#039;&amp;#039; to generate a disconnectivity graph.&lt;br /&gt;
# Visualise it using &amp;#039;&amp;#039;gv&amp;#039;&amp;#039; to see if &amp;#039;&amp;#039;UNTRAP&amp;#039;&amp;#039; is choosing the right minima.&lt;br /&gt;
# If it is, remove &amp;#039;&amp;#039;DUMMYRUN&amp;#039;&amp;#039; and submit the real job. Otherwise play with the values of &amp;#039;&amp;#039;edeltamin&amp;#039;&amp;#039; and &amp;#039;&amp;#039;elowbar&amp;#039;&amp;#039; and repeat.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;visualise_UNTRAP.sh&amp;#039;&amp;#039; script simply adds &amp;#039;&amp;#039;IDMIN&amp;#039;&amp;#039; lines to your existing &amp;#039;&amp;#039;dinfo&amp;#039;&amp;#039; for each minimum being connected.&lt;br /&gt;
&lt;br /&gt;
[[Image:UNTRAPexample.png|thumb|Disconnectivity graph with pairs of minima highlighted|200px|right]] &lt;br /&gt;
&lt;br /&gt;
This was produced using CHARMM19 with the following &amp;#039;&amp;#039;pathdata&amp;#039;&amp;#039; file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  EXEC /home/csw34/svn/OPTIM/bin/pgi/COPTIM&lt;br /&gt;
  TEMPERATURE 0.592&lt;br /&gt;
  CHARMM&lt;br /&gt;
  NATOMS       147&lt;br /&gt;
  ITOL        1.0D0&lt;br /&gt;
  GEOMDIFFTOL 0.1&lt;br /&gt;
  EDIFFTOL    1.0D-6&lt;br /&gt;
  PERMDIST&lt;br /&gt;
  DIRECTION AB&lt;br /&gt;
  COPYFILES perm.allow input.crd&lt;br /&gt;
  PLANCK 9.536D-14&lt;br /&gt;
&lt;br /&gt;
DUMMYRUN&lt;br /&gt;
SSH&lt;br /&gt;
CPUS 1&lt;br /&gt;
CYCLES 100&lt;br /&gt;
UNTRAP 2.0 65.0 1.0D-6 10.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adk44</name></author>
	</entry>
</feed>