复刻一篇论文中蛋白质结构预测过程2

通过Modeller进行多模版建模
论文中分别选择4HXC作为1-180位氨基酸序列的模板、2OKX作为181-530位的模版、3W5M作为531-639位的模版

下载三个模版的PDB文件,复制单模版建模时用过的KC750908.pir
修改salign.py对齐三个PDB文件

# Illustrates the SALIGN multiple structure/sequence alignment

from modeller import *

log.verbose()
env = environ()
env.io.atom_files_directory = './:../atom_files/'

aln = alignment(env)
for (code, chain) in (('4hxc', 'A'), ('2okx', 'A'), ('3w5m', 'A')):
    mdl = model(env, file=code, model_segment=('FIRST:'+chain, 'LAST:'+chain))
    aln.append_model(mdl, atom_files=code, align_codes=code+chain)

for (weights, write_fit, whole) in (((1., 0., 0., 0., 1., 0.), False, True),
                                    ((1., 0.5, 1., 1., 1., 0.), False, True),
                                    ((1., 1., 1., 1., 1., 0.), True, False)):
    aln.salign(rms_cutoff=3.5, normalize_pp_scores=False,
               rr_file='$(LIB)
  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
您好!如果您想复刻一个树形结构的元素,可以使用HTML和CSS来实现。下面是一个简单的示例,展示如何创建一个树形结构的HTML元素: ```html <!DOCTYPE html> <html> <head> <style> /* 树形结构样式 */ .tree { margin-left: 40px; } .tree ul { padding-top: 20px; position: relative; padding-left: 20px; display: block; } .tree ul:before { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 100%; border-left: 1px solid #ccc; } .tree li { list-style-type: none; margin: 0; padding: 10px 5px 0 5px; position: relative; text-align: left; } .tree li::before { content: ""; position: absolute; top: -12px; left: -20px; width: 1px; height: 100%; border-left: 1px solid #ccc; } .tree li::after { content: ""; position: absolute; top: -7px; left: -20px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ccc; background-color: #fff; } .tree li:last-child::before { height: 30px; } .tree li:last-child::after { top: -17px; height: 30px; border-color: transparent; } /* 其他样式 */ .tree li span { padding: 5px; border-radius: 5px; background-color: #f2f2f2; } </style> </head> <body> <div class="tree"> <ul> <li> <span>根节点</span> <ul> <li> <span>子节点1</span> <ul> <li><span>子节点1.1</span></li> <li><span>子节点1.2</span></li> </ul> </li> <li><span>子节点2</span></li> </ul> </li> </ul> </div> </body> </html> ``` 在上面的示例,我们使用了无序列表 (`<ul>`) 和列表项 (`<li>`) 来构建树形结构。使用伪元素 (::before 和 ::after) 来绘制连接线和节点图标。 您可以根据需要调整样式和内容,添加更多的节点和子节点来形成更复杂的树形结构。希望对您有帮助!如果您有任何其他问题,请随时问我。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值