# Radius of Gyration

**URL:** <https://gromacs.bioexcel.eu/t/radius-of-gyration/6654>\
**Category:** User discussions\
**Created:** [June 21, 2023, 3:19am UTC](https://gromacs.bioexcel.eu/t/radius-of-gyration/6654 "2023-06-21T03:19:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patelurvl22](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@patelurvl22](https://gromacs.bioexcel.eu/u/patelurvl22)\
**Post date:** [June 21, 2023, 3:19am UTC](https://gromacs.bioexcel.eu/t/radius-of-gyration/6654/1 "2023-06-21T03:19:43Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question

Hello there,

I have few queries, first I have simulated a protein using simulated annealing from 300K to 500K. I want to obtain radius of gyration of this simulated annealing trajectory with reference to initial structure. can I do it ?? I simply want to be able distinguish whether my protein is completely disorder in compare to initial structure. I have tried dssp analysis using mdtraj library and my dssp plot didnt make any sense(still have secondary structure). Do you guys have any other way besides Rg to determine whether my protein is completely lost its native state.?? As well as if I can compare my Rg in reference to initial structure, that way I will be able to distinguish the state

Thank you for your help and time

---

<div class="post-metadata">

**Author:** ![jabode](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jabode](https://gromacs.bioexcel.eu/u/jabode)\
**Post date:** [June 22, 2023, 10:16am UTC](https://gromacs.bioexcel.eu/t/radius-of-gyration/6654/2 "2023-06-22T10:16:56Z")

</div>

Hi patelurvl22,

you can calculate the radius of gyration via the function “gyrate”. As far as I understand it gyrate calculates the radius of gyration for each time step of your trajectory. So you could see how the radius of gyration changes with time.  
Because I did not find information about wether gyrate considers periodic boundary conditions, I ran a test with rather large molecules (pentaerythritol tetraoctanoate):  
I calculated the radius of gyration once from the PBC-uncorrected trajectory and once with a PBC-corrected trajectory (trjconv with the flag -pbc whole) and the results were identical.  
So I would conclude that the program takes pbc into consideration by itself without the need to convert the trajectory, though a confirmation would be welcome.

best regards  
Jan
