Closed bisejdiu closed 3 years ago
Thanks for the extensive and detailed report. This is definitely not supposed to happen :)
Alanine is defined as follows in the library:
[ moleculetype ]
; molname nrexcl
ALA 1
[ atoms ]
;id type resnr residu atom cgnr charge
1 SP2 1 ALA BB 1 0
2 TC3 1 ALA SC1 2 0
[ constraints ]
#meta {"group": "Side chain bonds", "ifndef": "FLEXIBLE"}
; i j funct length
BB SC1 1 0.270
This indeed means that there will only be a connection (constraint specifically) between BB and SC1 if FLEXIBLE is not defined.
In molecule_0.itp
you can find them as:
...
[ constraints ]
...
#ifndef FLEXIBLE
; Side chain bonds
...
20 21 1 0.270
22 23 1 0.270
...
I'll open a PR soon to also add a stiff bond #ifdef FLEXIBLE.
Thank you for the quick fix!
Issue
When using martinize2 with martini3001, alanine SC1 beads are not included in any parameter section of the topology.
Steps to Reproduce
Using the
aa.pdb
structure from here: https://github.com/marrink-lab/vermouth-martinize/tree/master/vermouth/tests/data/integration_tests/tier-1/lysozyme and running:The resulting
molecule_0.itp
file does not include alanine SC1 beads in any potential definitions.Running:
includes the following output:
Environment