I wanted to asked if there is a way to restrain the side-chain dihedrals
to angles of my choosing. If so could you please provide a brief sample
code of how to do it?
Yes, of course - you can add a custom dihedral restraint, e.g. to
harmonically restrain chi1 in a CYS residue to 90 degrees, you could use: