Proteopedia:Macros
From Proteopedia
(Difference between revisions)
												
			
			| m  (add link to a page for resources of how to use macros) | |||
| Line 1: | Line 1: | ||
| *<b>blink(ligand)</b> | *<b>blink(ligand)</b> | ||
| ** <u>import:</u> script /mc/ktheis.spt; | ** <u>import:</u> script /mc/ktheis.spt; | ||
| + | |||
| *<b>bobble()</b> | *<b>bobble()</b> | ||
| ** <u>import:</u> script /mc/ktheis.spt; | ** <u>import:</u> script /mc/ktheis.spt; | ||
| + | |||
| *<b>peekaboo(ligand)</b> <i>hides ligand for 0.5 seconds</i>  by [[User:Karsten Theis|Karsten Theis]]  | *<b>peekaboo(ligand)</b> <i>hides ligand for 0.5 seconds</i>  by [[User:Karsten Theis|Karsten Theis]]  | ||
| ** param <u>ligand:</u> what to hide/show | ** param <u>ligand:</u> what to hide/show | ||
| ** <u>import:</u> script /mc/ktheis.spt; | ** <u>import:</u> script /mc/ktheis.spt; | ||
| ** <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> | ||
| + | ** param <u>selection</u> what portion to color | ||
| + | ** <u>import</u> script /mc/aherraez.spt | ||
| + | ** <u>example</u> putty( {protein} ); putty( {*:A}, "wr" ); putty( {*:B}, "" ); | ||
| + | |||
| *<b>wobble()</b> | *<b>wobble()</b> | ||
| ** <u>import:</u> script /mc/ktheis.spt; | ** <u>import:</u> script /mc/ktheis.spt; | ||
| For more about Macros and how to use them, see [[Proteopedia:DIY:Macros]]. | For more about Macros and how to use them, see [[Proteopedia:DIY:Macros]]. | ||
Revision as of 20:42, 7 August 2025
- 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) colors protein trace according to B-factor
- param selection what portion to color
- 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.
