Can I trick Modeller.addMembrane into creating a membrane without requiring a list of positions?
Posted: Thu Jun 25, 2020 9:13 pm
I'd like to create a pure membrane and water system. My first approach went like this:
but this raises an error at this line of Modeller:
because there can be no 'min' of an empty sequence. Is there a way around that? As a hack I used an alanine dipeptide as a starting point and then just deleted it later but Im sure there's a better way.
Cheers!
Lewis
Code: Select all
modeller = app.Modeller(Topology(), Quantity([], nanometer))
modeller.addMembrane(omm_forcefield, 'POPC')
Code: Select all
1296 proteinMinPos = Vec3(*[min((p[i] for p in proteinPos)) for i in range(3)])
Cheers!
Lewis