if (!useFullScript) { showFullLoadButton(false); echoLoading('Loading full model ...','translucent 0.7 gray'); load; numModelsLoaded = 0; /* reset any previous value 1; is this needed here? */ script '/wiki/extensions/Proteopedia/spt/initialview03.spt'; } spin off; select not hetero; ribbons on; select all; color translucent gainsboro; select ligand; spacefill; color translucent -1 cpk; select [] and hetero; spacefill; color opaque cpk; // Select for focus only the first ligand when there are several with same name nc = {[]}.chainNo.min; define ligOne [] and chainNo=nc; nc = {ligOne}.resNo.min; define ligOne ligOne and resNo=nc; define ligContact within(4.0, ligOne) and protein; define ligContact within(group,ligContact); 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; rotate best; zoomTo 0.5 { (ligOne , ligContact )} 0 *0.8; select all; set echo ~lig 50% 0%; set echo ~lig center; font echo 12 sanserif bold; color echo red; echo ""; delay 1.0;