Issue 48: fix residue coordinates by aligning index group #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If the residue numbering is not continuously the assignment to the atomic coordinates can be challenging. Therefore, it is strongly recommended to use the renumbering feature during the FDA run (https://github.com/HITS-MBM/gromacs-fda#residue-renumbering). If this is not possible, what ever the reason may be, a workaround could be to align the index group.
In the example
src/gromacs/gmxana/fda/tests/data/alagly/conf.gro
alanine has the residue number2
and glycine3
. It is possible to add an index group (e.g.C-alpha
), which is in alignment to the desired atomic coordinate. Here: Residue2
is using the coordinate of atom5
and residue3
of atom15
, which are the alpha-carbon atoms.