|
|
| (54 intermediate revisions not shown.) |
| Line 1: |
Line 1: |
| - | ==ConSurf Prototype== | + | ==Notes on mini- and microproteins== |
| | | | |
| - | {{STRUCTURE_2hhd| PDB=2hhd | SCENE= }}
| + | ===Micro=== |
| | | | |
| - | ===Scenes===
| + | *2018: Microproteins are "translated from protein-coding small open reading frames (smORFs, less than 100–150 codons in length)." "to reduce false positives... most genome annotation pipelines required ORFs to be at least 300 nucleotides long (i.e. 100 amino acids) resulting in most smORFs being missed." <ref>PMID: 30415582</ref> |
| - | Opening the proposed <i>Evolutionary Conservation</i> section below the molecule would automatically color all chains by ConSurf, and spacefill them. Checkboxes in this section, one per chain, would be checked when the section is first opened. Unchecking a given chain would render it as a gray backbone (as in ConSurf). Ligands will be ball and stick, with dot surfaces, colored by element (as in ConSurf; oops, forgot to do the sulfates in some scenes). Here, for demonstration purposes, are 5 of the 16 possible scenes that 4-chain-checkboxes could generate:
| + | |
| - | *<scene name='User:Eric_Martz/Sandbox_3/Consurf/1'>ConSurf color all 4 chains</scene> (2 alphas, A and C, and 2 betas, B and D, in 2HHD).
| + | |
| - | *<scene name='User:Eric_Martz/Sandbox_3/Consurf/2'>ConSurf color only chains A and B</scene> (one alpha, one beta)
| + | |
| - | *<scene name='User:Eric_Martz/Sandbox_3/Consurf/3'>ConSurf color only chains A and C</scene> (both alphas)
| + | |
| - | *<scene name='User:Eric_Martz/Sandbox_3/Consurf/4'>ConSurf color only chain A</scene>
| + | |
| - | *<scene name='User:Eric_Martz/Sandbox_3/Consurf/5'>All chains unchecked</scene>
| + | |
| | | | |
| - | ===Button Tests===
| + | *2015: "MicroProteins (miPs) are short, usually single-domain proteins that, in analogy to miRNAs, heterodimerize with their targets and exert a dominant-negative effect." They "disrupt the formation of homodimeric, heterodimeric, or multimeric complexes". "The term ‘microProtein’ was coined due to their small size and negative regulatory similarity to miRNAs" <ref>PMID: 26115780</ref> |
| | | | |
| - | <!-- UNNECESSARY WITH REVISED IF LOGIC | |
| - | <jmol> | |
| - | <jmolButton> | |
| - | <script> ~A = 1;~B = 1;</script> | |
| - | <text>set A, B</text> | |
| - | </jmolButton> | |
| - | </jmol> | |
| - | --> | |
| | | | |
| - | <jmol> | + | *2011 review <ref>PMID: 21151039</ref> |
| - | <jmolButton>
| + | |
| - | <script>if (consurf_A!=0); select:A; spacefill off;color translucent -1; consurf_A = 0;javascript "document.getElementById('jmb_A').value='A [ ]'"; else; select:A; spacefill on; color opaque;consurf_A = 1;javascript "document.getElementById('jmb_A').value='A [x]';"; endif;</script>
| + | |
| - | <text>A [ ]</text>
| + | |
| - | <name>jmb_A</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol> Lower case x so it doesn't look like chain X. Two spaces in empty [ ]. Uses document.getElementById('jmb_A').value='...'. Works in | + | |
| | | | |
| - | *Internet Explorer 7/Windows XP
| + | ===Mini=== |
| - | *Internet Explorer 6/Windows 98
| + | |
| - | *Firefox2/Windows 98/Windows XP
| + | |
| - | *Firefox2/OSX
| + | |
| - | *Safari/OSX (mouse movement needed to get the text change, else button label is always one step behind).
| + | |
| | | | |
| - | <!--
| + | *2017: Miniproteins are "polypeptide chains <40 amino acids in length that adopt defined and stable 3D structures". They are often designed, or screened from designed libraries. <ref>PMID: 28832117</ref> |
| - | Checkmark is ✓
| + | |
| - | <jmol>
| + | |
| - | <jmolButton>
| + | |
| - | <script>if (~B==1); select:B; spacefill off;color translucent -1; ~B = 0;javascript "bB.value='B[ ]'"; else; select:B; spacefill on; color opaque;~B = 1;javascript "bB.value='B[x]'"; endif;</script>
| + | |
| - | <text>\B\[✓\]</text>
| + | |
| - | <name>bB</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol> The checkmark causes the previous characters to disappear. ??
| + | |
| - | -->
| + | |
| | | | |
| - | <jmol>
| + | *2017: De novo designed: <ref>PMID: 28953867</ref> |
| - | <jmolButton>
| + | |
| - | <script>if (~B!=0); select:B; spacefill off;color translucent -1; ~B = 0;javascript "bB.value='B [ ]'"; else; select:B; spacefill on; color opaque;~B = 1;javascript "bB.value='B [x]'"; endif;</script>
| + | |
| - | <text>B [ ]</text>
| + | |
| - | <name>bB</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol> Uses bB.value='...'. Firefox: javascript error, bB is not defined, so no button text change in Firefox. Firefox every second click ignored unless mouseout between clicks. Works in Safari/OSX and Internet Explorer 6/7/Windows.
| + | |
| | | | |
| - | Checkmark: ✓ but if it is used in the button text label, the previous characters don't appear. Could maybe use a button label ✓A instead of A[✓], but haven't tested it. And in Internet Explorer 7, this "checkmark" appears as two horizontal bars. Not worth pursuing, I think. (Similarly, I often see problems with greek letters, so it is better to spell them out in English than to try to show the actual greek letter.)
| + | *2015: Viruses have hydrophobic, membrane-spanning miniproteins. <ref>PMID: 26057606</ref> <ref>PMID: 24742054</ref> |
| | | | |
| - | ===User Interface & Color Key===
| + | *2011: Cysteine knot miniproteins are a subset of miniproteins that can be natural or engineered. <ref>PMID: 22204431</ref> |
| | | | |
| - | To keep the user interface simple in Proteopedia, at least to start with, I propose that the only controls will be one checkbox per chain to ConSurf-color+spacefill each chain or not. The color key will not be interactive (unlike in ConSurf). Clicking the link <i>Complete results at ConSurf</i> will provide a path to the display in <i>FirstGlance in Jmol</i> with many more options.
| + | ==In Proteopedia== |
| | + | *There are about 60 entries found with a search for "miniprotein" (but no such category). |
| | + | *[[:Category:Microprotein]] has 3 entries, and [[:Category:Hybrid microprotein]] has 1. |
| | | | |
| - | Below are non-interactive mockups just to suggest the look for a user interface that would be an additional expandable block beneath the molecule. | |
| - | *Links do not work. | |
| - | *When a chain is "checked" [x], it will be colored by conservation, and spacefill it. When unchecked, that chain will become a gray backbone trace. | |
| - | *The link to ''Explanation'' would go to a Proteopedia page of explanation. It might be a revised version of [[Conservation, Evolutionary]]. | |
| | | | |
| - | | + | ==References== |
| - | <b>Before expanding this section, it could look like this:</b>
| + | <references /> |
| - | | + | |
| - | <table border="0" cellspacing="0" cellpadding="2" width="330">
| + | |
| - | <tr> | + | |
| - | <td align="left" colspan="2" bgcolor="#bac9f7">
| + | |
| - | <font color="#2020e0"><b>Evolutionary Conservation:</b></font>
| + | |
| - |
| + | |
| - |
| + | |
| - |
| + | |
| - | [<font color="#1010ff">show</font>]
| + | |
| - | </td></tr>
| + | |
| - | </table>
| + | |
| - | | + | |
| - | <br>
| + | |
| - | | + | |
| - | <b>After expanding, it could look like this (using buttons):</b>
| + | |
| - | <table class="collapsible collapsed" border="0" cellspacing="0" width="330">
| + | |
| - | <tr>
| + | |
| - | <td align="left" colspan="2" bgcolor="#bac9f7">
| + | |
| - | <font color="#2020e0"><b>Evolutionary Conservation:</b></font>
| + | |
| - |
| + | |
| - |
| + | |
| - |
| + | |
| - | [<font color="#1010ff">hide</font>]
| + | |
| - | </td></tr>
| + | |
| - | <tr><td colspan="2" style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;"></td></tr>
| + | |
| - | <!-- <tr><td colspan='2' style="background-color:#bac9f7;"> -->
| + | |
| - | <tr><td colspan='2' style="background-color:#bac9f7;">
| + | |
| - | [[Image:Consurf_key_small.gif|center]]
| + | |
| - | </td></tr>
| + | |
| - | | + | |
| - | <tr><td style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;">
| + | |
| - | <b>Toggle Conservation Colors:</b>
| + | |
| - | </td><td align="left" style="background-color:#ace3ac;border-top:2px solid #dddddd; border-right:2px solid #dddddd" width="230"> Rows = identical sequences:<br>
| + | |
| - | <jmol>
| + | |
| - | <jmolButton>
| + | |
| - | <script>if (consurf_A!=0); select:A; spacefill off;color translucent -1; consurf_A = 0;javascript "document.getElementById('jmb_AA').value='A [ ]'"; else; select:A; spacefill on; color opaque;consurf_A = 1;javascript "document.getElementById('jmb_AA').value='A [x]';"; endif;</script>
| + | |
| - | <text>A [ ]</text>
| + | |
| - | <name>jmb_AA</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol>
| + | |
| - | <jmol>
| + | |
| - | <jmolButton>
| + | |
| - | <script>if (consurf_C!=0); select:C; spacefill off;color translucent -1; consurf_C = 0;javascript "document.getElementById('jmb_C').value='C [ ]'"; else; select:C; spacefill on; color opaque;consurf_C = 1;javascript "document.getElementById('jmb_C').value='C [x]';"; endif;</script>
| + | |
| - | <text>C [ ]</text>
| + | |
| - | <name>jmb_C</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol>
| + | |
| - | <hr noshade>
| + | |
| - | <jmol>
| + | |
| - | <jmolButton>
| + | |
| - | <script>javascript "alert('Not implemented in mockup.')"</script>
| + | |
| - | <text>B [ ]</text>
| + | |
| - | <name>jmb_BB</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol>
| + | |
| - | <jmol>
| + | |
| - | <jmolButton>
| + | |
| - | <script>javascript "alert('Not implemented in mockup.')"</script>
| + | |
| - | <text>D [ ]</text>
| + | |
| - | <name>jmb_D</name>
| + | |
| - | </jmolButton>
| + | |
| - | </jmol>
| + | |
| - | </td></tr>
| + | |
| - | | + | |
| - | <tr><td style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;"> <b>Further Information:</b>
| + | |
| - | </td><td align="left" style="background-color:#ace3ac;border-top:2px solid #dddddd; border-right:2px solid #dddddd" width="230">
| + | |
| - | <font color="#2020e0">Explanation
| + | |
| - | <br><br>
| + | |
| - | Complete results at ConSurf</font>
| + | |
| - | </td></tr>
| + | |
| - | | + | |
| - | </table>
| + | |
| - | | + | |
| - | <!--
| + | |
| - | <br>
| + | |
| - | <b>After expanding, it could look like this (using green links):</b>
| + | |
| - | <table class="collapsible collapsed" border="0" cellspacing="0" width="330">
| + | |
| - | <tr>
| + | |
| - | <td align="left" colspan="2" bgcolor="#bac9f7">
| + | |
| - | <font color="#2020e0"><b>Evolutionary Conservation:</b></font>
| + | |
| - |
| + | |
| - |
| + | |
| - |
| + | |
| - | [<font color="#1010ff">hide</font>]
| + | |
| - | </td></tr>
| + | |
| - | <tr><td colspan="2" style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;"></td></tr>
| + | |
| - | <tr><td colspan='2' style="background-color:#bac9f7;">
| + | |
| - | [[Image:Consurf_key_small.gif|center]]
| + | |
| - | </td></tr>
| + | |
| - | | + | |
| - | <tr><td style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;">
| + | |
| - | </td><td align="left" style="background-color:#ace3ac;border-top:2px solid #dddddd; border-right:2px solid #dddddd" width="230">
| + | |
| - | <font color="#009000"><b>Hide all conservation colors.</b></font>
| + | |
| - | </td></tr><tr><td style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;">
| + | |
| - | <b>Click Chain(s) to Show Conservation:</b>
| + | |
| - | </td><td align="left" style="background-color:#ace3ac;border-top:2px solid #dddddd; border-right:2px solid #dddddd" width="230"> Rows = identical sequences:<br>
| + | |
| - | <font color="#009000"><b>A C<br>B D</b></font>
| + | |
| - | </td></tr>
| + | |
| - | | + | |
| - | <tr><td style="background-color:#bac9f7;color:#040d44;vertical-align:top;text-align:left;"> <b>Further Information:</b>
| + | |
| - | </td><td align="left" style="background-color:#ace3ac;border-top:2px solid #dddddd; border-right:2px solid #dddddd" width="230">
| + | |
| - | <font color="#2020e0">Explanation
| + | |
| - | <br><br>
| + | |
| - | Complete results at ConSurf</font>
| + | |
| - | </td></tr>
| + | |
| - | | + | |
| - | </table>
| + | |
| - | -->
| + | |
| - | | + | |
| - | ===Scripts===
| + | |
| - | When the <i>Evolutionary Conservation</i> block is expanded, a master script is run that colors and spacefills all chains.
| + | |
| - | <!--
| + | |
| - | Importantly, it also defines 10 groups of residues, to be colored as <i>insufficient data</i> (~con10), and grades 1-9 (conserved - variable, ~con1, ~con2, ..., ~con9). These terms greatly simplify the script needed when a checkbox is changed.
| + | |
| - | -->
| + | |
| - | | + | |
| - | The scripts below are designed to work both for single-model X-ray files, and for [[NMR Ensembles of Models]]. In the latter, the scripts show only model 1 for ConSurf scenes (frame 1.1).
| + | |
| - | | + | |
| - | ====Changing a Checkbox====
| + | |
| - | After a checkbox (in the expanded Evolutionary Conservation block) is changed, the currently checked chains are put into this script:
| + | |
| - | | + | |
| - | <tt><pre>select protein
| + | |
| - | spacefill off
| + | |
| - | select (:a,:c) # LIST OF CHECKED CHAINS
| + | |
| - | spacefill
| + | |
| - | </pre></tt>
| + | |
| - | | + | |
| - | The gray backbones for all chains are always rendered, but are hidden within spacefilled atoms, when a chain is spacefilled. Once set, the colors never change. Although the backbones are gray, the atoms are ConSurf-colored. All a checkbox needs to do is spacefill the appropriate set of chains. The colors remain.
| + | |
| - | | + | |
| - | ====ConSurf Scripts====
| + | |
| - | | + | |
| - | The master script will need to be generated by ConSurf for each PDB code. It differs in a few minor ways from the per-chain scripts currently being generated.
| + | |
| - | | + | |
| - | # All chains are colored and spacefilled, not just one chain. This includes both sequence-identical chains, and sequence different chains.
| + | |
| - | # The 10 color grade groups of residues are selected only once, for all chains, as shown in the example script below.
| + | |
| - | # The defined Jmol variables ~con1, ~con2, ... ~con10 now each begin with a tilde (~). This is the recommended practice for such variables in Jmol, to avoid possible conflicts.
| + | |
| - | | + | |
| - | <b>MASTER SCRIPT</b>
| + | |
| - | | + | |
| - | <tt><pre>
| + | |
| - | select protein
| + | |
| - | define ~consurf_to_do selected
| + | |
| - | consurf_spacefill = true
| + | |
| - | script "wiki/ConSurf/hh/2hhd_consurf.spt"
| + | |
| - | | + | |
| - | -----------
| + | |
| - | | + | |
| - | script "/wiki/scripts/allRenderingsOff.spt"
| + | |
| - | | + | |
| - | select hetero and not water
| + | |
| - | spacefill 0.5
| + | |
| - | wireframe 0.3
| + | |
| - | color cpk
| + | |
| - | dots
| + | |
| - | | + | |
| - | if (!consurf_levels_defined)
| + | |
| - | script "/wiki/ConSurf/hh/2hhd_consurf.spt"
| + | |
| - | endif
| + | |
| - | select protein
| + | |
| - | define ~consurf_to_color selected
| + | |
| - | script consurf_color_levels.spt
| + | |
| - | | + | |
| - | select protein
| + | |
| - | spacefill
| + | |
| - | backbone 0.4
| + | |
| - | color backbone [xc8c8c8]
| + | |
| - | | + | |
| - | select nucleic
| + | |
| - | cartoon
| + | |
| - | color cpk
| + | |
| - | </pre></tt>
| + | |
| - | | + | |
| - | <b>consurf_color_levels.spt</b>
| + | |
| - | <br>
| + | |
| - | The purpose of this script is to color all protein atoms according to ConSurf. This script can be "constant", the same for all PDB entries. A big advantage of this script is that it sets the ConSurf color values. If any ever need to be changed, only this one script needs changing. This script requires that the atom subset term <b>~consurf_to_color</b> be defined beforehand. It also requires that the script 2hhd_consurf.spt has been run beforehand.
| + | |
| - | | + | |
| - | <tt><pre>
| + | |
| - | #any protein not in a consurf level, e.g. short peptides not processed by consurf, is colored here
| + | |
| - | select ~consurf_to_color
| + | |
| - | color yellow
| + | |
| - | | + | |
| - | #each consurf level is now colored with the standard consurf colors
| + | |
| - | select ~consurf_to_color and ~con10
| + | |
| - | color [255,255,150]
| + | |
| - | select ~consurf_to_color and ~con9
| + | |
| - | color [160,37,96]
| + | |
| - | select ~consurf_to_color and ~con8
| + | |
| - | color [240,125,171]
| + | |
| - | select ~consurf_to_color and ~con7
| + | |
| - | color [250,201,222]
| + | |
| - | select ~consurf_to_color and ~con6
| + | |
| - | color [252,237,244]
| + | |
| - | select ~consurf_to_color and ~con5
| + | |
| - | color [255,255,255]]
| + | |
| - | select ~consurf_to_color and ~con4
| + | |
| - | color [234,255,255]
| + | |
| - | select ~consurf_to_color and ~con3
| + | |
| - | color [215,255,255]
| + | |
| - | select ~consurf_to_color and ~con2
| + | |
| - | color [140,255,255]
| + | |
| - | select ~consurf_to_color and ~con1
| + | |
| - | color [16,200,209]
| + | |
| - | </pre></tt>
| + | |
| - | | + | |
| - | <b>2hhd_consurf.spt</b>
| + | |
| - | <br>
| + | |
| - | The purpose of this script is to define ~con1, ~con2, ... ~con10, the atoms in each consurf level. This script does not color or spacefill the atoms. The amino acids per color grade are combined into each ~con## term for all chains as shown in the example script below.
| + | |
| - | | + | |
| - | <tt><pre>
| + | |
| - | </pre></tt>
| + | |