<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=MPose</id>
	<title>MPose - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=MPose"/>
	<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=MPose&amp;action=history"/>
	<updated>2026-04-07T04:44:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://wiki.docking.org/index.php?title=MPose&amp;diff=5907&amp;oldid=prev</id>
		<title>Frodo at 05:12, 14 February 2014</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=MPose&amp;diff=5907&amp;oldid=prev"/>
		<updated>2014-02-14T05:12:39Z</updated>

		<summary type="html">&lt;p&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 05:12, 14 February 2014&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-l60&quot;&gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&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;Single mode DOCK run is managed by &amp;lt;code&amp;gt;~ycao/mpose/singlemode.py&amp;lt;/code&amp;gt;. It optionally calls &amp;lt;code&amp;gt;~ycao/mpose/posepick.py&amp;lt;/code&amp;gt; to perform pose pruning.&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;Single mode DOCK run is managed by &amp;lt;code&amp;gt;~ycao/mpose/singlemode.py&amp;lt;/code&amp;gt;. It optionally calls &amp;lt;code&amp;gt;~ycao/mpose/posepick.py&amp;lt;/code&amp;gt; to perform pose pruning.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Software]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Frodo</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=MPose&amp;diff=3495&amp;oldid=prev</id>
		<title>Therese: 3 revisions</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=MPose&amp;diff=3495&amp;oldid=prev"/>
		<updated>2012-10-08T20:29:20Z</updated>

		<summary type="html">&lt;p&gt;3 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:29, 8 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Therese</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=MPose&amp;diff=3494&amp;oldid=prev</id>
		<title>Rgc at 17:15, 11 November 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=MPose&amp;diff=3494&amp;oldid=prev"/>
		<updated>2011-11-11T17:15:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
MPose, or Multiple Pose, is a script to run single mode [[DOCK]]. It accepts a pre-built &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file, or builds a single mode &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file by patching an existing search mode &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file. It then invokes DOCK to generate multiple poses for each molecule in the database. MPose can optionally prunes the output poses to remove similar poses and keep the top N poses with the highest DOCK scores.&lt;br /&gt;
&lt;br /&gt;
A future option may be to use the new code for [[Dock_Ligand_Clustering]] instead of single mode dock.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Before using MPose, you must have a folder ready to run search mode DOCK. You can reuse a folder that has already been used for a search mode DOCK run. Essentially, MPose expects a valid and correct &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file with associated PDB and database file.&lt;br /&gt;
&lt;br /&gt;
===Standard Mode Runs===&lt;br /&gt;
&lt;br /&gt;
With a general DOCK working folder containing a &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt;, you can manually change the file to enable single mode, or you could create a patch file so that you can automate the patching by providing it to MPose. Using a patch has advantage of reusing the same patch in the future without manually update &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; for each folder. To make a patch, make a copy of the existing &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt;:&lt;br /&gt;
 cp INDOCK INDOCK.1&lt;br /&gt;
Then edit the &amp;lt;code&amp;gt;INDOCK.1&amp;lt;/code&amp;gt; file to enable single mode. You should change the following lines and make sure to comment out the remove_positive_solvation option if you have it.&lt;br /&gt;
 mode                         single&lt;br /&gt;
 rmsd_override                  0.0&lt;br /&gt;
 contact_minimum                 0&lt;br /&gt;
 energy_maximum                 1.0e+6&lt;br /&gt;
Now you can create the patch by running:&lt;br /&gt;
 diff -c INDOCK INDOCK.1 &amp;gt; my.patch&lt;br /&gt;
This creates a patch file named &amp;lt;code&amp;gt;my.patch&amp;lt;/code&amp;gt;. Now you can run MPose with the originan &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; and the patch:&lt;br /&gt;
 ~ycao/mpose/mpose INDOCK -p my.patch&lt;br /&gt;
With this, MPose will start a single mode DOCK run, and genarate output in &amp;lt;code&amp;gt;mpose.mol2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note that you are allowed to have no &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; or multiple &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;. When multiple patches are provided with multiple &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; switches, the input &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; will be patched sequentially in the order that the patch files are listed.&lt;br /&gt;
&lt;br /&gt;
Many steps are involved in an MPose run. MPose first creates a temporary working folder (named &amp;lt;code&amp;gt;singlemode.XXXXXXX&amp;lt;/code&amp;gt;), and places the patched &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file inside. It will also resolve the file paths (such as grid files and database file) mentioned in &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt;, and make sure the patched &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; still refers to the correct paths. It then runs DOCK. When DOCK finishes, a pose pruning process will be started. In this process, for each molecule, MPose ranks its poses by their DOCK scores, and returns the top 10 poses. MPose also makes sure there do no exist two poses in the output poses that are within 2A RMSD with each other. The final poses will be stored in a file named &amp;lt;code&amp;gt;mpose.mol2&amp;lt;/code&amp;gt;, and the working directory will be removed.&lt;br /&gt;
&lt;br /&gt;
You can override the default RMSD threshold and the maximum number of poses in the output as follows:&lt;br /&gt;
 ~ycao/mpose/mpose INDOCK -p my.patch -r 1 -l 20&lt;br /&gt;
The above command sets the threshold RMSD to 1A and the maximum number of output poses for each molecule to be 20.&lt;br /&gt;
&lt;br /&gt;
===DockBlaster Mode Runs===&lt;br /&gt;
&lt;br /&gt;
When working with standard DockBlaster job folders, you can advise MPose to use the stock patch files. You must enter a subfolder of a DockBlaster job folder that contains an &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file, such as such as &amp;lt;code&amp;gt;~www/dockgui/06/24676/run.decoys/1.A&amp;lt;/code&amp;gt;. In such a directory, you can simply run&lt;br /&gt;
 ~ycao/mpose/mpose&lt;br /&gt;
MPose will perform single mode DOCK runs using an &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; file generated by patching the existing &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; with a stock patch file. MPose chooses the patch file based on the current working folder. For example, when MPose is invoked in &amp;lt;code&amp;gt;~www/dockgui/06/24676/run.decoys/1.A&amp;lt;/code&amp;gt;, it would use the patch file &amp;lt;code&amp;gt;dockblaster.INDOCK.patch.1.A&amp;lt;/code&amp;gt;, which is written for DockBlaster&amp;#039;s standard &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; for 1.A runs.&lt;br /&gt;
&lt;br /&gt;
With the exception of the automatic patching, MPose in DockBlaster mode works the same as in the standard mode.&lt;br /&gt;
&lt;br /&gt;
You can customize MPose, for example, to change the threshold RMSD and/or maximum number of poses to keep. In such cases, you must manually state that you want to run in the DockBlaster mode by adding &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt; switch. For example, the following command runs MPose in DockBlaster mode using a threshold of 2A (instead of 1A):&lt;br /&gt;
&lt;br /&gt;
 ~ycao/mpose/mpose -b -r 2&lt;br /&gt;
&lt;br /&gt;
===Useful Options===&lt;br /&gt;
&lt;br /&gt;
All the options are very useful. Run &lt;br /&gt;
 ~ycao/mpose/mpose -h&lt;br /&gt;
to see a list of supported options. Here are some important ones.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt; tells MPose to run in DockBlaster mode, as explained above. In this mode, you do not need to provide the path to &amp;lt;code&amp;gt;INDOCK&amp;lt;/code&amp;gt; or the patch file.&lt;br /&gt;
* &amp;lt;code&amp;gt;--no-pick&amp;lt;/code&amp;gt; tells MPose not to run the pose pruning step. All poses output by DOCK will be saved in the DOCK output format inside the temporary folder. If not set, MPose will run the pose pruning step after DOCK finishes. When pose pruning finishes, the temporary working folder will be removed.&lt;br /&gt;
* &amp;lt;code&amp;gt;-r&amp;lt;/code&amp;gt; sets the threshold RMSD that MPose uses to judge whether two poses are too similar to output both. Default is 2A.&lt;br /&gt;
* &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; sets the maximum number of poses for each molecule. Default is 10 poses per molecule in the database.&lt;br /&gt;
* &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt; sets the output file name. Default is &amp;lt;code&amp;gt;mpose.mol2&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;-v&amp;lt;/code&amp;gt; changes makes the script more verbose.&lt;br /&gt;
&lt;br /&gt;
===Technical Details===&lt;br /&gt;
&lt;br /&gt;
Single mode DOCK run is managed by &amp;lt;code&amp;gt;~ycao/mpose/singlemode.py&amp;lt;/code&amp;gt;. It optionally calls &amp;lt;code&amp;gt;~ycao/mpose/posepick.py&amp;lt;/code&amp;gt; to perform pose pruning.&lt;/div&gt;</summary>
		<author><name>Rgc</name></author>
	</entry>
</feed>