-
Notifications
You must be signed in to change notification settings - Fork 824
Open
Description
Expected behaviour
Calculating correct radius of gyration when protein is split on the periodic boundary and we set pbc=True
Actual behaviour
Neither with the pbc option set or without it do I get the correct radius of gyration. This is because to correctly handle the split of a protein on periodic boundaries we would need to recombine proteins that are split (unwrap them)
Example protein for which the correct value should be 2-4 nm.
Code to reproduce the behaviour
import MDAnalysis as mda
u = mda.Universe('protein.gro')
u.atoms.radius_of_gyration(pbc=True)Currently version of MDAnalysis:
(run python -c "import MDAnalysis as mda; print(mda.__version__)")
Reactions are currently unavailable