set numFrame molinfo top get numframesset out open rytxt w for set i 0 $i $numFrame incr i set hnumber atomselect top noh same resid as resname SOL and within 5 of resname CA$hnumber frame $i$hnumber
这段命令是在计算分子模拟中的每个帧中与蛋白质CA残基周围5埃范围内的水分子数量,并将结果写入一个名为"ry.txt"的文件中。
原文地址: https://www.cveoy.top/t/topic/ibRm 著作权归作者所有。请勿转载和采集!