You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It seems that dummy atom atomtypes are no longer written to GROMACS topology files, which might have been caused by some of the recent changes to the dummy atom code (not outputting them when LJ params are 0?). When looking at a GROMACS input file, I can see:
[ atomtypes ]
; name at.num mass charge ptype sigma epsilon
2C 6 12.010700 0.000000 A 0.339967 0.457730
3C 6 12.010700 0.000000 A 0.339967 0.457730
C 6 12.010700 0.000000 A 0.339967 0.359824
C8 6 12.010700 0.000000 A 0.339967 0.457730
CA 0 0.000000 0.000000 A 0.339967 0.000000
CC 6 12.010700 0.000000 A 0.339967 0.359824
CO 6 12.010700 0.000000 A 0.339967 0.359824
CR 6 12.010700 0.000000 A 0.339967 0.359824
CT 6 12.010700 0.000000 A 0.339967 0.457730
CW 6 12.010700 0.000000 A 0.339967 0.359824
CX 6 12.010700 0.000000 A 0.339967 0.457730
H 1 1.007940 0.000000 A 0.106908 0.065689
H1 1 1.007940 0.000000 A 0.247135 0.065689
H4 1 1.007940 0.000000 A 0.251055 0.062760
H5 1 1.007940 0.000000 A 0.242146 0.062760
HA 1 1.007940 0.000000 A 0.259964 0.062760
HC 1 1.007940 0.000000 A 0.264953 0.065689
HO 1 1.007940 0.000000 A 0.000000 0.000000
HP 1 1.007940 0.000000 A 0.195998 0.065689
HS 1 1.007940 0.000000 A 0.106908 0.065689
Hx 0 0.000000 0.000000 A 0.106908 0.000000
N 7 14.006700 0.000000 A 0.325000 0.711280
N2 0 0.000000 0.000000 A 0.325000 0.000000
N3 7 14.006700 0.000000 A 0.325000 0.711280
NA 7 14.006700 0.000000 A 0.325000 0.711280
NB 7 14.006700 0.000000 A 0.325000 0.711280
O 8 15.999400 0.000000 A 0.295992 0.878640
O2 8 15.999400 0.000000 A 0.295992 0.878640
OH 8 15.999400 0.000000 A 0.306647 0.880314
S 16 32.065000 0.000000 A 0.356359 1.046000
SH 16 32.065000 0.000000 A 0.356359 1.046000
Whereas with my previous input files saved with an older BioSimSpace version (about 2-3 weeks ago):
[ atomtypes ]
; name at.num mass charge ptype sigma epsilon
2C 6 12.010700 0.000000 A 0.339967 0.457730
2C_du 0 0.000000 0.000000 A 0.000000 0.000000
3C 6 12.010700 0.000000 A 0.339967 0.457730
C 6 12.010700 0.000000 A 0.339967 0.359824
C8 6 12.010700 0.000000 A 0.339967 0.457730
CA 6 12.010700 0.000000 A 0.339967 0.359824
CC 6 12.010700 0.000000 A 0.339967 0.359824
CO 6 12.010700 0.000000 A 0.339967 0.359824
CO_du 0 0.000000 0.000000 A 0.000000 0.000000
CR 6 12.010700 0.000000 A 0.339967 0.359824
CT 6 12.010700 0.000000 A 0.339967 0.457730
CW 6 12.010700 0.000000 A 0.339967 0.359824
CX 6 12.010700 0.000000 A 0.339967 0.457730
Cl 17 35.453000 0.000000 A 0.440104 0.418400
H 1 1.007940 0.000000 A 0.106908 0.065689
H1 1 1.007940 0.000000 A 0.247135 0.065689
H4 1 1.007940 0.000000 A 0.251055 0.062760
H5 1 1.007940 0.000000 A 0.242146 0.062760
HA 1 1.007940 0.000000 A 0.259964 0.062760
HC 1 1.007940 0.000000 A 0.264953 0.065689
HC_du 0 0.000000 0.000000 A 0.000000 0.000000
HO 1 1.007940 0.000000 A 0.000000 0.000000
HP 1 1.007940 0.000000 A 0.195998 0.065689
HS 1 1.007940 0.000000 A 0.106908 0.065689
HW 1 1.007940 0.000000 A 0.000000 0.000000
HW_du 0 0.000000 0.000000 A 0.000000 0.000000
N 7 14.006700 0.000000 A 0.325000 0.711280
N2 7 14.006700 0.000000 A 0.325000 0.711280
N3 7 14.006700 0.000000 A 0.325000 0.711280
NA 7 14.006700 0.000000 A 0.325000 0.711280
NB 7 14.006700 0.000000 A 0.325000 0.711280
Na 11 22.989770 0.000000 A 0.332840 0.011590
O 8 15.999400 0.000000 A 0.295992 0.878640
O2 8 15.999400 0.000000 A 0.295992 0.878640
O2_du 0 0.000000 0.000000 A 0.000000 0.000000
OH 8 15.999400 0.000000 A 0.306647 0.880314
OW 8 15.999400 0.000000 A 0.315061 0.636386
S 16 32.065000 0.000000 A 0.356359 1.046000
SH 16 32.065000 0.000000 A 0.356359 1.046000
The dummy atoms themselves are still written to the [atoms] directive in the topology file (as before), they are just missing in the [atomtypes] directive
Without the dummy atom types, grompp will refuse to solvate input files containing dummy atoms, so this bug also breaks the Hydration free energy tutorial code.
Could you update sire. This was a bug there. The LJParameters object has an isDummy method that was only returning true if both the sigma and epsilon value were zero, which is no longer the case for dummy atoms. This went in as part of another PR, so might not have been obvious.
Yes, that fixed the issue, thanks! I had to rebuild my BSS conda environment from scratch because for some reason it wouldn't allow updating to a newest sire version (apparently 2024.1.0.dev was the latest it could support).
Describe the bug
It seems that dummy atom atomtypes are no longer written to GROMACS topology files, which might have been caused by some of the recent changes to the dummy atom code (not outputting them when LJ params are 0?). When looking at a GROMACS input file, I can see:
[ atomtypes ] ; name at.num mass charge ptype sigma epsilon 2C 6 12.010700 0.000000 A 0.339967 0.457730 3C 6 12.010700 0.000000 A 0.339967 0.457730 C 6 12.010700 0.000000 A 0.339967 0.359824 C8 6 12.010700 0.000000 A 0.339967 0.457730 CA 0 0.000000 0.000000 A 0.339967 0.000000 CC 6 12.010700 0.000000 A 0.339967 0.359824 CO 6 12.010700 0.000000 A 0.339967 0.359824 CR 6 12.010700 0.000000 A 0.339967 0.359824 CT 6 12.010700 0.000000 A 0.339967 0.457730 CW 6 12.010700 0.000000 A 0.339967 0.359824 CX 6 12.010700 0.000000 A 0.339967 0.457730 H 1 1.007940 0.000000 A 0.106908 0.065689 H1 1 1.007940 0.000000 A 0.247135 0.065689 H4 1 1.007940 0.000000 A 0.251055 0.062760 H5 1 1.007940 0.000000 A 0.242146 0.062760 HA 1 1.007940 0.000000 A 0.259964 0.062760 HC 1 1.007940 0.000000 A 0.264953 0.065689 HO 1 1.007940 0.000000 A 0.000000 0.000000 HP 1 1.007940 0.000000 A 0.195998 0.065689 HS 1 1.007940 0.000000 A 0.106908 0.065689 Hx 0 0.000000 0.000000 A 0.106908 0.000000 N 7 14.006700 0.000000 A 0.325000 0.711280 N2 0 0.000000 0.000000 A 0.325000 0.000000 N3 7 14.006700 0.000000 A 0.325000 0.711280 NA 7 14.006700 0.000000 A 0.325000 0.711280 NB 7 14.006700 0.000000 A 0.325000 0.711280 O 8 15.999400 0.000000 A 0.295992 0.878640 O2 8 15.999400 0.000000 A 0.295992 0.878640 OH 8 15.999400 0.000000 A 0.306647 0.880314 S 16 32.065000 0.000000 A 0.356359 1.046000 SH 16 32.065000 0.000000 A 0.356359 1.046000
Whereas with my previous input files saved with an older BioSimSpace version (about 2-3 weeks ago):
[ atomtypes ] ; name at.num mass charge ptype sigma epsilon 2C 6 12.010700 0.000000 A 0.339967 0.457730 2C_du 0 0.000000 0.000000 A 0.000000 0.000000 3C 6 12.010700 0.000000 A 0.339967 0.457730 C 6 12.010700 0.000000 A 0.339967 0.359824 C8 6 12.010700 0.000000 A 0.339967 0.457730 CA 6 12.010700 0.000000 A 0.339967 0.359824 CC 6 12.010700 0.000000 A 0.339967 0.359824 CO 6 12.010700 0.000000 A 0.339967 0.359824 CO_du 0 0.000000 0.000000 A 0.000000 0.000000 CR 6 12.010700 0.000000 A 0.339967 0.359824 CT 6 12.010700 0.000000 A 0.339967 0.457730 CW 6 12.010700 0.000000 A 0.339967 0.359824 CX 6 12.010700 0.000000 A 0.339967 0.457730 Cl 17 35.453000 0.000000 A 0.440104 0.418400 H 1 1.007940 0.000000 A 0.106908 0.065689 H1 1 1.007940 0.000000 A 0.247135 0.065689 H4 1 1.007940 0.000000 A 0.251055 0.062760 H5 1 1.007940 0.000000 A 0.242146 0.062760 HA 1 1.007940 0.000000 A 0.259964 0.062760 HC 1 1.007940 0.000000 A 0.264953 0.065689 HC_du 0 0.000000 0.000000 A 0.000000 0.000000 HO 1 1.007940 0.000000 A 0.000000 0.000000 HP 1 1.007940 0.000000 A 0.195998 0.065689 HS 1 1.007940 0.000000 A 0.106908 0.065689 HW 1 1.007940 0.000000 A 0.000000 0.000000 HW_du 0 0.000000 0.000000 A 0.000000 0.000000 N 7 14.006700 0.000000 A 0.325000 0.711280 N2 7 14.006700 0.000000 A 0.325000 0.711280 N3 7 14.006700 0.000000 A 0.325000 0.711280 NA 7 14.006700 0.000000 A 0.325000 0.711280 NB 7 14.006700 0.000000 A 0.325000 0.711280 Na 11 22.989770 0.000000 A 0.332840 0.011590 O 8 15.999400 0.000000 A 0.295992 0.878640 O2 8 15.999400 0.000000 A 0.295992 0.878640 O2_du 0 0.000000 0.000000 A 0.000000 0.000000 OH 8 15.999400 0.000000 A 0.306647 0.880314 OW 8 15.999400 0.000000 A 0.315061 0.636386 S 16 32.065000 0.000000 A 0.356359 1.046000 SH 16 32.065000 0.000000 A 0.356359 1.046000
The dummy atoms themselves are still written to the
[atoms]
directive in the topology file (as before), they are just missing in the[atomtypes]
directiveWithout the dummy atom types, grompp will refuse to solvate input files containing dummy atoms, so this bug also breaks the Hydration free energy tutorial code.
To Reproduce
This can be quickly tested using:
Ubuntu 22.04 LTS
3.11.7
2024.2.0.dev+70.g2af4e967.dirty
The text was updated successfully, but these errors were encountered: