<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cyana.org/w/index.php?action=history&amp;feed=atom&amp;title=Determination_of_the_protein_number_of_states</id>
	<title>Determination of the protein number of states - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cyana.org/w/index.php?action=history&amp;feed=atom&amp;title=Determination_of_the_protein_number_of_states"/>
	<link rel="alternate" type="text/html" href="https://cyana.org/w/index.php?title=Determination_of_the_protein_number_of_states&amp;action=history"/>
	<updated>2026-05-20T19:33:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://cyana.org/w/index.php?title=Determination_of_the_protein_number_of_states&amp;diff=9845&amp;oldid=prev</id>
		<title>Dima: /* Execution */</title>
		<link rel="alternate" type="text/html" href="https://cyana.org/w/index.php?title=Determination_of_the_protein_number_of_states&amp;diff=9845&amp;oldid=prev"/>
		<updated>2021-09-07T11:32:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Execution&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:32, 7 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l61&quot;&gt;Line 61:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you do not have an access to parallel computation change the line of ANALYSE.cya from&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you do not have an access to parallel computation change the line of ANALYSE.cya from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  system &quot;bsub python &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;~&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Python&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allosteryExtraction&lt;/del&gt;/correlationExtraction.py $dir/splitall.pdb --nstates=$ns --therm_iter=5&quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  system &quot;bsub python &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;PATH&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;To&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PDBcor&#039;&#039;&#039;&lt;/ins&gt;/correlationExtraction.py $dir/splitall.pdb --nstates=$ns --therm_iter=5&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  system &quot;python &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;~&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Python&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allosteryExtraction&lt;/del&gt;/correlationExtraction.py $dir/splitall.pdb --nstates=$ns --therm_iter=5&quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  system &quot;python &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;PATH&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;To&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PDBcor&#039;&#039;&#039;&lt;/ins&gt;/correlationExtraction.py $dir/splitall.pdb --nstates=$ns --therm_iter=5&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then, activate the PDBcor environment and run the correlation analysis:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then, activate the PDBcor environment and run the correlation analysis:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dima</name></author>
	</entry>
	<entry>
		<id>https://cyana.org/w/index.php?title=Determination_of_the_protein_number_of_states&amp;diff=9842&amp;oldid=prev</id>
		<title>Dima: Created page with &quot;In this tutorial we will provide you with guided examples for determination of the protein number of states.   In summary, our approach consists of following steps: # We condu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://cyana.org/w/index.php?title=Determination_of_the_protein_number_of_states&amp;diff=9842&amp;oldid=prev"/>
		<updated>2021-09-06T17:38:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In this tutorial we will provide you with guided examples for determination of the protein number of states.   In summary, our approach consists of following steps: # We condu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In this tutorial we will provide you with guided examples for determination of the protein number of states. &lt;br /&gt;
&lt;br /&gt;
In summary, our approach consists of following steps:&lt;br /&gt;
# We conduct a series of structure calculations with 1-9 states &lt;br /&gt;
# We evaluate structure calculations in terms of target function and correlations (using PDBcor) &lt;br /&gt;
&lt;br /&gt;
==== Software installation ====&lt;br /&gt;
&lt;br /&gt;
This tutorial requires following software:&lt;br /&gt;
# CYANA&lt;br /&gt;
# Python3&lt;br /&gt;
# UCSF Chimera&lt;br /&gt;
# PDBcor. In case if PDBcor is not yet installed, please go to this [https://github.com/dzmitryashkinadze/PDBCor link] and follow installation instructions. Later we will refer to the PDBcor installation path as &amp;#039;&amp;#039;&amp;#039;PATH/To/PDBcor&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==== Data preparation ====&lt;br /&gt;
&lt;br /&gt;
Please follow the following steps:&lt;br /&gt;
# Download the [[Media:Pop_demo.zip|demo data]].&lt;br /&gt;
# Unpack the demo data&lt;br /&gt;
&lt;br /&gt;
==== Execution ====&lt;br /&gt;
&lt;br /&gt;
We recommend to use parallel computation for the execution as it will significantly reduce the total running time. &lt;br /&gt;
&lt;br /&gt;
Please follow the following steps carefully (exact Linux commands are given below; you may copy them to a terminal):&lt;br /&gt;
&lt;br /&gt;
First, edit the protein specific data in the folder &amp;#039;&amp;#039;&amp;#039;data/&amp;#039;&amp;#039;&amp;#039;. Make sure, that filenames are kept the same as in the demo. Advanced users can ignore it and fix PREP.cya for potential naming errors. Change the protein sequence in the root folder (same filename is not required).&lt;br /&gt;
&lt;br /&gt;
Additionally, do following checks:&lt;br /&gt;
&lt;br /&gt;
Check that &amp;#039;&amp;#039;&amp;#039;init.cya&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;CALC.cya&amp;#039;&amp;#039;&amp;#039; have &amp;#039;&amp;#039;&amp;#039;rmsdrange&amp;#039;&amp;#039;&amp;#039; variable (range to calculate RMSD of the protein bundle) set to correct value&lt;br /&gt;
&lt;br /&gt;
Check that &amp;#039;&amp;#039;&amp;#039;SPLIT.cya&amp;#039;&amp;#039;&amp;#039; has &amp;#039;&amp;#039;&amp;#039;nres&amp;#039;&amp;#039;&amp;#039; variable (number of residues) set to correct value &lt;br /&gt;
&lt;br /&gt;
Then, test the &amp;#039;&amp;#039;&amp;#039;data/&amp;#039;&amp;#039;&amp;#039; folder by running a test calculation:&lt;br /&gt;
 cp -r data test&lt;br /&gt;
 cd test&lt;br /&gt;
 cyana PREP.cya nbundle=3&lt;br /&gt;
 cyana -n 20 CALC.cya &amp;#039;&amp;#039;&amp;#039;#cyana CALC.cya if no parallel computing is available&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Check that both PREP and CALC scripts run without errors. &lt;br /&gt;
&lt;br /&gt;
Check in program Chimera that resulting structure &amp;#039;&amp;#039;&amp;#039;bundle.pdb&amp;#039;&amp;#039;&amp;#039; is correct.&lt;br /&gt;
&lt;br /&gt;
Check that split structure &amp;#039;&amp;#039;&amp;#039;splitall.pdb&amp;#039;&amp;#039;&amp;#039; is split correct (each conformer 1-nres is a separate PDB model). &lt;br /&gt;
&lt;br /&gt;
Then, edit RUN.cya:&lt;br /&gt;
&lt;br /&gt;
Edit the cyana engine&lt;br /&gt;
 cyana:=cyana (do it only if you are sure what it is)&lt;br /&gt;
&lt;br /&gt;
If you do not have an access to parallel computation change the line of RUN.cya from&lt;br /&gt;
 system &amp;quot;pwd; ls -l CALC.cya; $cyana -n 20 CALC inputseed=$seed&amp;quot;&lt;br /&gt;
to:&lt;br /&gt;
 system &amp;quot;pwd; ls -l CALC.cya; $cyana CALC inputseed=$seed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then, run the series of two-state structure calculations:&lt;br /&gt;
 cyana RUN.cya&lt;br /&gt;
&lt;br /&gt;
This creates a folder for each multi-state structure calculation. Final structure is saved as bundle.pdb and final split structure (where each state is an independent model is saved as splitall.pdb).&lt;br /&gt;
&lt;br /&gt;
If you do not have an access to parallel computation change the line of ANALYSE.cya from&lt;br /&gt;
 system &amp;quot;bsub python ~/Python/allosteryExtraction/correlationExtraction.py $dir/splitall.pdb --nstates=$ns --therm_iter=5&amp;quot;&lt;br /&gt;
to:&lt;br /&gt;
 system &amp;quot;python ~/Python/allosteryExtraction/correlationExtraction.py $dir/splitall.pdb --nstates=$ns --therm_iter=5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then, activate the PDBcor environment and run the correlation analysis:&lt;br /&gt;
 source &amp;#039;&amp;#039;&amp;#039;PATH/To/PDBcor&amp;#039;&amp;#039;&amp;#039;/venv/bin/activate&lt;br /&gt;
 cyana ANALYSE.cya&lt;br /&gt;
&lt;br /&gt;
This creates a &amp;#039;&amp;#039;&amp;#039;correlations/&amp;#039;&amp;#039;&amp;#039; subfolder in each structure calculation folder with a correlation value that can be read from the &amp;#039;&amp;#039;&amp;#039;correlations_backbone.txt&amp;#039;&amp;#039;&amp;#039; file.&lt;br /&gt;
&lt;br /&gt;
Since all structure calculations were done for different number of states their target functions are not directly comparable. We need first to normalize them.&lt;br /&gt;
&lt;br /&gt;
For this execute bash script&lt;br /&gt;
 sh normalize_tf.sh # it usually takes couple of minutes&lt;br /&gt;
&lt;br /&gt;
Once the script is finished run it again and save the output&lt;br /&gt;
 sh normalize_tf.sh &amp;gt; TF.txt&lt;br /&gt;
&lt;br /&gt;
This file contains normalized target functions&lt;br /&gt;
&lt;br /&gt;
Finally, collect results in a single file:&lt;br /&gt;
 cyana STAT_COLLECT.cya&lt;br /&gt;
&lt;br /&gt;
This collects all correlation and target function values of all executed calculations in a single file using bash script &amp;#039;&amp;#039;&amp;#039;extract_cor_value.sh&amp;#039;&amp;#039;&amp;#039; into the output file &amp;#039;&amp;#039;&amp;#039;results.txt&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;</summary>
		<author><name>Dima</name></author>
	</entry>
</feed>