define ~sbPosAtoms ((positive and sidechain and (oxygen or nitrogen)) and within (4.0, negative and sidechain) and (oxygen or nitrogen)) define ~sbNegAtoms ((negative and sidechain and (oxygen or nitrogen)) and within (4.0, positive and sidechain) and (oxygen or nitrogen)) define ~sbAtoms (~sbPosAtoms or ~sbNegAtoms) and (sidechain or *.ca) define ~saltbridges (within(group, ~sbAtoms) and not (backbone and not *.ca)) select ~saltbridges and (not 46, 57, 58, 176) define ~mySaltbridges selected color atoms cpk wireframe 0.3 cpk 0.5 set dotsSelectedOnly select ~mySaltbridges and positive dots color dots red #isosurface sasurface ignore (not selected) 0.1 #color isosurface translucent red select ~mySaltbridges and negative dots color dots blue #isosurface sasurface ignore (not selected) 0.1 #color isosurface translucent blue select ~mySaltbridges and positive color dots red moveto 2.0 { 718 114 -687 134.2} 136.8 0.0 0.0 {5.8269205 30.078653 31.643835} 26.4; select all