User:Wayne Decatur/Biochem642 Molecular Visualization Sessions: Difference between revisions

Wayne Decatur (talk | contribs)
Wayne Decatur (talk | contribs)
Line 48: Line 48:
*[[Help:Editing|How to edit pages in Proteopedia]] → [[Ribosome|Example 1]], [[User:Wayne Decatur/Plant Viral Protein p19 Suppression of RNA Silencing|example 2]], and [[Avian Influenza Neuraminidase, Tamiflu and Relenza|example 3]] of edited topic pages.
*[[Help:Editing|How to edit pages in Proteopedia]] → [[Ribosome|Example 1]], [[User:Wayne Decatur/Plant Viral Protein p19 Suppression of RNA Silencing|example 2]], and [[Avian Influenza Neuraminidase, Tamiflu and Relenza|example 3]] of edited topic pages.
*[[Special:Upload]] List of allowed file types: png, jpg, jpeg, tiff, tif, gif, mgif, pdb, cif, mmcif, cml, mol, xyz, kin, mmol  
*[[Special:Upload]] List of allowed file types: png, jpg, jpeg, tiff, tif, gif, mgif, pdb, cif, mmcif, cml, mol, xyz, kin, mmol  
*LOGIN AND GO TO YOUR SANDBOX.
*[[Editing User:Wayne Decatur/Biochem642 Sandbox Steps|Perform basic editing and creation of scenes in your Sandboxes]
*'''NOTE THE LAYOUT OF YOUR SANDBOX PAGE''':
**First is a box telling others about your reservation and instructions not to delete.
**Next is a title 'Your Problem Set Scenes'.
**ON THE RIGHT and below the line under the title text is the 3D Jmol applet window with the 1d66 structure spinning in it.
**Finally, TO THE LEFT of the Jmol applet window is information instructing you how to specify a scene in the 3D applet window at the right.
*First to let everyone know this is your page and starting setting it up for the format it will need to be in when you turn in your problem set, you'll edit your Sandbox to have your name in place of "Your" in front of "Problem Set Scenes":
**Click on 'edit this page' up at the top of the page.
**'''NOTE THE LAYOUT OF YOUR SANDBOX PAGE EDITING PAGE AND HOW IT IS CONTROLLING WHAT YOU SEE ON THE PAGE''':
***First is a line that is the template telling others about your reservation and instructions not to delete. (LEAVE THIS ALONE IN ALL EDITING YOU DO.)
***Next is the text of the title you saw which is in between some equal signs that just signals in wiki-talk, called wikitext, how that text is to be formatted special.
***Next is wikitext beginning with '<applet' and ending by being closed with '/>'. All the text between '<applet' and '>/' just specifies the parameters of how to set up and what to show in the Jmol applet window where you saw the 1d66 structure spinning.
***Finally, there is the text that tells the page how to display the instructions I set up for you. We will return to this block of text later.
**For now we are just going to change the 'Your' in the title text to read the possessive of your name, for example the line specifying the title on my page would read:<br> <nowiki>==Wayne Decatur's Problem Set Scenes==</nowiki>
**Once you have change the text in the editing window, look below the editing window (you may need to scroll your browser page down), and click the 'Save Page' button.
**'''Congratulations, you just edited your first Proteopedia page!'''
 
*[[Scene authoring tools|Proteopedia's Scene Authoring Tools]]
 
*'''Now author a scene (view) to add to your Sandbox page''':
**Once again, click on 'edit this page' up at the top of the page.
**Below the edit window (where you worked to change the title) you will see a picture of a protein next to text that says Scene authoring tools. Click on 'show' next to this and the Scene authoring tools will pop open below.
**Click on the 'load molecule' tab and enter 1d66 into the top box. Press the 'load' button.
**Once you see the 1d66 structure in the window to the right (it won't be spinning), use the 'selections','representations', 'color' tab to change the scene in some manner. It doesn't matter exactly how because you are just practicing to learn the interface for now.
**Once you have a new scene, click the 'save scene' tab and give the scene a name and description. Choose whether you want it to molecule to spin or not when it is displayed.
**When you are satisfied with your name and description, '''press 'save scene' '''and you will see text show up in the box labeled 'wikitext' below.
**Highlight and copy the text at the bottom of that box (all text after the colon), and paste it below the other text up in the edit window.
**'''Now hide the Scene Authoring tools''' by pressing 'hide' next to the name (where you pressed 'show' earlier) and the 'Save page' button will again be active. Click the 'Save page' button.
**'''Congratulations, you just made your first scene!'''
**'''However, you need to press the green text (green link) on your page to see it.''' If you click on it while viewing the page, the scene in the Jmol window at the right should change to it.
 
===Make the scene you made show automatically in the 3D Jmol applet window when the page comes up'''===
**BEFORE YOU CLICK 'EDIT THIS PAGE' again, read the last text in the window to the left of the 3D Jmol applet as this outlines the process. (Leave this block of text on the page until you are comfortable making 3D applets, at which point feel free to delete it, if you want.)
**Go ahead now and click on 'edit this page' up at the top of the page.
**We will finally consider the last block of text in the edit window:
***Note that at the end of this block of text and flanked my nowiki tags to tell the page not to process it as normal wikitext is wikitext very similar to what we just saw above; '''however, there is a significant difference: the scene parameter has been added in front of the caption parameter'''.
***In between the single quotes for the scene parameter is the name of a dummy scene; there is no real scene corresponding to this name.
**Click 'EDIT THIS PAGE', and add a scene tag to the 3D applet window information by copying the sample one (that generates the text you read from the page when not in editing mode) and putting it in the real one above. The one you pasted isn't a real scene name though! You need to get your scene information there.
**So copy the name of your scene between the single quotes down lower on the page, and replace the dummy text between the single quotes of the scene tag you just added to the 3D applet window information.
*Load that same scene again in the Scene Authoring Tools using the load scene tab, modify it, and save a new scene. Paste the scene into your page.
 
Showing two scenes on your Sandbox page:
*Make another scene and save it. (You can keep the same name because it will get a new version number.)
 
===Using the wikitext toolbar as an alternative way to make a 3D Jmol applet window===
:Instead of copying from elsewhere and then pasting the wikitext specifying an applet window into a spot on your page, you can use the wiki toolbar that show above the edit window in edit mode.
#Enter edit mode if you aren't in it, by pressing 'edit this page' up at the top of the page.
#Click the button that says '3D' on the right of the toolbar.
#Edit load parameter to have the pdb ID code you need and edit the caption if you want.
#Edit any of the other parameters as you choose.
#You can also add a scene parameter and the name of one of your scenes in between the single quotes, if you desire. For example:<br>
<nowiki><applet load='1d66' size='400' frame='true' align='right' scene='SandboxNUMBER/YOURSceneHERE/1' caption='Your caption here.' /></nowiki>
 
===Getting wikitext or scene names for old scenes or if you forgot to copy the scene before:===
#Enter edit mode if you aren't in it, by pressing 'edit this page' up at the top of the page.
#Show the Scene Authoring tools.
#Click the 'load scene' tab and use the menu to find and select the scene name and version number.
#The scene will then come up in the Jmol window at the right and the wikitext will appear in the window at the bottom.
#Copy the wikitext you need or just the name of the scene, if that is all you need.
#Paste that information where you need it.
 
 
*[[Help:Copying FirstGlance Scenes into Proteopedia|Copying FirstGlance Scenes into Proteopedia]]
*[[Help:Copying FirstGlance Scenes into Proteopedia|Copying FirstGlance Scenes into Proteopedia]]
*Proteopedia pages can be exported for offline viewing using the toolbox on the left.
*Proteopedia pages can be exported for offline viewing using the toolbox on the left.