Ensure all PDB-related Amber Topology sections are read and written#853
Merged
drroe merged 15 commits intoAmber-MD:masterfrom Oct 16, 2020
Merged
Ensure all PDB-related Amber Topology sections are read and written#853drroe merged 15 commits intoAmber-MD:masterfrom
drroe merged 15 commits intoAmber-MD:masterfrom
Conversation
…. This situation usually occurs when alternate sites are present (which is allowable), and there is no reason why a residue cannot be part of 2 molecules. The less cpptraj alters topology without user input the better.
…r to detect if the arrays are actually present or not, and hence whether they should be written to an output topology.
…. Add "AddX" routines for the extra arrays.
…ere, but makes it so that the flag isnt lost when reading/writing.
…r, occupancy, serial numbers
Collaborator
|
The PGI build in Jenkins failed. |
|
This pull request fixes 2 alerts when merging eaa1e74 into 9e5c2e3 - view on LGTM.com fixed alerts:
|
This was referenced Oct 17, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds support for reading/writing the
ATOM_BFACTOR,ATOM_OCCUPANCY, andATOM_NUMBERflags from Amber Topology files. Under the hood, the arrays that store such variables which were previously in a combined "extra" array are now all separate to make it easier to know when a topology has e.g. B-factors. Adds a test underTest_Stripto make sure this info is properly handled.Also, now residues can now correspond to separate molecules - this can happen when e.g. alternate sites are present. Previously, residues in topologies were automatically renumbered when this happened - this is now controlled by the new
renumresidueskeyword to theparmcommand.