Repository navigation
Conversation
Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
hannahbaumann
left a comment
There was a problem hiding this comment.
Thanks @jthorton , this looks great! I just reviewed the first half, will do the rest on Monday!
| Partial charges are assigned during protocol setup but can also | ||
| be assigned in advance for reproducibility and to avoid repeated calculations. | ||
| See Assigning partial charges :doc:`with the Python API </how_to_guides/user_charges>` or | ||
| Missing partial charges are assigned during protocol setup. They can also |
There was a problem hiding this comment.
Should we mention here that currently the preferred way would be to pre-assign them?
| * **Ligands and small-molecule cofactors:** a separate small-molecule force | ||
| field supplies parameters for :class:`.SmallMoleculeComponent`\s. | ||
| * **Partial charges:** protein and other non-small-molecule components typically use predefined *library* charges defined in the OpenMM XML files. | ||
| Small-molecule components can either use existing charges or have new charges assigned during setup. |
There was a problem hiding this comment.
I'm not sure if it would be clear to the user what "existing charges" means, maybe briefly add where they would come from (or if this is described elsewhere, maybe add a link here).
| Parameterization also depends on the chemistry of the prepared input; see the | ||
| :ref:`domain of applicability <userguide_protocols>` for current limitations. | ||
|
|
||
| Protein force fields |
There was a problem hiding this comment.
Maybe adapt the header such that it's clear that this also entails e.g. water,ion,lipid ff?
| --------------------------- | ||
|
|
||
| The ``forcefield_settings.small_molecule_forcefield`` setting selects the | ||
| force field for ligands and other :class:`.SmallMoleculeComponent`\s. The |
There was a problem hiding this comment.
maybe add "(e.g. cofactors)"?
|
|
||
| Structural ions and crystallographic waters retained in a protein input are | ||
| instead parameterized through the appropriate OpenMM XML files. See | ||
| :ref:`prep_cofactors` for preparation requirements and limitations. |
There was a problem hiding this comment.
Maybe move the prep_cofactors comment one sentence above?
Description
Adds a new user guide page on force field settings and partial charge options - related to the new how-to-guide in OpenFreeEnergy/ExampleNotebooks#358 which will give short examples related to the concepts here.
LLM / AI generated code disclosure
LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution:
Drafted by me and cleaned up with GPT-6
Checklist
pre-commit.ci autofix.newsentry, or the changes are not user-facing.Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).
Developers certificate of origin