| 查看: 2342 | 回复: 0 | |||
[求助]
VMD分析残基RMSD
|
看网上说用VMD自带的rmsd-fullthrottle.tcl文件就可以对指定残基计算RMSD,但是这个文件不是很明白(对程序一点都不明白 ),想问一下有没有用这个程序计算RMSD的?我对这个文件里面应该修改什么?或者能不能给个具体步骤?一点头绪都没有!# This script contains a procedure called rmsd_residue_over_time that calculates the average RMSD for each residue in a selection over all frames in a trajectory. The procedure is called as: # rmsd_residue_over_time mol sel_resid #where mol is the molecule in VMD and sel_resid is a list of the residue numbers in that selection. #You can use the procedure for any residue or list of residues. Here, as an example, we will make a selection for all residues in the protein. Note that this will take a long time to calculate: set sel_resid [[atomselect top "protein and alpha"] get resid] #The procedure is presented below. It also sets the B value to the value calculated, so you can color the protein by RMSD. The call for the procedure is at the end of the file. proc rmsd_residue_over_time {{mol top} res} { # use frame 0 for the reference set reference [atomselect 1 "protein" frame 0] # the frame being compared set compare [atomselect $mol "protein"] #make a selection with all atoms set all [atomselect top all] #get the number of frames set num_steps [molinfo $mol get numframes] foreach r $res { set rmsd($r) 0 } #loop over all frames in the trajectory for {set frame 1} {$frame < $num_steps} {incr frame} { puts "Calculating rmsd for frame $frame ..." # get the correct frame $compare frame $frame # compute the transformation set trans_mat [measure fit $compare $reference] # do the alignment $all move $trans_mat # compute the RMSD #loop through all residues foreach r $res { set ref [atomselect $mol "chain U and resid $r and noh" frame 0] set comp [atomselect $mol "chain U and resid $r and noh" frame $frame] set rmsd($r) [expr $rmsd($r) + [measure rmsd $comp $ref]] $comp delete $ref delete } } set ave 0 foreach r $res { set rmsd($r) [expr $rmsd($r)/$num_steps] # print the RMSD puts "RMSD of residue $r is $rmsd($r)" set res_b [atomselect $mol "resid $r"] $res_b set beta $rmsd($r) $res_b delete set ave [expr $ave + $rmsd($r)] } set ave [expr $ave/[llength $res]] puts " Average rmsd per residue: $ave" } #Call the procedure rmsd_residue_over_time top $sel_resid |
» 猜你喜欢
表哥与省会女结婚,父母去帮带孩子被省会女气回家生重病了
已经有12人回复
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有14人回复
江汉大学解明教授课题组招博士研究生/博士后
已经有3人回复
AI 太可怕了,写基金时,提出想法,直接生成的文字比自己想得深远,还有科学性
已经有11人回复
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有11人回复
找到一些相关的精华帖子,希望有用哦~
邻硝基苄负离子
已经有5人回复
3-甲基-2噻吩甲醛的2位上溴问题
已经有15人回复
转基因植物安全吗?
已经有12人回复
【求助】关于BOC保护胺基的反应后处理问题!!!
已经有10人回复
青基参与人有无年龄限制
已经有4人回复
含有苄溴的硝基苯的还原问题
已经有10人回复
急问:青基,参考文献要实行实引制吗?即文中提到的文献与后面的参考文献一一对应吗?
已经有9人回复
青基排版格式的-括号内的内容删除了没?急啊
已经有4人回复
液相的基线一直波动是怎么回事
已经有9人回复
醛转化成氰基 能一步到位吗
已经有3人回复
聚合物以及聚合物基复合材料断裂韧性GIC或者KIC测试
已经有6人回复
转基因植株的RT-PCR结果分析
已经有8人回复
国青基申请人介绍,没有留参加人的介绍的框啊
已经有4人回复
【求助】最终RMSD结果终于分析出来了,但是很不好。
已经有5人回复
【求助】DLPOLY计算出来的结果,是否要编程才能分析?
已经有15人回复
【求助】(请教!!)如何在VMD中对结构图形中的特定残基进行标记??
已经有9人回复
科研从小木虫开始,人人为我,我为人人













),想问一下有没有用这个程序计算RMSD的?我对这个文件里面应该修改什么?或者能不能给个具体步骤?一点头绪都没有!
回复此楼
点击这里搜索更多相关资源