TestHbonds
From Proteopedia
(Difference between revisions)
												
			
			| (3 intermediate revisions not shown.) | |||
| Line 20: | Line 20: | ||
*Script used for <scene name='86/861331/Cv/2'>initial scene</scene>.  | *Script used for <scene name='86/861331/Cv/2'>initial scene</scene>.  | ||
*<scene name='86/861331/Cv/6'>New scene1</scene>  | *<scene name='86/861331/Cv/6'>New scene1</scene>  | ||
| - | *<scene name='86/861331/Cv/  | + | |
| + | nc = {[NAD]}.chainNo.min;  | ||
| + | define ligOne [NAD] and chainNo=nc;  | ||
| + | nc = {ligOne}.resNo.min;  | ||
| + | define ligOne ligOne and resNo=nc;  | ||
| + | |||
| + | define ligContact within(3.5, ligOne) and protein;   | ||
| + | define ligContact within(group,ligContact);  | ||
| + | select ligContact and (hydrogens); hide selected;   | ||
| + | select ligContact and sidechain; color cpk;   | ||
| + | select ligContact and (sidechain,alpha); wireframe 0.3;   | ||
| + | select ligContact and *.CB; label %m%r;   | ||
| + | background label yellow; color labels black;  | ||
| + | zoomTo 0.5 { (ligOne , ligContact )} 0 *1.5;  | ||
| + | |||
| + | *Script used for <scene name='86/861331/Cv/2'>initial scene</scene>.  | ||
| + | *<scene name='86/861331/Cv/12'>New scene2</scene>  | ||
| + | |||
| + | nc = {[NAD]}.chainNo.min;  | ||
| + | define ligOne [NAD] and chainNo=nc;  | ||
| + | nc = {ligOne}.resNo.min;  | ||
| + | define ligOne ligOne and resNo=nc;  | ||
| + | |||
| + | define ligContact within(3.5, ligOne) and protein;  | ||
| + | select ligOne and (hydrogens); hide selected;  | ||
| + | define ligContact within(group,ligContact);  | ||
| + | select ligContact and (hydrogens); hide selected;   | ||
| + | select ligContact and sidechain; color cpk;   | ||
| + | select ligContact and (sidechain,alpha); wireframe 0.2;   | ||
| + | select ligContact and *.CB; label %m%r;  | ||
| + | background label yellow; color labels black;  | ||
| + | select ligContact and (carbons) and (sidechain); color magenta;  | ||
| + | zoomTo 0.5 { (ligOne , ligContact )} 0 *1.5;  | ||
| + | |||
| + | *Script used for <scene name='86/861331/Cv/2'>initial scene</scene>.  | ||
| + | *<scene name='86/861331/Cv/13'>New scene3</scene>  | ||
</StructureSection>  | </StructureSection>  | ||
== References ==  | == References ==  | ||
<references/>  | <references/>  | ||
Current revision
  | |||||||||||
