Pymol获得蛋白中二级结构信息
2018-4-18 16:42
阅读:6459
open("d:/secondary.txt","w").writelines( ["Residue %s: %s\n"%(a.resi,a.ss) for a in cmd.get_model("protein-name" +" and n. ca").atom] )
其中protein-name需要替换成序列名称,结果会保存到d:/secondary.txt
转载本文请联系原作者获取授权,同时请注明本文来自陈泽庸科学网博客。
链接地址:https://wap.sciencenet.cn/blog-3196388-1109633.html?mobile=1
收藏
当前推荐数:0
推荐到博客首页
网友评论0 条评论