Skip to content

Ensure all PDB-related Amber Topology sections are read and written#853

Merged
drroe merged 15 commits intoAmber-MD:masterfrom
drroe:pdb_improvements
Oct 16, 2020
Merged

Ensure all PDB-related Amber Topology sections are read and written#853
drroe merged 15 commits intoAmber-MD:masterfrom
drroe:pdb_improvements

Conversation

@drroe
Copy link
Copy Markdown
Contributor

@drroe drroe commented Oct 16, 2020

Adds support for reading/writing the ATOM_BFACTOR, ATOM_OCCUPANCY, and ATOM_NUMBER flags 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 under Test_Strip to 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 renumresidues keyword to the parm command.

@drroe drroe self-assigned this Oct 16, 2020
@AmberJenkins
Copy link
Copy Markdown
Collaborator

The PGI build in Jenkins failed.

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Oct 16, 2020

This pull request fixes 2 alerts when merging eaa1e74 into 9e5c2e3 - view on LGTM.com

fixed alerts:

  • 2 for FIXME comment

@drroe drroe merged commit a87c9fd into Amber-MD:master Oct 16, 2020
@drroe drroe deleted the pdb_improvements branch October 16, 2020 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants