[ase-users] From CIF files to XYZ
Landi, Alessandro
Alessandro.Landi at liverpool.ac.uk
Fri Dec 8 13:19:29 CET 2017
Hello everyone.
I am using ASE to read some CIF files and (among other things) to convert the structure in xyz format.
However using the following commands:
ase.io.read('filename.cif', atoms_ase)
ase.io.write('filename.xyz', atoms_ase)
I obtain a wrong structure, since the molecules need to be reconnected. This happens for all the molecules I have tested (about 20).
Could you please explain me what I am doing wrong?
If could be of any help, I attached an example:
"pentacene.cif" is the cif file that I give as input to ASE;
"pentacene.xyz" is the xyz file written by ASE;
"realstructure.xyz" is the structure of the reconnected molecules (obtained using CCDC Mercury)
Best regards,
Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20171208/52dadc97/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pentacene.cif
Type: chemical/x-cif
Size: 5281 bytes
Desc: pentacene.cif
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20171208/52dadc97/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pentacene.xyz
Type: application/octet-stream
Size: 4727 bytes
Desc: pentacene.xyz
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20171208/52dadc97/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: realstructure.xyz
Type: application/octet-stream
Size: 3460 bytes
Desc: realstructure.xyz
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20171208/52dadc97/attachment-0001.obj>
More information about the ase-users
mailing list