cg_openmm icon indicating copy to clipboard operation
cg_openmm copied to clipboard

Make the native contact symmetry checks more general

Open cwalker7 opened this issue 3 years ago • 0 comments

Right now, we can scan the forward and reverse orientations of a linear homopolymer chain which has end-to-end symmetry by setting homopolymer_sym=True in the fraction_native_contacts function, and the higher of the two native contact fractions is used. The symmetry check is needed because the particle indices in the native structure may be the reverse of that in the current structure.

There are checks in place on the cgmodel that only allow this option to be used for linear homopolymer chains, since it currently does not work for models with sidechains. It would be useful to make the symmetry check more general - this would require some parsing of the topology, and determining what the particle indices in the reversed structure are.

cwalker7 avatar Dec 20 '21 22:12 cwalker7

https://github.com/melpa/melpa/pull/5551

lmartel avatar Jun 21 '18 23:06 lmartel