-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancements and improvements to the 'prepareforleap' command #951
Conversation
is bonded to the anomeric carbon
stereochemistry.
std::vector<int>
Add search for index.
CalcAnomericRefTorsion
to prepareforleap command.
The PGI build in Jenkins failed. |
This pull request introduces 2 alerts when merging fe5f462 into 8a1543b - view on LGTM.com new alerts:
|
prepareforleap test.
This pull request introduces 2 alerts when merging 820b86e into 8a1543b - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging fd1d10e into 8a1543b - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 2d76462 into 8a1543b - view on LGTM.com new alerts:
|
Version 6.4.0.
The
prepareforleap
command has been in cpptraj for a while but has been hidden. It has now progressed enough to where it can be officially released.The
prepareforleap
command will prepare a structure (usually from a PDB) for processing with the Amber program LEaP to generate topology and coordinates files for MD simulations. It will handle things like choosing alternate atom locations, removing waters/hydrogen atoms from the structure, renaming residues and generating 'bond' commands for disulfide bonds, change histidine names based on any existing protonation, and (perhaps most importantly) renaming residues/atoms and generating LEaP 'bond' commands for carbohydrates. The command can also call LEaP directly to generate the parameters once the structure is prepared. Although the command is currently Amber/GLYCAM focused, it can be customized viadat/Carbohydrate_PDB_Glycam_Names.txt
and keywords for potential use with other force fields. More details are in an upcoming publication.If hydrogen atoms are present in the structure, the command will attempt a simple and straightforward determination of the protonation state of any histidine residues based on where hydrogens are bonded, and assign the appropriate residue name. The command will also identify any existing disulfide bonds as well as potential disulfide bonds and generate the corresponding LEaP ‘bond’ commands which can be applied after the structure is loaded in LEaP. Potential disulfide bonding atoms can be identified via a user-specifiable mask expression.
By default, sugars will have their residue names changed to those compatible with the GLYCAM force field based on their anomer type (alpha/beta), configuration (D/L), and linkages (glycosidic and covalent sugar to non-sugar). Any recognized functional groups that are part of sugar residues (hydroxyl, acetyl, sulfate, etc) will be split into separate residues as required by GLYCAM. If this happens and 'runleap' has not been specified, CPPTRAJ will warn about any residues/atoms that require charge to be adjusted. If 'runleap' has not been specified the command will warn about any atoms that need to have their charges adjusted after LEaP is run.
The command will try to report any potential problems that LEaP might encounter. These include residue names that may be unrecognized (and therefore may not have parameters), mismatches between detected sugar anomer type/configuration and anomer type/configuration based on the sugar residue name, unrecognized sugar linkages, and so on.
For example, the following input prepares PDB 4zzw for processing with PDB, putting the proper leap commands in leap.4zzw.in, writing the prepared PDB to 4zzw.cpptraj.pdb, removing waters and hydrogen atoms, and keeping alternate atom locations with the highest occupancy: