Jmol/Superposition: Difference between revisions

Karsten Theis (talk | contribs)
m Superposition with jmol moved to Jmol/superposition: This format is used for other pages
Karsten Theis (talk | contribs)
No edit summary
Line 1: Line 1:
==Introduction==
==Introduction==
This page is a tutorial on how to superimpose two structures in jmol and show them in proteopedia. Superpositions (or overlays) are a way to compare two structures by moving them on top of one another so the [[Superposition_with_jmol#Equivalent_atoms|"equivalent atoms"]] are close to one another. Because the two structures are different, not all equivalent atoms can match at the same time. Instead, you minimize the root-mean-square of the distances (RMSD) to achieve a compromise. If you want to see superpositions in the context of a proteopedia page (and look at the underlying jmol scripts), take a look at [[Garman lab: Interconversion of lysosomal enzyme specificities]] and [[Schubert lab: bacterial InIC disrupts human Tuba complexes]].
This page is a tutorial on how to superimpose two structures in Jmol and show them in Proteopedia. Superpositions (or overlays) are a way to compare two structures by moving them on top of one another so the [[Superposition_with_jmol#Equivalent_atoms|"equivalent atoms"]] are close to one another. Because the two structures are different, not all equivalent atoms can match at the same time. Instead, you minimize the root-mean-square of the distances (RMSD) to achieve a compromise. If you want to see superpositions in the context of a Proteopedia page (and look at the underlying Jmol scripts), take a look at [[Garman lab: Interconversion of lysosomal enzyme specificities]] and [[Schubert lab: bacterial InIC disrupts human Tuba complexes]].


==Loading two structures==
==Loading two structures==
Before you can superimpose two structures in jmol, they have to be loaded at the same time. The "load files" command accomplishes that. In the following, the related structures with the PDB IDs 3HG5 and 3H54 are loaded:
Before you can superimpose two structures in Jmol, they have to be loaded at the same time. The "load files" command accomplishes that. In the following, the related structures with the PDB IDs 3HG5 and 3H54 are loaded:
  <nowiki>
  <nowiki>
load files "=3HG5" "=3H54"</nowiki>
load files "=3HG5" "=3H54"</nowiki>
Line 9: Line 9:


==Equivalent atoms==
==Equivalent atoms==
You have to choose which sets of atoms should be superimposed, i.e. the distances of which pairs of atoms should be minimized. In this example, we choose the alpha carbons of the respective active sites, but other choices are possible. In jmol, you need two atom selection expressions, one for each structure. Because you want pairs of equivalent atoms, the number of atoms selected in the first structure should be equal to the number of atoms selected in the second set. In our example, we first define two atom selections, and then use these later.
You have to choose which sets of atoms should be superimposed, i.e. the distances of which pairs of atoms should be minimized. In this example, we choose the alpha carbons of the respective active sites, but other choices are possible. In Jmol, you need two atom selection expressions, one for each structure. Because you want pairs of equivalent atoms, the number of atoms selected in the first structure should be equal to the number of atoms selected in the second set. In our example, we first define two atom selections, and then use these later.
  <nowiki>
  <nowiki>
# define active site C-alpha atoms
# define active site C-alpha atoms
Line 18: Line 18:


==Compare command==
==Compare command==
The jmol command to superimpose structures is called "compare", and it has a lot of parameters. Here is an example:
The Jmol command to superimpose structures is called "compare", and it has a lot of parameters. Here is an example:
  <nowiki>
  <nowiki>
compare {2.1} {1.1} ATOMS {~actnagal} {~actgal} ROTATE TRANSLATE
compare {2.1} {1.1} ATOMS {~actnagal} {~actgal} ROTATE TRANSLATE
Line 33: Line 33:


==Troubleshooting==
==Troubleshooting==
Jmol does not alert you if your sets of equivalent atoms used in a superposition contain different number of atoms. Let's say you made a mistake in your selection and the first atom set contains 50 atoms and the second contains 51. Jmol will just ignore the last atom in the second set. However, your mistake might have messed up the pairing of atoms you intended. The only feedback jmol gives is the so-called RMSD (the root-mean-square distance of equivalent atom pairs). You can also check if your superposition makes sense by displaying both structures, and checking if equivalent atoms are close to each other.
Jmol does not alert you if your sets of equivalent atoms used in a superposition contain different number of atoms. Let's say you made a mistake in your selection and the first atom set contains 50 atoms and the second contains 51. Jmol will just ignore the last atom in the second set. However, your mistake might have messed up the pairing of atoms you intended. The only feedback Jmol gives is the so-called RMSD (the root-mean-square distance of equivalent atom pairs). You can also check if your superposition makes sense by displaying both structures, and checking if equivalent atoms are close to each other.


If something did go awry, an efficient way of troubleshooting is to list the selected atoms. Whenever you select atoms, jmol tells you how many atoms are selected. The command "show selection" shows a list of all the selected atoms. If you put both lists side by side, the intended equivalent atom pairs should line up.
If something did go awry, an efficient way of troubleshooting is to list the selected atoms. Whenever you select atoms, Jmol tells you how many atoms are selected. The command "show selection" shows a list of all the selected atoms. If you put both lists side by side, the intended equivalent atom pairs should line up.


  <nowiki>
  <nowiki>

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis, Wayne Decatur