Pair fit: Difference between revisions
Jump to navigation
Jump to search
Hongbo zhu (talk | contribs) (add examples and notes copied from PyMOL fitting.py) |
|||
Line 1: | Line 1: | ||
[[Pair_Fit]] fits a set of atom pairs between two models. Each atom in each pair must be specified individually, which can be tedious to enter manually. Script files are recommended when using this command. | [[Pair_Fit]] fits a set of atom pairs between two models. Each atom in each pair must be specified individually, which can be tedious to enter manually. Script files are recommended when using this command. | ||
Line 6: | Line 5: | ||
pair_fit (selection), (selection), [ (selection), (selection) [ ...] ] | pair_fit (selection), (selection), [ (selection), (selection) [ ...] ] | ||
</source> | </source> | ||
===EXAMPLES=== | |||
<syntaxhighlight lang="python"> | |||
# superimpose protA residues 10-25 and 33-46 to protB residues 22-37 and 41-54: | |||
pair_fit protA/10-25+33-46/CA, protB/22-37+41-54/CA | |||
# superimpose ligA atoms C1, C2, and C4 to ligB atoms C8, C4, and C10, respectively: | |||
pair_fit ligA////C1, ligB////C8, ligA////C2, ligB////C4, ligA////C3, ligB////C10 | |||
</syntaxhighlight> | |||
===NOTES=== | |||
So long as the atoms are stored in PyMOL with the same order internally, you can provide just two selections. Otherwise, you may need to specify each pair of atoms separately, two by two, as additional arguments to pair_fit. | |||
Script files are usually recommended when using this command. | |||
===USER EXAMPLES/COMMENTS=== | ===USER EXAMPLES/COMMENTS=== |
Revision as of 04:59, 27 February 2013
Pair_Fit fits a set of atom pairs between two models. Each atom in each pair must be specified individually, which can be tedious to enter manually. Script files are recommended when using this command.
USAGE
pair_fit (selection), (selection), [ (selection), (selection) [ ...] ]
EXAMPLES
# superimpose protA residues 10-25 and 33-46 to protB residues 22-37 and 41-54:
pair_fit protA/10-25+33-46/CA, protB/22-37+41-54/CA
# superimpose ligA atoms C1, C2, and C4 to ligB atoms C8, C4, and C10, respectively:
pair_fit ligA////C1, ligB////C8, ligA////C2, ligB////C4, ligA////C3, ligB////C10
NOTES
So long as the atoms are stored in PyMOL with the same order internally, you can provide just two selections. Otherwise, you may need to specify each pair of atoms separately, two by two, as additional arguments to pair_fit.
Script files are usually recommended when using this command.
USER EXAMPLES/COMMENTS
An description of selection caveats for these commands may be found at Intra_Rms.