<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pmflib.ncbr.muni.cz/wiki6/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xstepan3</id>
	<title>PMFLib Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pmflib.ncbr.muni.cz/wiki6/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xstepan3"/>
	<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php/Special:Contributions/Xstepan3"/>
	<updated>2026-10-11T07:14:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=STM:Collective_variables&amp;diff=277</id>
		<title>STM:Collective variables</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=STM:Collective_variables&amp;diff=277"/>
		<updated>2016-04-19T13:58:07Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[String Method]] / [[STM:Collective variables]]&lt;br /&gt;
----&lt;br /&gt;
__NOEDITSECTION__ __NOTOC__&lt;br /&gt;
Each collective variable used in the string method simulation is provided in a separate section [CV]. All these sections are included either in the special group if the collective variables are provided in the main control file or in the {MAIN} group of separate file. The name of the group or the file name is controlled be the fstmdef option provided in the [[General setup|[file]]] section.&lt;br /&gt;
&lt;br /&gt;
==[CV]==&lt;br /&gt;
{| style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
| style=&amp;quot;width: 10em;&amp;quot; | &#039;&#039;&#039;Key&#039;&#039;&#039; &lt;br /&gt;
| style=&amp;quot;width: 10em;&amp;quot; | &#039;&#039;&#039;Default value&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;width: 5em;&amp;quot; | &#039;&#039;&#039;Type&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #f6f6f6;&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;name&#039;&#039;&#039;&lt;br /&gt;
| &lt;br /&gt;
| [[Control key types|string]]&lt;br /&gt;
| The name of collective variable from the list of general collective variables. For details, see: [[ Collective Variables]]. The CV cannot be a member of [[managed path]].&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;force_constant&#039;&#039;&#039;&lt;br /&gt;
| &lt;br /&gt;
| [[Control key types|real]]&lt;br /&gt;
| The force constant that will be used to fix the collective variable.&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;Keys in bold are mandatory.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Collective variables must be provided in the same order in which they are defined on the string server!&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=276</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=276"/>
		<updated>2016-04-19T12:39:51Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
The command line arguments largely have the same meaning as they do for the one dimensional [[ rst-wham ]] program.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px (Py)&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The periodicity arguments are not optional.&lt;br /&gt;
&amp;quot;Px&amp;quot; by itself indicates that the first dimension of the reaction coordinate has a period of 360. &amp;quot;Px=0&amp;quot; turns off periodicity. &amp;quot;Px=pi&amp;quot; specifies a period of 2*pi, and &amp;quot;Px=val&amp;quot; allows you to choose an arbitrary value for the period.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;behave exactly like hist_min, hist_max, and num_bins do in the 1 dimensional program. Py, hist_min_y, etc., behave the same as Px, hist_min_x, etc., except they control the second coordinate of the PMF.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;use_mask&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;expects an integer value, and if its values is non-zero turns on the automasking feature, which causes bins for which there is no sample data to be excluded from the wham calculation.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;As with regular 1 dimensional wham, each line of the metadata file should either be blank, begin with a &amp;quot;#&amp;quot;, or have the following format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file loc_win_x loc_win_y spring_x spring_y [correl time] [temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files. loc_win_x and loc_win_y are the locations of the minimum of the biasing terms in the first and second dimensions of the reaction coordinate. spring_x and spring_y are the spring constants used for the biasing potential in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}(k_x (x-x_0)^2 + k_y(y-y_0)^2 )&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sixth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last field is the temperature this simulation was run at. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain three columns, where the first is the time (which isn&#039;t actually used), and the second and third are the position of the system along the x and y reaction coordinates, respectively. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
&lt;br /&gt;
If the simulation temperature is specified, there must be a fourth column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. See the section on replica exchange for more details. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The output largely resembles that for wham, except with more columns. The first line echoes the command line, followed by a specification of the periodicity, and the number of windows. The iteration lines have the same meaning. When the current value for the PMF is dumped, the format looks like&lt;br /&gt;
&lt;br /&gt;
 -172.500000     -172.500000     1.968750        15.394489&lt;br /&gt;
 -172.500000     -157.500000     2.574512        5.522757&lt;br /&gt;
 -172.500000     -142.500000     3.147538        2.094142&lt;br /&gt;
 -172.500000     -127.500000     3.505869        1.141952&lt;br /&gt;
&lt;br /&gt;
where the first two columns are the values of the first and second dimensions of the reaction coordinate, the third column is the PMF, and the last column is the unnormalized probability.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 #0       -0.000004&lt;br /&gt;
 #1       -0.156869&lt;br /&gt;
 #2       -0.534845&lt;br /&gt;
 #3       -2.445469 &lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 -232.500000     -232.500000     4.812986        0.003185        0.000001        0.000000&lt;br /&gt;
 -232.500000     -217.500000     4.830312        0.003741        0.000001        0.000000&lt;br /&gt;
 -232.500000     -202.500000     4.898622        0.001009        0.000000        0.000000&lt;br /&gt;
&lt;br /&gt;
The first two columns are the locations along the first and second dimensions of the reaction coordinate. The third is the free energy, while the fourth is the statistical uncertainty in the free energy. The fifth and sixth columns are the normalized probability and its statistical uncertainty. The two uncertainty columns will be zero if you did not use Monte Carlo bootstrapping. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=275</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=275"/>
		<updated>2016-04-19T12:04:36Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
The command line arguments largely have the same meaning as they do for the one dimensional [ rst-wham ] program.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px (Py)&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The periodicity arguments are not optional.&lt;br /&gt;
&amp;quot;Px&amp;quot; by itself indicates that the first dimension of the reaction coordinate has a period of 360. &amp;quot;Px=0&amp;quot; turns off periodicity. &amp;quot;Px=pi&amp;quot; specifies a period of 2*pi, and &amp;quot;Px=val&amp;quot; allows you to choose an arbitrary value for the period.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;behave exactly like hist_min, hist_max, and num_bins do in the 1 dimensional program. Py, hist_min_y, etc., behave the same as Px, hist_min_x, etc., except they control the second coordinate of the PMF.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;use_mask&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;expects an integer value, and if its values is non-zero turns on the automasking feature, which causes bins for which there is no sample data to be excluded from the wham calculation.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=274</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=274"/>
		<updated>2016-04-19T12:04:19Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
The command line arguments largely have the same meaning as they do for the one dimensional [rst-wham] program.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px (Py)&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The periodicity arguments are not optional.&lt;br /&gt;
&amp;quot;Px&amp;quot; by itself indicates that the first dimension of the reaction coordinate has a period of 360. &amp;quot;Px=0&amp;quot; turns off periodicity. &amp;quot;Px=pi&amp;quot; specifies a period of 2*pi, and &amp;quot;Px=val&amp;quot; allows you to choose an arbitrary value for the period.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;behave exactly like hist_min, hist_max, and num_bins do in the 1 dimensional program. Py, hist_min_y, etc., behave the same as Px, hist_min_x, etc., except they control the second coordinate of the PMF.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;use_mask&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;expects an integer value, and if its values is non-zero turns on the automasking feature, which causes bins for which there is no sample data to be excluded from the wham calculation.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=273</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=273"/>
		<updated>2016-04-19T12:03:53Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
The command line arguments largely have the same meaning as they do for the one dimensional wham program.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px (Py)&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The periodicity arguments are not optional.&lt;br /&gt;
&amp;quot;Px&amp;quot; by itself indicates that the first dimension of the reaction coordinate has a period of 360. &amp;quot;Px=0&amp;quot; turns off periodicity. &amp;quot;Px=pi&amp;quot; specifies a period of 2*pi, and &amp;quot;Px=val&amp;quot; allows you to choose an arbitrary value for the period.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;behave exactly like hist_min, hist_max, and num_bins do in the 1 dimensional program. Py, hist_min_y, etc., behave the same as Px, hist_min_x, etc., except they control the second coordinate of the PMF.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;use_mask&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;expects an integer value, and if its values is non-zero turns on the automasking feature, which causes bins for which there is no sample data to be excluded from the wham calculation.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=272</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=272"/>
		<updated>2016-04-19T11:58:10Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=271</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=271"/>
		<updated>2016-04-19T11:57:30Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&lt;br /&gt;
&lt;br /&gt;
tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=270</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=270"/>
		<updated>2016-04-19T11:50:28Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham-2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham-2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-wham-2d&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Px&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_x hist_max_x num_bins_x&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;Py&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[=0|pi|val]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min_y hist_max_y num_bins_y&lt;br /&gt;
tol temperature numpad metadatafile freefile usemask&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=269</id>
		<title>Rst-wham-2d</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham-2d&amp;diff=269"/>
		<updated>2016-04-19T11:45:03Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: Created page with &amp;quot;Navigation: Documentation / Methods / Restrained Dynamics / RST:Utilities / rst-wham2d ---- {{RSTUtils}} &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;  rst-wham2d  &amp;#039;&amp;#039;&amp;#039;Synopsis&amp;#039;&amp;#039;&amp;#039;  &amp;lt;span styl...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham2d]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham2d&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=268</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=268"/>
		<updated>2016-04-19T11:44:16Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
 -178.000000     0.014212        4909.138943&lt;br /&gt;
 -174.000000     0.062631        4525.390035&lt;br /&gt;
 -170.000000     0.227076        3432.434076&lt;br /&gt;
 -166.000000     0.494262        2190.487110&lt;br /&gt;
 -162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
 # Dumping simulation biases, in the metadata file order &lt;br /&gt;
 # Window  F (free energy units)&lt;br /&gt;
 # 0     0.000004&lt;br /&gt;
 # 1     -4.166136&lt;br /&gt;
 # 2     -3.241052&lt;br /&gt;
 # 3     -4.475215&lt;br /&gt;
 # 4     -6.324340&lt;br /&gt;
 # 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
 #MC trial 0: 990 iterations&lt;br /&gt;
 #MC trial 1: 973 iterations&lt;br /&gt;
 #MC trial 2: 970 iterations&lt;br /&gt;
 #MC trial 3: 981 iterations&lt;br /&gt;
 #MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
 #Coor           Free            +/-             Prob            +/-&lt;br /&gt;
 -178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
 -174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
 -170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
 -166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=267</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=267"/>
		<updated>2016-04-19T11:43:29Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
 #Iteration 10:  0.106019&lt;br /&gt;
 #Iteration 20:  0.062269&lt;br /&gt;
 #Iteration 30:  0.039890&lt;br /&gt;
 #Iteration 40:  0.027003&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
-178.000000     0.014212        4909.138943&lt;br /&gt;
-174.000000     0.062631        4525.390035&lt;br /&gt;
-170.000000     0.227076        3432.434076&lt;br /&gt;
-166.000000     0.494262        2190.487110&lt;br /&gt;
-162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
# Dumping simulation biases, in the metadata file order &lt;br /&gt;
# Window  F (free energy units)&lt;br /&gt;
# 0     0.000004&lt;br /&gt;
# 1     -4.166136&lt;br /&gt;
# 2     -3.241052&lt;br /&gt;
# 3     -4.475215&lt;br /&gt;
# 4     -6.324340&lt;br /&gt;
# 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
#MC trial 0: 990 iterations&lt;br /&gt;
#MC trial 1: 973 iterations&lt;br /&gt;
#MC trial 2: 970 iterations&lt;br /&gt;
#MC trial 3: 981 iterations&lt;br /&gt;
#MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
#Coor           Free            +/-             Prob            +/-&lt;br /&gt;
-178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
-174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
-170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
-166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=266</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=266"/>
		<updated>2016-04-19T11:41:05Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;freefile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
The first line of the output file contains echoes command line. The next line or two contain comments describing the periodicity used and the number of simulation windows present. While the calculation is running, it will print out lines that look like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#Iteration 10:  0.106019&lt;br /&gt;
#Iteration 20:  0.062269&lt;br /&gt;
#Iteration 30:  0.039890&lt;br /&gt;
#Iteration 40:  0.027003&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This specifies the current iteration number, and the average change in the F values for the current iteration. This number is not used for deciding when the calculation has converged; rather, the maximum change, as opposed to the average, is used.&lt;br /&gt;
Every 100 iterations, the current version of the PMF is dumped into the output file. These lines look like&lt;br /&gt;
&lt;br /&gt;
-178.000000     0.014212        4909.138943&lt;br /&gt;
-174.000000     0.062631        4525.390035&lt;br /&gt;
-170.000000     0.227076        3432.434076&lt;br /&gt;
-166.000000     0.494262        2190.487110&lt;br /&gt;
-162.000000     0.817734        1271.708620&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the value of the PMF, and the third is the unnormalized probability distribution.&lt;br /&gt;
Once the calculation has converged, wham will produce output resembling&lt;br /&gt;
&lt;br /&gt;
# Dumping simulation biases, in the metadata file order &lt;br /&gt;
# Window  F (free energy units)&lt;br /&gt;
# 0     0.000004&lt;br /&gt;
# 1     -4.166136&lt;br /&gt;
# 2     -3.241052&lt;br /&gt;
# 3     -4.475215&lt;br /&gt;
# 4     -6.324340&lt;br /&gt;
# 5     -7.128731&lt;br /&gt;
&lt;br /&gt;
These are the final F values from the wham calculation, and can be used for computing weighted averages for properties other than the free energy.&lt;br /&gt;
You may have noticed that all of the lines except the free energies are preceded by &amp;quot;#&amp;quot;. This allows you to check convergence of your wham calculation by simply plotting the output file in gnuplot. If the free energy curves have stopped changing, your tolerance is small enough.&lt;br /&gt;
If you specified a nonzero number of Monte Carlo bootstrap error analysis trials, you will see lines that resemble&lt;br /&gt;
&lt;br /&gt;
#MC trial 0: 990 iterations&lt;br /&gt;
#MC trial 1: 973 iterations&lt;br /&gt;
#MC trial 2: 970 iterations&lt;br /&gt;
#MC trial 3: 981 iterations&lt;br /&gt;
#MC trial 4: 984 iterations&lt;br /&gt;
&lt;br /&gt;
at the end of the file.&lt;br /&gt;
The free energy data file is written when the calculation converges, and resembles:&lt;br /&gt;
&lt;br /&gt;
#Coor           Free            +/-             Prob            +/-&lt;br /&gt;
-178.000000     0.014386        0.000098        0.106389        0.000017&lt;br /&gt;
-174.000000     0.068560        0.000151        0.097128        0.000025&lt;br /&gt;
-170.000000     0.250825        0.000350        0.071496        0.000042&lt;br /&gt;
-166.000000     0.523786        0.000294        0.045186        0.000022&lt;br /&gt;
&lt;br /&gt;
The first column is the value of the reaction coordinate, the second is the free energy. The third is the statistical uncertainty of the free energy (which is only meaningful if you performed Monte Carlo bootstrapping). The fourth and fifth columns are the probability and it&#039;s associated statistical uncertainty. Again, the latter is only meaningful if bootstrapping is performed. See section for further discussion of error estimation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=265</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=265"/>
		<updated>2016-04-19T11:30:20Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=264</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=264"/>
		<updated>2016-04-19T11:29:58Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These programs (wham and wham-2d) implement the [ http://membrane.urmc.rochester.edu/sites/default/files/wham/doc.html Weighted Histogram Analysis Method of Kumar, et al ] (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=263</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=263"/>
		<updated>2016-04-19T11:27:18Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad^2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=262</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=262"/>
		<updated>2016-04-19T11:24:45Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=261</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=261"/>
		<updated>2016-04-19T11:24:21Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=260</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=260"/>
		<updated>2016-04-19T11:23:52Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= \frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=259</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=259"/>
		<updated>2016-04-19T11:23:15Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; V= frac{1}{2}k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=258</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=258"/>
		<updated>2016-04-19T11:22:10Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; V= 1/2k (x-x_0)^2  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=257</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=257"/>
		<updated>2016-04-19T11:04:40Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 0px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=256</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=256"/>
		<updated>2016-04-19T11:03:51Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=255</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=255"/>
		<updated>2016-04-19T11:03:18Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
:Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=254</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=254"/>
		<updated>2016-04-19T11:02:48Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=253</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=253"/>
		<updated>2016-04-19T11:02:04Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Outdent|:}}This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
{{Outdent|:}}Many simulation packages, including TINKER, AMBER, and CHARMM, do not include the [1/2] when they specify spring constants for their restraint terms. This is a common source of error (I&#039;d love to change my code to match the other packages&#039; behavior, but then experienced users who don&#039;t read the manual would get messed up). Also, the units for the spring constant must match those for the time series. So, if your time series is a distance recorded in Ångstroms, the spring constant must be in kcal/mol-Å2. AMBER users should take care when using angular restraints: the specification and output of angles is in degrees, but AMBER&#039;s spring constants use kcal/mol-rad2.&lt;br /&gt;
&lt;br /&gt;
The fourth argument (&amp;quot;correl time&amp;quot;) specifies the decorrelation time for your time series, in units of time steps. It is only used when generating fake data sets for Monte Carlo bootstrap error analysis, where it modulates the number of points per fake data set. This argument is optional, and is ignored if you don&#039;t do error analysis. If you&#039;re doing multiple temperatures but not bootstrapping, set it to any integer value as a placeholder, and it&#039;ll be ignored. See section for more discussion about how to do bootstrapping.&lt;br /&gt;
&lt;br /&gt;
Finally, the last (optional) field is the temperature for this simulation. If not supplied, the temperature specified on the command line is used. In the present version of the code, you must either leave the temperature unspecified for all simulations or specify it for all simulations.&lt;br /&gt;
&lt;br /&gt;
The time series files must follow one of two formats, depending on whether the temperature was specified in the metadata file. If no temperature was specified, the file should contain two columns, where the first is the time (which isn&#039;t actually used), and the second is the position of the system along the reaction coordinate. Both numbers should be in floating point format. Lines beginning with &amp;quot;#&amp;quot; are ignored as comments. Additional columns of data are ignored.&lt;br /&gt;
If the simulation temperature is specified, there must be a third column of data, containing the system&#039;s potential energy at that time point. It should be a floating point value. &lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=252</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=252"/>
		<updated>2016-04-19T11:00:13Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=251</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=251"/>
		<updated>2016-04-19T10:58:46Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
|&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
|This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=250</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=250"/>
		<updated>2016-04-19T10:57:47Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;metadata&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Each line of the metadata file should be blank, begin with a &amp;quot;#&amp;quot; (marking a comment), or have the following format:&lt;br /&gt;
&amp;lt;code&amp;gt;/path/to/timeseries/file    loc_win_min   spring   [correl time] [temperature]&amp;lt;/code&amp;gt;&lt;br /&gt;
This first field is the name of one of the time series files (more on this in a moment). The second field, loc_win_min, is the location of the minimum of the biasing potential for this simulation, a floating point number. The third field, spring, is the spring constant for the biasing potential used in this simulation, assuming the biasing potential is of the format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=249</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=249"/>
		<updated>2016-04-19T10:55:01Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;P|Ppi|Pval&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;File formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=248</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=248"/>
		<updated>2016-04-19T10:52:37Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[P|Ppi|Pval]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;tol&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;tol is the convergence tolerance for the WHAM calculations. Specifically, the WHAM iteration is considered to be converged when no Fi value for any simulation window changes by more than tol on consecutive iterations. As the program runs, it prints the average change in the F values for the most recent iteration. Obviously, this number will be smaller than tol before the computation converges, because convergence is triggered by the largest change as opposed to the average.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;temperature&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;temperature is a floating point number representing the temperature in Kelvin at which the weighted histogram calculation is performed. This does not have to be the temperature at which the simulations were performed (see below for discussion). &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;numpad&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;numpad specifies the number of &amp;quot;padding&amp;quot; values that should be printed for periodic PMFs. This number should be set to 0 for aperiodic reaction coordinates. It doesn&#039;t actually affect the calculation in any way. Rather, it just alters the final printout of the free energy, to make plotting of periodic reaction coordinates simpler. This is more important for wham-2d than wham.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;metadatafile&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;metadatafile specifies the name of the metadata file. The format of this file is described below.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;freefile &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;freefile is the name used for the file containing the final PMF and probability distribution.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_MC_trials randSeed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;num_MC_trials and randSeed (Optional) are both related to the performance of Monte Carlo bootstrap error analysis. If these values are not supplied, error analysis is not performed. num_MC_trials should be an integer specifying the number of fake data sets which should be generated. randSeed is an integer which controls the random number seed - the value you pick should be irrelevant, but I let the user set it primarily for debugging purposes.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=247</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=247"/>
		<updated>2016-04-19T10:46:08Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[P|Ppi|Pval]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;The first (optional) argument specifies the periodicity of the reaction coordinate. For a nonperiodic reaction coordinate (a distance, for example), it should be left out. &amp;quot;P&amp;quot; means that the reaction coordinate has a periodicity of 360, appropriate for angles. &amp;quot;Ppi&amp;quot; specifies a periodicity of 2*pi, appropriate for angles measured in radians. &amp;quot;Pval&amp;quot; specifies periodicty of some arbitrary amount, val, which should be an integer or floating point number. For example, &amp;quot;P180.0&amp;quot; would be appropriate for an angle with twofold symmetry.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=246</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=246"/>
		<updated>2016-04-18T13:00:47Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;wham&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[P|Ppi|Pval] &amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max num_bins tol temperature numpad metadatafile freefile &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[num_MC_trials randSeed] &amp;lt;/span&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
These programs (wham and wham-2d) implement the Weighted Histogram Analysis Method of Kumar, et al (&amp;quot;Multidimensional free-energy calculations using the weighted histogram analysis method&amp;quot;, J. Comput. Chem., 16:1339-1350, 1995). The code generally follows the notation used by Benoit Roux (&amp;quot;The calculation of the potential of mean force using computer simulations&amp;quot;, Comput. Phys. Comm., 91:275-282, 1995). Consult these papers for the theoretical background and justification for the method. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;hist_min hist_max&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specify the boundaries of the histogram. As a rule, all data points outside the range (hist_min, hist_max) are silently ignored. The only exception is that if an entire trajectory is outside the range, the program halts with an error message. The solution is to remove that file from the metadata file. hist_min and hist_max should be floating point numbers. &amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;num_bins&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Specifies the number of bins in the histogram, and as a result the number of points in the final PMF. It should be an integer.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=245</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=245"/>
		<updated>2016-04-18T12:51:54Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&lt;br /&gt;
wham [P|Ppi|Pval] hist_min hist_max num_bins tol temperature numpad metadatafile freefile [num_MC_trials randSeed]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-admin&amp;diff=244</id>
		<title>Abf-admin</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-admin&amp;diff=244"/>
		<updated>2016-04-18T12:45:25Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-admin]]&lt;br /&gt;
----&lt;br /&gt;
{{ABFUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
abf-admin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;abf-admin&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;abf://server[:port]/command&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The utility that controls the behaviour and state of the server implementing the multiple walkers extension of the ABF method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;abf://server[:port]/command&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;It provides the action specification. The server is either the DNS name, IP address of the server or word &#039;serverkey&#039;. In the later case the information about the server is read from the server key file. Port number on which the server is listen may be optionally provided. Finally, the command is administration task, which can be one of the following: &lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| info&lt;br /&gt;
| prints information about registered clients&lt;br /&gt;
|-&lt;br /&gt;
| flush&lt;br /&gt;
| save the accumulated ABF data on server side&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| get?file=NAME&lt;br /&gt;
| get the accumulated ABF data and saves them locally to the file with NAME&lt;br /&gt;
|-&lt;br /&gt;
| shutdown&lt;br /&gt;
| stop the server execution&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| errors&lt;br /&gt;
| print errors from the server stack&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-s, --serverkey FILE&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the server key. The server key contains the server name, port, and password. This option is mutually exclusive with &#039;password&#039; option.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-p, --password FILE&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the server magic word. If the pasword is not provided via this option or via the server key then it is read interactively from the keyboard. This option is mutually exclusive with &#039;serverkey&#039; option.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-trajectory&amp;diff=243</id>
		<title>Abf-trajectory</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-trajectory&amp;diff=243"/>
		<updated>2016-04-18T12:41:34Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-trajectory]]&lt;br /&gt;
----&lt;br /&gt;
{{ABFUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
abf-trajectory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;abf-trajectory&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;trjname accuname &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It extracts a single snapshot from the ABF accumulator trajectory.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;trjname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the ABF accumulator trajectory. If the name is &#039;-&#039; then the trajectory is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file where a snapsphot (ABF accumulator) will be printed. If the name is &#039;-&#039; then the output will be written to the standard output.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-s, --snapshot NUMBER&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Index of extracted snapshot (counted from 1).&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 1)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-samples&amp;diff=242</id>
		<title>Abf-samples</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-samples&amp;diff=242"/>
		<updated>2016-04-18T12:40:06Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-samples]]&lt;br /&gt;
----&lt;br /&gt;
{{ABFUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
abf-samples&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;abf-samples&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname sname &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It prints number of samples accumulated during the ABF calculation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the ABF accumulator. If the name is &#039;-&#039; then the accumulator is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;sname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file where the info about samples will be printed. If the name is &#039;-&#039; then the output will be written to the standard output.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-l, --limit NUMBER&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Only bins containing more samples than NUMBER are considered as properly sampled.&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 0)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--nognuplot&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Do not print delimiters between records.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fx FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output FORMAT, which will be used to print values of collective variables.&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %15.7e)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fe FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output FORMAT, which will be used to print samples.&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %d)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-accuinfo&amp;diff=241</id>
		<title>Abf-accuinfo</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-accuinfo&amp;diff=241"/>
		<updated>2016-04-18T12:37:55Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-accuinfo]]&lt;br /&gt;
----&lt;br /&gt;
{{ABFUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
abf-accuinfo&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;abf-accuinfo&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname  &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It prints info about the ABF accumulator file. It lists collective variables and sampled area.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the ABF accumulator. If the name is &#039;-&#039; then the accumulator is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-l, --limit NUMBER&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Only bins containing more samples than NUMBER are considered as properly sampled.&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 100)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-accuinfo&amp;diff=240</id>
		<title>Abf-accuinfo</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Abf-accuinfo&amp;diff=240"/>
		<updated>2016-04-18T12:37:32Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-accuinfo]]&lt;br /&gt;
----&lt;br /&gt;
{{ABFUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
abf-accuinfo&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;abf-accuinfo&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It prints info about the ABF accumulator file. It lists collective variables and sampled area.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the ABF accumulator.  If the name is &#039;-&#039; then the accumulator is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-accuinfo]]&lt;br /&gt;
----&lt;br /&gt;
{{ABFUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
abf-accuinfo&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;abf-accuinfo&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname  &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It prints info about the ABF accumulator file. It lists collective variables and sampled area.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the ABF accumulator. If the name is &#039;-&#039; then the accumulator is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-l, --limit NUMBER&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Only bins containing more samples than NUMBER are considered as properly sampled.&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 100)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=239</id>
		<title>Template:CONUtils</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=239"/>
		<updated>2016-04-18T12:34:36Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; border-style: solid; border-width: 1px; border-color: #aaaaaa; background-color: #f6f6f6; padding: 0px; width: 10em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h1 style=&amp;quot;margin:2px 2px 0px 2px; border: none; background-color: #87cefa; text-align: center; font-size: 1.0em; color: blue; padding: 2px;&amp;quot;&amp;gt;CON Utilities&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 5px; font-size: 0.8em;&amp;quot;&amp;gt;&lt;br /&gt;
* [[pmf-integrate]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Pmf-integrate&amp;diff=238</id>
		<title>Pmf-integrate</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Pmf-integrate&amp;diff=238"/>
		<updated>2016-04-18T12:31:54Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Constrained Dynamics]] / [[CON:Utilities]] / [[pmf-integrate]]&lt;br /&gt;
----&lt;br /&gt;
{{CONUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
pmf-integrate&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;con-integrate&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;input output &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Numerically integrate given data by Simpson method. Program reads three numbers from input file (x coordinate, derivative, and standard deviation of derivative). As output program prints copy of input data plus integrated values and its standard error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;input&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;input data file or - for data taken from standard input&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;output&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output data file or - for data written to standard output&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--offset REAL&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;specifies integration constant&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 0)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-s, --skip LINES&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;number of lines skipped from the beginning of input file&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 0)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-a, --anal LINES&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;number of LINES from input file to be analyzed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: -1)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-p, --pad LINES&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;number of padding LINES between used records from input file&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 0)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--nosigma&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;standard deviation of derivative is not present in input data&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--noheader&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;do not print header to output&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fx FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of echoed x values&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %15.7le)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fy FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of echoed derivative values&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %15.7le)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fs FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of echoed sigma values&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %14.6le)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fi FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of integrated values&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %15.7le)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fe FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of integrated error values&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %14.6le)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;increase output verbosity&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output version information and exit&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;display this help and exit&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Pmf-integrate&amp;diff=237</id>
		<title>Pmf-integrate</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Pmf-integrate&amp;diff=237"/>
		<updated>2016-04-18T12:30:50Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: Created page with &amp;quot;hh&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;hh&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=236</id>
		<title>Template:CONUtils</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=236"/>
		<updated>2016-04-18T12:30:31Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; border-style: solid; border-width: 1px; border-color: #aaaaaa; background-color: #f6f6f6; padding: 0px; width: 10em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h1 style=&amp;quot;margin:2px 2px 0px 2px; border: none; background-color: #87cefa; text-align: center; font-size: 1.0em; color: blue; padding: 2px;&amp;quot;&amp;gt;STM Utilities&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 5px; font-size: 0.8em;&amp;quot;&amp;gt;&lt;br /&gt;
* [[pmf-integrate]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=235</id>
		<title>Template:CONUtils</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=235"/>
		<updated>2016-04-18T12:29:31Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; border-style: solid; border-width: 1px; border-color: #aaaaaa; background-color: #f6f6f6; padding: 0px; width: 10em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h1 style=&amp;quot;margin:2px 2px 0px 2px; border: none; background-color: #87cefa; text-align: center; font-size: 1.0em; color: blue; padding: 2px;&amp;quot;&amp;gt;STM Utilities&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 5px; font-size: 0.8em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=234</id>
		<title>Template:CONUtils</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Template:CONUtils&amp;diff=234"/>
		<updated>2016-04-18T12:28:26Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: Created page with &amp;quot;trgfgfgf&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;trgfgfgf&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=CON:Utilities&amp;diff=233</id>
		<title>CON:Utilities</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=CON:Utilities&amp;diff=233"/>
		<updated>2016-04-18T12:27:14Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Constrained Dynamics]] / [[CON:Utilities]]&lt;br /&gt;
----&lt;br /&gt;
{{CONUtils}}&lt;br /&gt;
The constrained dynamics method is implemented and managed by following utilities: &lt;br /&gt;
* [[pmf-integrate]]&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Mtd-admin&amp;diff=232</id>
		<title>Mtd-admin</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Mtd-admin&amp;diff=232"/>
		<updated>2016-04-18T12:19:14Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Metadynamics]] / [[MTD:Utilities]] / [[mtd-admin]]&lt;br /&gt;
----&lt;br /&gt;
{{MTDUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
mtd-admin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;mtd-admin&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;mtd://server[:port]/command&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The utility that controls the behaviour and state of the server implementing the multiple walkers extension of the metadynamics method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;mtd://server[:port]/command&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;It provides the action specification. The server is either the DNS name or IP address of the server or word &#039;serverkey&#039;. In the later case, the information about the server is read from the server key file. The port number, on which the server is listen, may be optionally provided. Finally, the command is administration task, which can be one of the following:&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|info           || print information about registered clients&lt;br /&gt;
|-&lt;br /&gt;
|flush          || save the accumulated MTD data on the server side&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|get?file=NAME  || get the accumulated MTD data and saves them locally to the file with NAME&lt;br /&gt;
|-&lt;br /&gt;
|shutdown       || stop the server execution&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|errors         || print errors from the server stack&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-s, --serverkey FILE&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the server key. The server key contains the server name, port, and password. This option is mutually exclusive with &#039;password&#039; option.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-p, --password FILE&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the server magic word. If the pasword is not provided via this option or via the server key then it is read interactively from the keyboard. This option is mutually exclusive with &#039;serverkey&#039; option.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Stm-admin&amp;diff=231</id>
		<title>Stm-admin</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Stm-admin&amp;diff=231"/>
		<updated>2016-04-18T12:12:53Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[String Method]] / [[STM:Utilities]] / [[stm-admin]]&lt;br /&gt;
----&lt;br /&gt;
{{STMUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
stm-admin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;stm-admin&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;stm://server[:port]/command&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The utility that controls the behaviour and state of the server implementing the string method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;stm://server[:port]/command&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;It provides the action specification. The server is either the DNS name or IP address of the server or word &#039;serverkey&#039;. In the later case, the information about the server is read from the server key file. The port number, on which the server is listen, may be optionally provided. Finally, the command is administration task, which can be one of the following:&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| info                   || print information about registered clients&lt;br /&gt;
|-&lt;br /&gt;
| flush                  || save the accumulated STM path on the server side&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| get?file=output.path   || get the accumulated STM path and save it locally to the file output.path&lt;br /&gt;
|-&lt;br /&gt;
| shutdown               || stop server execution&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| errors                 || prints errors from the server stack&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-s, --serverkey FILE&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the server key. The server key contains the server name, port, and password. This option is mutually exclusive with &#039;password&#039; option.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-p, --password FILE&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the server magic word. If the pasword is not provided via this option or via the server key then it is read interactively from the keyboard. This option is mutually exclusive with &#039;serverkey&#039; option.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Stm-trajectory&amp;diff=230</id>
		<title>Stm-trajectory</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Stm-trajectory&amp;diff=230"/>
		<updated>2016-04-18T12:09:49Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: Created page with &amp;quot;Navigation: Documentation / Methods / String Method / STM:Utilities / stm-trajectory ---- {{STMUtils}} &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;  stm-trajectory  &amp;#039;&amp;#039;&amp;#039;Synopsis&amp;#039;&amp;#039;&amp;#039;  &amp;lt;span st...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[String Method]] / [[STM:Utilities]] / [[stm-trajectory]]&lt;br /&gt;
----&lt;br /&gt;
{{STMUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
stm-trajectory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;stm-trajectory&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;trjname accuname &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It extracts a single snapshot from the STM trajectory.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;trjname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file containing the STM trajectory. If the name is &#039;-&#039; then the accumulator is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file where a snapsphot (STM results) will be printed. If the name is &#039;-&#039; then the output will be written to the standard output.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-s, --snapshot NUMBER&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Index of extracted snapshot (counted from 0).&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 0)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Increase output verbosity.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Output version information and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Display this help and exit.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=229</id>
		<title>Rst-wham</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-wham&amp;diff=229"/>
		<updated>2016-04-11T13:32:10Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: Created page with &amp;quot;Navigation: Documentation / Methods / Restrained Dynamics / RST:Utilities / rst-wham ---- {{RSTUtils}} &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;  rst-wham  &amp;#039;&amp;#039;&amp;#039;Synopsis&amp;#039;&amp;#039;&amp;#039;  &amp;lt;span style=&amp;quot;c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-wham]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-wham&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
	<entry>
		<id>https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-samples&amp;diff=228</id>
		<title>Rst-samples</title>
		<link rel="alternate" type="text/html" href="https://pmflib.ncbr.muni.cz/wiki6/index.php?title=Rst-samples&amp;diff=228"/>
		<updated>2016-04-11T13:31:45Z</updated>

		<summary type="html">&lt;p&gt;Xstepan3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Navigation: [[Documentation]] / [[Methods]] / [[Restrained Dynamics]] / [[RST:Utilities]] / [[rst-samples]]&lt;br /&gt;
----&lt;br /&gt;
{{RSTUtils}}&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
rst-samples&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Synopsis&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: maroon;&amp;quot;&amp;gt;rst-samples&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;[OPTIONS]&amp;lt;/span&amp;gt; [--] &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname sname &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It prints the number of samples accumulated during RST calculation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 75%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;accuname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;File name of the RST histogram file. If the name is &#039;-&#039; then the accumulator is read from the standard input.&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple;&amp;quot;&amp;gt;sname&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;Name of file where the info about samples will be printed. If the name is &#039;-&#039; then the output will be written to the standard output.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: 2em; width: 95%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-l, --limit LIMIT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;only bins with the number of samples grater than or equal to LIMIT will be printed&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: 0)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--nognuplot&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;do not print delimiters between records&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fx FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of coordinate values&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %15.7le)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--fe FORMAT&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output FORMAT of samples&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;color:purple; margin-left: 30px;&amp;quot;&amp;gt; (Default: %d)&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-v, --verbose&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;increase output verbosity&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; &amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;--version&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;output version information and exit&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;vertical-align: top; background-color: #e6e6e6;&amp;quot;&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;-h, --help&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;margin-left: 30px;&amp;quot;&amp;gt;display this help and exit&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xstepan3</name></author>
	</entry>
</feed>