Proteopedia talk:Development: Difference between revisions
Focus on ligands and sites - proposals for improvement |
Focus on ligands and sites - proposals for improvement |
||
Line 57: | Line 57: | ||
* '''Proposal C:''' additionally, if the ligand is very small (e.g. Zn2+), zoom should be reduced, maybe checking its size or mass within the Jmol script. | * '''Proposal C:''' additionally, if the ligand is very small (e.g. Zn2+), zoom should be reduced, maybe checking its size or mass within the Jmol script. | ||
:This does not seem necessary in full model display, since the contacting sidechains make the group larger, but in simplified display the ligand is alone. Zn has a volume of 4 (or 11?), sulphate has a volume of 70. | |||
<pre> | |||
select (ligOne , ligContact); | |||
if ( {selected}.volume.sum > 100 ) { zoomTo 0.5 {selected} 0 *0.8; } else { zoomTo 0.5 {selected} 0 *0.5; } | |||
</pre> |