Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add "lipid" keyword to select_atoms #2082
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
u = mda.Universe(gro) u.select_atoms("lipid")
I would like to contribute this in a PR. I guess duplicating the behavior of
I think grabbing the residue names from charmm-gui.org (see here, click "Membrane only system") should be sufficient. They include pretty much all parameterized lipids for CHARMM36. Although I do not know how one would need to do attributions here.
The way selections work, you can define the class anywhere and it gets automagically included in to the selection language, so you can play around in a notebook and get it working quickly. PR welcome!