-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Xiaogang--
>
> Is there an easy way to make a series of stuctures generated by xplor
> into one ensemble pdb?
>
Try the following script. Use it like this:
./combineModels.py *.pdb > combined.pdb
best regards--
Charles
#!/usr/bin/env python
from sys import argv, stdout
files = argv[1:]
model=1
for file in files:
print "MODEL %8d" % model
stdout.write(open(file).read())
print "ENDMDL"
model += 1
pass
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkqfyhoACgkQPK2zrJwS/lZligCfVb27Z8BXXwf/pITIn78B5iYB
Nj8AnRezqFOLP6vEfmOUSaug9wu0hHT9
=Inr1
-----END PGP SIGNATURE-----
_______________________________________________
Xplor-nih mailing list
[email protected]
http://dcb.cit.nih.gov/mailman/listinfo/xplor-nih