MBG wiki | RecentChanges | Blog | 2021-10-20 | 2021-10-19

Calculation of the evolution of the radius of gyration

Difference (from prior major revision)

Changed: 2c2

< <source>

to

> <code>

Changed: 24c24

< </source>

to

> </code>


xplor it is :

structure @native.psf end

evaluate ($first = 0)
evaluate ($step  = 1)

evaluate ($current = $first)

read trajectory

asci=false
input=fitted.dcd
begin=$first
skip=$step
stop=20000000
end

set display=gyration.list end

while ($status # "COMPLETE") loop traj

coor rgyration end
evaluate ($rg1 = $RG)

coor rgyration mass=true end

display $current $rg1 $RG

evaluate ($current =$current + $step)

read trajectory next end

end loop traj

stop

and then

xmgr -block gyration.list -bxy 1:2 -bxy 1:3

 radius of gyration evolution (xmgr)


You can also do the trick via a tcl script for vmd : see gyration.tcl.