Proteopedia:Macros

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Current revision (10:05, 8 August 2025) (edit) (undo)
 
Line 10: Line 10:
** <u>example:</u> peekaboo({998}); peekaboo('ACH');
** <u>example:</u> peekaboo({998}); peekaboo('ACH');
-
*<b>putty(selection)</b> <i>colors protein trace according to B-factor</i>
+
*<b>putty(selection,scheme)</b> <i>colors protein trace according to B-factor and applies trace thickness proportional to B-factor value</i>
** param <u>selection</u> what portion to color
** param <u>selection</u> what portion to color
 +
** optional param <u>scheme</u>, if it is "wr" colors using gradient from white (low B) to red (high B); if absent or any other value, colors using the standard blue-white-red gradient (low to high B)
** <u>import</u> script /mc/aherraez.spt
** <u>import</u> script /mc/aherraez.spt
-
** <u>example</u> putty( {protein} ); putty( {*:A}, "wr" ); putty( {*:B}, "" );
+
** <u>example</u> putty( {protein} ); putty( {*:A}, "wr" ); putty( {*:B} );
*<b>wobble()</b>
*<b>wobble()</b>

Current revision

  • blink(ligand)
    • import: script /mc/ktheis.spt;
  • bobble()
    • import: script /mc/ktheis.spt;
  • peekaboo(ligand) hides ligand for 0.5 seconds by Karsten Theis
    • param ligand: what to hide/show
    • import: script /mc/ktheis.spt;
    • example: peekaboo({998}); peekaboo('ACH');
  • putty(selection,scheme) colors protein trace according to B-factor and applies trace thickness proportional to B-factor value
    • param selection what portion to color
    • optional param scheme, if it is "wr" colors using gradient from white (low B) to red (high B); if absent or any other value, colors using the standard blue-white-red gradient (low to high B)
    • import script /mc/aherraez.spt
    • example putty( {protein} ); putty( {*:A}, "wr" ); putty( {*:B} );
  • wobble()
    • import: script /mc/ktheis.spt;

For more about Macros and how to use them, see Proteopedia:DIY:Macros.

Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky, OCA, Angel Herraez, Wayne Decatur

Personal tools