Jmol/Visualizing membrane position
From Proteopedia
(Difference between revisions)
| Line 33: | Line 33: | ||
<pre>draw cyl1 cylinder diameter 100.0 color gray (thr607) (leu250)</pre> | <pre>draw cyl1 cylinder diameter 100.0 color gray (thr607) (leu250)</pre> | ||
Adapt this command to your situation, copy and paste it into the LOWER box of the Console, and click the ''Run'' button at the lower-left of the console box. | Adapt this command to your situation, copy and paste it into the LOWER box of the Console, and click the ''Run'' button at the lower-left of the console box. | ||
| + | |||
*''cyl1'' is an arbitrary name for this cylinder. | *''cyl1'' is an arbitrary name for this cylinder. | ||
*You may adjust the diameter and color to your taste. (Gray is a [[DRuMS|standard color]] for hydrophobic. Yellow is sometimes used with the mnemonic ''butter'' in mind.) | *You may adjust the diameter and color to your taste. (Gray is a [[DRuMS|standard color]] for hydrophobic. Yellow is sometimes used with the mnemonic ''butter'' in mind.) | ||
*If you wish to delete all cylinders before making a new one, the command is | *If you wish to delete all cylinders before making a new one, the command is | ||
<pre>draw * delete</pre> | <pre>draw * delete</pre> | ||
| + | *To make the cylinder translucent, the command is | ||
| + | <pre>draw cyl1 color translucent -1</pre> | ||
| + | |||
| + | Once you have the desired cylinder in the SAT, save the scene, insert a green link in the wikitext box, and save the page. Then test the green link. | ||
| + | |||
| + | After displaying the cylinder with your new green link, if you then click a different green link, the cylinder may persist, unwanted. To fix this: | ||
| + | # In the SAT, load the other scene. | ||
| + | **It doesn't matter if the cylinder is not visible in the SAT. | ||
| + | # Open the command console. | ||
| + | # Enter the above ''delete'' command. | ||
| + | # Save the scene. | ||
| + | # Update the green link to use the newly saved version of the scene. | ||
| + | # Test. | ||
Revision as of 19:45, 30 March 2018
| |||||||||||
References
- ↑ 1.0 1.1 Lomize MA, Pogozheva ID, Joo H, Mosberg HI, Lomize AL. OPM database and PPM web server: resources for positioning of proteins in membranes. Nucleic Acids Res. 2012 Jan;40(Database issue):D370-6. doi: 10.1093/nar/gkr703., Epub 2011 Sep 2. PMID:21890895 doi:http://dx.doi.org/10.1093/nar/gkr703

