forked from MDAnalysis/mdanalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for reading chainID info from prmtop amber topologies. (M…
…DAnalysis#4007) * Add chainID support for prmtop amber topologies (although default tleap does not add chainID information, parmed does). Parses the optional `%FLAG RESIDUE_CHAINID` in the prmtop. The PRMTOP format definition (most recent from 2004 https://ambermd.org/prmtop.pdf) states "it is allowed to extend the PRMTOP format" so we consider RESIDUE_CHAINID an optional extension. If not present, the file is still parsed and no errors/warnings are raised. * Add tests for chainIDs * updated docs * updated CHANGELOG
- Loading branch information
1 parent
c2e6df9
commit 2acd594
Showing
7 changed files
with
476 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
144 changes: 144 additions & 0 deletions
144
testsuite/MDAnalysisTests/data/Amber/ace_mbondi3.error4.parm7
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
%VERSION VERSION_STAMP = V0001.000 DATE = 09/08/18 15:36:17 | ||
%FLAG TITLE | ||
%FORMAT(20a4) | ||
ACE | ||
%FLAG POINTERS | ||
%FORMAT(10I8) | ||
6 4 3 2 6 1 9 0 0 0 | ||
16 1 2 1 0 3 3 3 4 0 | ||
0 0 0 0 0 0 0 0 6 0 | ||
0 | ||
%FLAG ATOM_NAME | ||
%FORMAT(20a4) | ||
HH31CH3 HH32HH33C O | ||
%FLAG CHARGE | ||
%COMMENT | ||
%BAD LINE | ||
%COMMENT | ||
%FORMAT(5E16.8) | ||
2.04636429E+00 -6.67300626E+00 2.04636429E+00 2.04636429E+00 1.08823576E+01 | ||
-1.03484442E+01 | ||
%FLAG ATOMIC_NUMBER | ||
%FORMAT(10I8) | ||
1 6 1 1 6 8 | ||
%FLAG MASS | ||
%FORMAT(5E16.8) | ||
1.00800000E+00 1.20100000E+01 1.00800000E+00 1.00800000E+00 1.20100000E+01 | ||
1.60000000E+01 | ||
%FLAG ATOM_TYPE_INDEX | ||
%FORMAT(10I8) | ||
1 2 1 1 3 4 | ||
%FLAG NUMBER_EXCLUDED_ATOMS | ||
%FORMAT(10I8) | ||
5 4 3 2 1 1 | ||
%FLAG NONBONDED_PARM_INDEX | ||
%FORMAT(10I8) | ||
1 2 4 7 2 3 5 8 4 5 | ||
6 9 7 8 9 10 | ||
%FLAG RESIDUE_LABEL | ||
%FORMAT(20a4) | ||
ACE | ||
%FLAG RESIDUE_POINTER | ||
%FORMAT(10I8) | ||
1 | ||
%FLAG BOND_FORCE_CONSTANT | ||
%FORMAT(5E16.8) | ||
5.70000000E+02 3.40000000E+02 3.17000000E+02 | ||
%FLAG BOND_EQUIL_VALUE | ||
%FORMAT(5E16.8) | ||
1.22900000E+00 1.09000000E+00 1.52200000E+00 | ||
%FLAG ANGLE_FORCE_CONSTANT | ||
%FORMAT(5E16.8) | ||
5.00000000E+01 3.50000000E+01 8.00000000E+01 | ||
%FLAG ANGLE_EQUIL_VALUE | ||
%FORMAT(5E16.8) | ||
1.91113635E+00 1.91113635E+00 2.10137732E+00 | ||
%FLAG DIHEDRAL_FORCE_CONSTANT | ||
%FORMAT(5E16.8) | ||
8.00000000E-01 0.00000000E+00 8.00000000E-02 | ||
%FLAG DIHEDRAL_PERIODICITY | ||
%FORMAT(5E16.8) | ||
1.00000000E+00 2.00000000E+00 3.00000000E+00 | ||
%FLAG DIHEDRAL_PHASE | ||
%FORMAT(5E16.8) | ||
0.00000000E+00 0.00000000E+00 3.14159400E+00 | ||
%FLAG SCEE_SCALE_FACTOR | ||
%FORMAT(5E16.8) | ||
1.20000000E+00 1.20000000E+00 1.20000000E+00 | ||
%FLAG SCNB_SCALE_FACTOR | ||
%FORMAT(5E16.8) | ||
2.00000000E+00 2.00000000E+00 2.00000000E+00 | ||
%FLAG SOLTY | ||
%FORMAT(5E16.8) | ||
0.00000000E+00 0.00000000E+00 0.00000000E+00 0.00000000E+00 | ||
%FLAG LENNARD_JONES_ACOEF | ||
%FORMAT(5E16.8) | ||
7.51607703E+03 9.71708117E+04 1.04308023E+06 8.61541883E+04 9.24822270E+05 | ||
8.19971662E+05 5.44261042E+04 6.47841731E+05 5.74393458E+05 3.79876399E+05 | ||
%FLAG LENNARD_JONES_BCOEF | ||
%FORMAT(5E16.8) | ||
2.17257828E+01 1.26919150E+02 6.75612247E+02 1.12529845E+02 5.99015525E+02 | ||
5.31102864E+02 1.11805549E+02 6.26720080E+02 5.55666448E+02 5.64885984E+02 | ||
%FLAG BONDS_INC_HYDROGEN | ||
%FORMAT(10I8) | ||
3 6 2 3 9 2 0 3 2 | ||
%FLAG BONDS_WITHOUT_HYDROGEN | ||
%FORMAT(10I8) | ||
12 15 1 3 12 3 | ||
%FLAG ANGLES_INC_HYDROGEN | ||
%FORMAT(10I8) | ||
9 3 12 1 6 3 9 2 6 3 | ||
12 1 0 3 6 2 0 3 9 2 | ||
0 3 12 1 | ||
%FLAG ANGLES_WITHOUT_HYDROGEN | ||
%FORMAT(10I8) | ||
3 12 15 3 | ||
%FLAG DIHEDRALS_INC_HYDROGEN | ||
%FORMAT(10I8) | ||
9 3 12 15 1 9 3 -12 15 2 | ||
9 3 -12 15 3 6 3 12 15 1 | ||
6 3 -12 15 2 6 3 -12 15 3 | ||
0 3 12 15 1 0 3 -12 15 2 | ||
0 3 -12 15 3 | ||
%FLAG DIHEDRALS_WITHOUT_HYDROGEN | ||
%FORMAT(10I8) | ||
|
||
%FLAG EXCLUDED_ATOMS_LIST | ||
%FORMAT(10I8) | ||
2 3 4 5 6 3 4 5 6 4 | ||
5 6 5 6 6 0 | ||
%FLAG HBOND_ACOEF | ||
%FORMAT(5E16.8) | ||
|
||
%FLAG HBOND_BCOEF | ||
%FORMAT(5E16.8) | ||
|
||
%FLAG HBCUT | ||
%FORMAT(5E16.8) | ||
|
||
%FLAG AMBER_ATOM_TYPE | ||
%FORMAT(20a4) | ||
HC CT HC HC C O | ||
%FLAG TREE_CHAIN_CLASSIFICATION | ||
%FORMAT(20a4) | ||
M M E E M E | ||
%FLAG JOIN_ARRAY | ||
%FORMAT(10I8) | ||
0 0 0 0 0 0 | ||
%FLAG IROTAT | ||
%FORMAT(10I8) | ||
0 0 0 0 0 0 | ||
%FLAG RADIUS_SET | ||
%FORMAT(1a80) | ||
ArgH and AspGluO modified Bondi2 radii (mbondi3) | ||
%FLAG RADII | ||
%FORMAT(5E16.8) | ||
1.20000000E+00 1.70000000E+00 1.20000000E+00 1.20000000E+00 1.70000000E+00 | ||
1.50000000E+00 | ||
%FLAG SCREEN | ||
%FORMAT(5E16.8) | ||
8.50000000E-01 7.20000000E-01 8.50000000E-01 8.50000000E-01 7.20000000E-01 | ||
8.50000000E-01 | ||
%FLAG IPOL | ||
%FORMAT(1I8) | ||
0 |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.