From: Monika Madhavi (monikamadhavi_at_gmail.com)
Date: Sun Mar 08 2015 - 12:17:16 CDT

Thanks Joaquim. Actually i set N outside the loop. What i want is to write
all the coordinates in a single pdb file. As an example, something like

If my molecule is water,

Resid atomname coordinates
1 H1 .........
1 H2 ........
1 OH .........
2 H1 .........
2 H1 ..........
2 OH .........