计算化学公社

标题: 求助:将周期性模型xyz文件转化为sdf文件 [打印本页]

作者
Author:
LGX    时间: 2023-4-29 16:24
标题: 求助:将周期性模型xyz文件转化为sdf文件
各位老师好,我想寻求一下将周期性模型的xyz文件转化为sdf文件的脚本,模型原子数小于7000,但是存在周期性结构,请求一下各位老师有没有相应的脚本


作者
Author:
rpestana94    时间: 2023-4-30 00:49
Maybe openbabel can do the trick but I don't think you can save the periodic information in the sdf file
作者
Author:
sobereva    时间: 2023-4-30 02:44
没有这种脚本

推荐做法是手动在xyz文件里加入晶胞信息,看下文第2节,然后将改过的xyz文件载入Multiwfn,用主功能100的子功能2导出为cif,然后gview载入cif,保存成sdf
使用Multiwfn非常便利地创建CP2K程序的输入文件
http://sobereva.com/587http://bbs.keinsci.com/thread-21668-1-1.html
作者
Author:
LGX    时间: 2023-5-1 09:09
rpestana94 发表于 2023-4-30 00:49
Maybe openbabel can do the trick but I don't think you can save the periodic information in the sdf  ...

确实,我用openbabel转化过,识别的原子数不全,缺少周期性信息




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3