Please read the explanatory material at the beginning of this thread, and make sure you completely understand the difference between the RESID and RESNO (a.k.a. IRES). Once you do, how to calculate the needed OFFSET should be clear.


Rick Venable
computational chemist