The following script reads in a pdb file, displays the protein as a ribbon, the ligand(s) as ball and stick and then displays all hydrogen bonds between the ligand(s) and protein. Those residues in the protein which are involved in hydrogen bonds with the ligand(s) will have their atoms displayed as lines while all other protein residues are undisplayed.

Thanks for providing the script. However I am struggling a bit with a desired customization of this script you shared.
Scenario: There are multiple xray structures of a same protein (say 15). I need to ennumerate all the conserved water molecules in it in order to determine which ones are important for further investigation. For this, I perhaps would just require a script to load all pdb files in a specified folder and do ennumerate protein ligand interacitons with water residues.
I am using your script, but as it is limited to viewing protein ligand interaction to a user specified pdb ID, I request your time to help me out.
regards,
Dilip
thanks for the script. Currently we are using DS 2.0 and I get the following error during execution of the script. Any suggestions please?
Not enough arguments for DSCommands::GetLigands at file line 71, near "$document)"
Execution of script aborted due to compilation errors.