원시데이터 수집 시스템
선정목록으로

pyMBE: The Python-based molecule builder for ESPResSo

간접 관련 수소연료전지 · (6) PEM(고분자전해질막) (5) 연료전지용 수분제어장치(가습기)(7) MEA(막전극접합체)

기본 정보

저자
  1. David Beyer — Institute for Computational Physics, University of Stuttgart 1 , Allmandring 3, 70569 Stuttgart, Germany
  2. Paola Beatriz Torres — Grupo de Bionanotecnologia y Sistemas Complejos. Infap-CONICET and Facultad Regional San Rafael, Universidad Tecnológica Nacional 2 , 5600 San Rafael, Argentina
  3. Sebastián Pineda Pineda — ) Department of Physical and Macromolecular Chemistry, Faculty of Science, Charles University, Hlavova 8, 128 40 Prague 2, Czech Republic
  4. Claudio F. Narambuena — Grupo de Bionanotecnologia y Sistemas Complejos. Infap-CONICET and Facultad Regional San Rafael, Universidad Tecnológica Nacional 2 , 5600 San Rafael, Argentina
  5. Jean‐Noël Grad — Institute for Computational Physics, University of Stuttgart 1 , Allmandring 3, 70569 Stuttgart, Germany
  6. Peter Košovan — ) Department of Physical and Macromolecular Chemistry, Faculty of Science, Charles University, Hlavova 8, 128 40 Prague 2, Czech Republic
  7. Pablo M. Blanco — ) Department of Physical and Macromolecular Chemistry, Faculty of Science, Charles University, Hlavova 8, 128 40 Prague 2, Czech Republic|||Department of Material Science and Physical Chemistry, Research Institute of Theoretical and Computational Chemistry (IQTCUB), University of Barcelona 4 , Martí i Franquès 1, 08028 Barcelona, Spain|||Department of Physics, NTNU–Norwegian University of Science and Technology 5 , NO-7491 Trondheim, Norway
DOI
10.1063/5.0216389
저널
The Journal of Chemical Physics
발행년도
2024
발행기관
American Institute of Physics
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1063/5.0216389
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W4400585474

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
(5) 연료전지용 수분제어장치(가습기), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
coarse-grained (CG) models, polyelectrolytes, constant pH (cpH), molecular simulation, chemical reaction equilibria
판단 근거
이 논문은 고분자 전해질 및 생체 고분자의 거동을 시뮬레이션하기 위한 Coarse-Grained 모델 구축 소프트웨어(pyMBE)에 관한 연구입니다. 이는 수소연료전지(PEMFC)의 핵심 소재인 이온전도성 고분자막(6) 및 막전극접합체(7)의 이온 전도 및 화학적 열화 메커니즘을 분자 수준에서 모델링하고 분석하는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
PEMFC용 고분자 전해질막의 pH 변화에 따른 이온 전도도 및 화학적 안정성을 분자 시뮬레이션으로 예측하여 신소재 설계 및 성능 최적화에 활용 가능함.
평가 입력
본문 114,888자 중 30,032자 발췌

초록

We present the Python-based Molecule Builder for ESPResSo (pyMBE), an open source software application to design custom coarse-grained (CG) models, as well as pre-defined models of polyelectrolytes, peptides, and globular proteins in the Extensible Simulation Package for Research on Soft Matter (ESPResSo). The Python interface of ESPResSo offers a flexible framework, capable of building custom CG models from scratch. As a downside, building CG models from scratch is prone to mistakes, especially for newcomers in the field of CG modeling, or for molecules with complex architectures. The pyMBE module builds CG models in ESPResSo using a hierarchical bottom-up approach, providing a robust tool to automate the setup of CG models and helping new users prevent common mistakes. ESPResSo features the constant pH (cpH) and grand-reaction (G-RxMC) methods, which have been designed to study chemical reaction equilibria in macromolecular systems with many reactive species. However, setting up these methods for systems, which contain several types of reactive groups, is an error-prone task, especially for beginners. The pyMBE module enables the automatic setup of cpH and G-RxMC simulations in ESPResSo, lowering the barrier for newcomers and opening the door to investigate complex systems not studied with these methods yet. To demonstrate some of the applications of pyMBE, we showcase several case studies where we successfully reproduce previously published simulations of charge-regulating peptides and globular proteins in bulk solution and weak polyelectrolytes in dialysis. The pyMBE module is publicly available as a GitHub repository (https://github.com/pyMBE-dev/pyMBE), which includes its source code and various sample and test scripts, including the ones that we used to generate the data presented in this article.

본문 114,888자

본문 펼치기
## pyMBE: the Python-based Molecule Builder for ESPResSo David Beyer, <sup>1, a)</sup> Paola B. Torres, <sup>2, a)</sup> Sebastian P. Pineda, <sup>3</sup> Claudio F. Narambuena, <sup>2</sup> Jean-Noël Grad, <sup>1</sup> Peter Košovan, <sup>3</sup> and Pablo M. Blanco <sup>3, 4, 5</sup> 1) _Institute for Computational Physics, University of Stuttgart, Allmandring 3, 70569 Stuttgart, Germany_ 2) _Grupo de Bionanotecnologia y Sistemas Complejos._ _Infap-CONICET & Facultad Regional San Rafael, Universidad Tecnológica_ _Nacional, 5600 San Rafael, Argentina_ 3) _Department of Physical and Macromolecular Chemistry, Faculty of Science, Charles University, Hlavova 8, 128 40 Prague 2,_ _Czech Republic_ 4) _Department of Material Science and Physical Chemistry, Research Institute of Theoretical and Computational Chemistry_ _(IQTCUB), University of Barcelona, Martí i Franquès 1, 08028 Barcelona, Spain_ 5) _Department of Physics, NTNU - Norwegian University of Science and Technology, NO-7491 Trondheim, Norway_ (*Electronic mail: [pablb@ntnu.no)](mailto:pablb@ntnu.no) (Dated: June 19, 2024) We present the Python-based Molecule Builder for ESPResSo (pyMBE), an open source software to design custom Coarse-Grained (CG) models, as well as pre-defined models of polyelectrolytes, peptides and globular proteins in the Extensible Simulation Package for Research on Soft Matter (ESPResSo). The Python interface of ESPResSo offers a flexible framework, capable of building custom CG models from scratch. As a downside, building CG models from scratch is prone to mistakes, especially for newcomers in the field of CG modeling, or for molecules with complex architectures. The pyMBE module builds CG models in ESPResSo using a hierarchical bottom-up approach, providing a robust tool to automate the setup of CG models and helping new users prevent common mistakes. ESPResSo features the constant pH (cpH) and grand-reaction (G-RxMC) methods, which have been designed to study chemical reaction equilibria in macromolecular systems with many reactive species. However, setting up these methods for systems which contain several types of reactive groups is an error-prone task, especially for beginners. The pyMBE module enables the automatic setup of cpH and G-RxMC simulations in ESPResSo, lowering the barrier for newcomers and opening the door to investigate complex systems not studied with these methods yet. To demonstrate some of the applications of pyMBE, we showcase several case studies where we successfully reproduce previously published simulations of charge-regulating peptides and globular proteins in bulk solution and weak polyelectrolytes in dialysis. The pyMBE [module is publicly available as a GitHub repository (https://github.com/pyMBE-dev/pyMBE) which includes its source](https://github.com/pyMBE-dev/pyMBE) code and various sample and test scripts, including the ones that we used to generate the data presented in this article. Keywords: molecule builder, coarse-grained molecular modelling, constant pH simulation, Reaction ensemble Monte Carlo, charge regulation, pKa, protein, peptide I. INTRODUCTION Computer simulations using molecular models are a valuable tool to rationalize experimental observations, validate the applicability of simplified theories and provide numerical results beyond the capabilities of analytical calculations. The most popular molecular models are atomistic models, in which each atom is represented by an explicit particle. While atomistic models provide a detailed description of a system, they are often limited to nanoscopic scales due to the current computing capabilities. Coarse-graining techniques circumvent this problem by reducing the number of degrees of freedom of a system, at the cost of reducing the model resolution. Coarse-grained (CG) models are often preferred to investigate macromolecular systems, because they allow to reach longer time and length scales than atomistic models. Despite the popularity of CG models to simulate macromolecular systems, most of the current software packages for molecular modelling are designed for atomistic models. Among software packages that natively support CG models, remarkable examples are the Extensible Simulation Package for Research a)These two authors contributed equally. on Soft Matter (ESPResSo), <sup>1,2</sup> ESPResSo++, <sup>3</sup> Faunus, <sup>4,5</sup> FEASST, <sup>6</sup> GROMACS, <sup>7</sup> HOOMD-blue, <sup>8</sup> the modular molecular simulation (MOLSIM) <sup>9</sup> and the Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS). <sup>10</sup> Only a few software packages natively support CG models, such as the Extensible Simulation Package for Research on Soft Matter (ESPResSo), <sup>1,2</sup> ESPResSo++, <sup>3</sup> HOOMDblue, <sup>8</sup> the modular molecular simulation (MOLSIM) <sup>9</sup> and the Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS). <sup>10</sup> CG models are also well-suited for Monte Carlo methods, which can be used to sample reversible chemical reactions in reactive systems. These reactions are usually not considered in molecular simulations. Nevertheless, they can significantly affect the properties of various macromolecular systems by affecting their ionization states. <sup>12–14</sup> Constant pH Monte Carlo <sup>15</sup> (cpH) simulations are a popular tool to study pH-sensitive molecules in bulk solution, such as solutions of weak polyelectrolytes, <sup>16–18</sup> peptides, <sup>19–22</sup> proteins, <sup>12,23–26</sup> polyelectrolyte microgels <sup>27–30</sup> and charged nanoparticles. <sup>31,32</sup> In contrast, the grand-reaction (G-RxMC) method has been designed to study two-phase systems, <sup>33,34</sup> termed "system" and "reservoir". Macromolecules or nanoparticles are present only in the system and cannot be exchanged with the reser Figure 1. Logo of the Python-based Molecule Builder for ESPResSo [(pyMBE). The logo has been edited from an image originally gener-](https://github.com/pyMBE-dev/pyMBE) ated using Artificial Intelligence powered tools from Canva. <sup>11</sup> voir. However, small molecules and ions can be exchanged between the system and reservoir. Examples of such twophase systems include weak polyelectrolyte hydrogels, <sup>35–39</sup> coacervates, <sup>40,41</sup> brushes, <sup>42–47</sup> and solutions of polyelectrolyte chains <sup>33</sup> or proteins. <sup>48</sup> The cpH and the G-RxMC methods are available in ESPResSo, however, setting them up for systems with many different reaction types often leads to repetitive and lengthy scripts, prone to errors which may be difficult to identify. Therefore, a tool to automate the setup of these methods is highly desirable. The first step before performing a computer simulation is building the molecular model in the software. Many molecule builders such as Avogadro, <sup>49</sup> the TopoTools plugin for Visual Molecular Dynamics <sup>50</sup> (VMD), the Builder tool in PyMOL, <sup>51</sup> the LEaP molecular builder <sup>52</sup> from the AmberTools suite, <sup>53</sup> the mBuild <sup>54,55</sup> tool in MoSDeF, <sup>56</sup> PySIMM <sup>57</sup>, pyPolyBuilder <sup>58</sup> or Atlas <sup>59</sup> are available to facilitate the setup of atomistic models in software for molecular simulation. While some of these all-atom molecule builders can be repurposed for CG modeling by defining custom molecular residue types, this procedure is time-consuming and requires detailed knowledge of the internal representation of the residues in the software. Unlike all-atom models, CG models are not uniquely defined by the molecular structure. Therefore, they are often problem-specific, and providing a universal builder for CG models is not as straightforward as for all-atom models. Consequently, many users design their own scripts to build CG models for a particular simulation software, which can consume a significant amount of their working time. Building CG models from scratch is susceptible to errors and often leads to repeating common mistakes in the simulation setup, especially by new users of a software. To bypass these shortcomings of setting up CG models, there is a growing number of tools to automate the coarsegraining of existing all-atom models: martinize.py, <sup>60</sup> Martinize2, <sup>61</sup> Auto_Martini, <sup>62</sup> MAD, <sup>63</sup> PDB _→_ UNF Converter, <sup>64</sup> GENESIS-CG-tool. <sup>65</sup> There are also some special-purpose CG molecule builders for example for DNA origami <sup>66,67</sup> and lipid membranes. <sup>68</sup> However, generalpurpose CG molecule builders capable of generating arbitrary polymer topologies are still very scarce. Currently, the only molecule builders with such capabilities are Moltemplate <sup>69</sup> and MoSDeF-GOMC. <sup>70</sup> Moltemplate is designed to facilitate the setup of input files for LAMMPS whereas MoSDeFGOMC is a Python interface for GOMC, <sup>71</sup> designed to set up Monte Carlo simulations of CG models of small molecules and crystals in various statistical ensembles. ESPResSo offers a flexible Python scripting interface capable of building custom CG models from scratch, resulting in a convenient software to perform computer simulations of CG models. However, building CG models from scratch is an error-prone and tedious task for beginners, especially for molecules with complex structures. In practice, this has prevented some users of ESPResSo from using the software to simulate models with complex architectures or forcefields. Although Moltemplate can be used with a deprecated ESPResSo v3.3.1, none of the above-mentioned CG molecule builders is compatible with the current version of ESPResSo. In this article, we present the Python-based Molecule Builder for ESPResSo (pyMBE), an open-source software developed as a collaborative project between various research groups modeling weak polyelectrolytes and biomacromolecules which require rather complex model setups, including acid-base reactions and chemical equilibria in two-phase systems. The pyMBE module is a molecule builder that has been designed to build CG models of macromolecules with different complex architectures, ranging from flexible polyelectrolytes and peptides to globular proteins with a rigid structure. In addition, it facilitates the setup of the cpH and G-RxMC methods in ESPResSo, lowering the barrier to entry for new users of these methods. In Fig. 1, we present the logo of pyMBE with its mascot: a python snake that loves drinking espresso while coding. To demonstrate the applications of the pyMBE module, we showcase examples where it successfully reproduces reference data from previous works done with ESPResSo and other simulation software. Altogether, pyMBE aims to aid researchers in the field to ensure both reproducibility and reusability of their simulations. <u>Table I: Features of pyMBE</u> II. FEATURES OF PYMBE pyMBE is distributed under the GPL-3.0 license, that guarantees its users to freely run, study, share and modify the software. The pyMBE module has been designed as a toolbox to aid the setup of simulations in ESPResSo. Therefore, the standard use of pyMBE is to be imported as a library together with ESPResSo in Python scripts for molecular simulation. However, the functionalities of pyMBE as a molecule builder _•_ Molecule builder designed for ESPResSo. _•_ Build custom polymer molecules using simple blocks. _•_ Support for coarse-grained models of peptides and proteins. _•_ Automated setup of cpH and G-RxMC simulations. _<u>•</u>_ <u>Bookkeeping of the topology of the molecules.</u> for coarse-grained models are not restricted to ESPResSo and they could be extended to other software for molecular simulation. The pyMBE module is under active development and new functionalities are developed depending on the needs of the community. Following the "Four-eyes" principle, every new functionality is reviewed by one or more members of the pyMBE development team before being merged into the stable version of pyMBE. The stable version of pyMBE is automatically periodically tested to reproduce previous reference data from our groups. pyMBE is an open community and we welcome new users and developers to join the project and contribute to its development. The pyMBE module is currently under active development and new functionalities are still being implemented by the development team. Before being merged into the stable version of pyMBE, every new functionality is reviewed by one or more members of the development team and tested to reproduce previous reference data from our groups. A stable version of pyMBE is publicly [available as a GitHub repository (https://github.com/pyMBE-](https://github.com/pyMBE-dev/pyMBE) [dev/pyMBE),](https://github.com/pyMBE-dev/pyMBE) including the source code, a documentation of the Application Programming Interface (API), a Jupyter notebook tutorial for beginners and several sample scripts and test scripts. The API documentation is automatically generated from the source code of the library using the Python library pdoc <sup>72</sup> and it can be consulted in the GitHub website of pyMBE [(https://pymbe-dev.github.io/pyMBE).](https://pymbe-dev.github.io/pyMBE) Currently, pyMBE uses various Python libraries, listed in Appendix A. However, we note that pyMBE is a live project, so the readers should consult the project repository for an up-to-date list of dependencies and documentation. We outline in Table I the main features of pyMBE, which we will explain throughout this section. A. Basic setup and units The first step when using pyMBE is to import it as a Python library, ``` import pyMBE pmb = pyMBE . pymbe_library ( seed = 42) ``` Code snippet 1. Import pyMBE and create an instance of the library. which enables its use with standard ESPResSo scripts. When creating an instance of the library, it is mandatory to provide a `seed` for the various random number generators. pyMBE employs the Pint <sup>73</sup> library to facilitate the work with physical quantities and units. When the user creates an instance of pyMBE, it creates an instance of a UnitRegistry object from Pint, which is stored as an attribute of pyMBE. The user can access this attribute to perform operations with units, as conventionally done when using Pint: ``` k_B = 1.38e -23* pmb . units .J/ pmb . units .K T = pmb . units .Quantity (298.15, "K" ) kT = k_B*T ``` Code snippet 2. Defining physical quantities with units. Here, `k_B`, `T` and `kT` are `pint.Quantity` `objects`, storing information about the magnitude and the units of each variable. When operating with `pint.Quantity` `objects`, Pint internally handles unit conversion and it resolves the resulting dimensionality. For example, in Code snippet 2, Pint assigns the unit of Joule to `kT` when it executes the operation `k_B*T` : ``` >>> print (kT) 4.11447e-21 joule ``` Code snippet 3. Printing a pint.Quantity object. The use of Pint permits an easy and reliable transformation from the international system of units to the reduced system of units used in ESPResSo. By default, pyMBE uses a set of internal units, based on the commonly used set of reduced units in simulations of Lennard-Jones systems. <sup>74</sup> In this system of units, energies are divided by the thermal energy _k_ B _T_, distances are divided by the particle diameter, _σ_, and charges are divided by the elementary charge _e_ . In pyMBE, the internal unit of energy is the thermal energy _k_ B _T_, and the default value of temperature is _T_ = 298 _._ 15K. The internal unit of charge is the elementary charge _e_ = 1 _._ 602 _·_ 10 <sup>_−_</sup> <sup>19</sup> C and the internal unit of length is _σ_ = 0 _._ 355nm. Additionally, the strength of electrostatic interactions is set by the Bjerrum length, _l_ B _≈_ 0 _._ 71nm = 2 _σ_, which corresponds to aqueous solutions at _T_ = 298 _._ 15K. This ratio between particle size and Bjerrum length ensures that activity coefficients (excess chemical potentials) of simple electrolyte solutions, modeled as Lennard-Jones spheres in implicit solvent, approximately match the experimental activity coefficients of aqueous solutions of NaCl. <sup>33</sup> The same value has been commonly used in other simulations by some of the authors of the current article. The values of various quantities in the system of reduced units used by ESPResSo are then obtained by dividing their values in SI units by the internal units. For example, if the desired box length is _L_ = 3 _._ 55nm, then the value of the reduced box length will be _l_ = 3 _._ 55nm _/_ 0 _._ 355nm = 10. The above choice of internal units is by no means universal and a different choice may be preferred for some purposes. Therefore, user can choose a different set of internal units in pyMBE and print the active set of reduced units in the library: ``` pmb . set_reduced_units ( unit_length = 0.5* pmb . units .nm, unit_charge = 2* pmb . units .e, temperature = 300* pmb . units .K) print ( pmb . get_reduced_units ()) ``` Code snippet 4. Setting up a custom set of internal units and printing it to screen. By default, there is no pre-defined internal unit of mass in pyMBE, because this choice does not influence the equilibrium properties of the system in the absence of an external gravitational field, which is a common case in molecular modeling. The conversion between the system of reduced units used by ESPResSo and the SI units in which the users usually obtain their input parameters is a common problem which leads to mistakes in the simulation setup. The pyMBE module alleviates this issue by allowing the user to provide the inputs in SI units, and internally ensures that the conversion to reduced units is done correctly. B. Defining particles, residues and molecules _1._ _Particles_ The pyMBE module uses a hierarchical object-oriented set of fundamental building blocks: particles, residues and molecules, as schematically shown in Fig. 2. This hierarchical approach is partly inspired by the architecture used in the MOLSIM software. <sup>9</sup> The smallest building block in pyMBE is called a particle. It can represent an atom or a coarse-grained group of atoms. Users can use pyMBE to define the properties of various particle types: ``` # Inert particle pmb . define_particle ( name = "I", sigma = 0.3* pmb . units .nm, epsilon = kT, z = 0) # Acidic particle pmb . define_particle ( name = "A", acidity = "acidic", pka = 4) # Basic particle pmb . define_particle ( name = "B", acidity = "basic", pka = 9) ``` Code snippet 5. Defining particle properties. The only required argument `name` is used as an identifier by which the user later refers to this particle type when building residues and molecules, setting up their interactions and chemical reactions. All other arguments are optional. The arguments `sigma` and `epsilon` are used in the setup of pairwise Lennard-Jones (LJ) interactions. Additionally, the user can provide the arguments `cutoff` and `offset` that allow further tuning of the LJ interactions. We provide a detailed explanation of these LJ-related parameters in Section II E. The optional argument `z` corresponds to the charge number of the particle and thus sets a permanent charge _q_ = _ze_ of a particle. Alternatively, the user can specify `acidity` of the particle, which can be `"acidic"` or `"basic"` . In such a case, the particle may have two states: one neutral and one with _z_ = _−_ 1 if it is acidic or _z_ = +1 if it is basic. When setting the `acidity`, the user must also specify the value of the acidity constant, `pka` . The default value of the `acidity` is `None`, which means that the particle has only one state with a permanent charge `q` . The `acidity` and `pKa` are used when setting up the constantpH or the grand-reaction method, as explained in Section II C. Molecules ``` [Res 1, Res 1, Res 2, Res 1, Res 1, Res 2, Res 2 ] ``` Figure 2. Schematic representation of the essential building blocks used in pyMBE: particles, residues and molecules. (a): A particle is the smallest building block in the pyMBE module, representing an atom or a coarse-grained group of atoms. (b): Residues consist of a central particle, referred as central bead, with one or multiple side chains bonded to it. (c): Molecules are built as a linear sequence of residues with an arbitrary user-defined composition. _2._ _Residues_ Residues in pyMBE are composed of one or multiple particles and they are used as monomeric units to build molecules. A residue is defined as a central particle to which other particles are connected, as shown in Fig. 2 (b): ``` # Acidic residue pmb . define_residue ( name = "IA", central_bead = "I", side_chains = [ "A" ]) # Basic residue pmb . define_residue ( name = "IB", central_bead = "I", side_chains = [ "B" ]) ``` Code snippet 6. Defining simple residues. More complex residues can be created by using multiple par (a) (b) (c) `A` `B` `I` Particles side chains ``` IB ``` ``` Res 2 Res 1 ``` ``` IA ``` central beads Residues ticles or residues as side chains, also shown in Fig. 2 (b): ``` pmb . define_residue ( name = "Res_1", central_bead = "I", side_chains = [ "A","B" ]) pmb . define_residue ( name = "Res_2", central_bead = "I", side_chains = [ "Res_1" ]) ``` Code snippet 7. Defining complex residues. Here, `name` is the identifier of the residue. The `central_bead` should be the name of a particle and `side_chains` should be a list of particles or residues defined in pyMBE. The names listed in `side_chains` determine which objects will be bonded to `central_bead` . These names must correspond to particle or residue objects which have been previously defined. If the user provides the name of a residue object, pyMBE defines that the `central_bead` of that residue will be bonded to the `central_bead` of the defined residue. _3._ _Custom_ _molecules_ Custom chain molecules are built as sequences of residues, as shown in Fig. 2 (c): ``` pmb . define_molecule ( name = "A_molecule", residue_list = [ "Res_1", "Res_1", "Res_2", "Res_1", "Res_1", "Res_2", "Res_2" ]) ``` Code snippet 8. Defining a molecule. Here, `name` is the identifier of the molecule, composed of residues specified in `residue_list` . The sequence of residues in the list defines the order in which they are connected to form the molecule. Chain molecules with multiple repeating units of the same type can be conveniently created with pyMBE using the built-in Python functionality for creating lists with repeating elements, for example (cf. Fig. 3): ``` # Polyacid pmb . define_molecule ( name = "polyacid", residue_list = [ "IA" ]*10) # Alternating polyampholyte pmb . define_molecule ( name = " alternating_polymer ", residue_list = [ "IA","IB" ]*5) # Diblock polyampholyte pmb . define_molecule ( name = " diblock_polymer ", ``` (a) (b) (c) Figure 3. Schematic representation of various chain molecules which can be created using pyMBE. (a): A polyacid. (b): An alternating polyampholyte copolymer. (c): A diblock polyampholyte copolymer. ``` residue_list = [ "IA" ]*5+[ "IB" ]*5) ``` Code snippet 9. Defining various chain arquitectures. In principle, pyMBE could be used also to create more complex branched molecules, however, it has been primarily designed to create linear chain molecules with short side chains. A generalization to conveniently create molecules with arbitrary architectures is planned for the future. _4._ _Loading_ _parameters_ _from_ _a_ _file_ As an alternative to defining each particle and residue in the Python script, pyMBE also features a helper function to load these parameters from a file: ``` pmb . load_interaction_parameters ( filename = "path_to_file" ) ``` Code snippet 10. Loading interaction parameters. where `filename` contains a path to the local file, which should be structured as a JSON dictionary: ``` { "object_type" : "particle", "name" : "CA", "z" :0, "sigma" : { "value" :0.35, "units" : "nm" }} ``` Code snippet 11. General parametrization in JSON format. More complete examples of such files can be found in the pyMBE repository, folder ‘ `parameters/peptides` ’. A similar helper function is available to load the `acidity` and `pka` values for a set of particles ``` pmb . load_pka_set ( filename = " path_to_pka_set " ) ``` Code snippet 12. Loading acid-base properties. where the input file has the following structure: ``` { "D" : { "pka_value" : 4.0, "acidity" : "acidic" }} ``` Code snippet 13. Acid-base properties in JSON format. In the pyMBE repository, we provide some specific sets of p _K_ A values for amino acid residues, based on well established compilations in the literature: Bienkiewicz and Lumb, <sup>75</sup> CRC Handbook of Chemistry and Physics, <sup>76</sup> Hass and Mulder, <sup>77</sup> Nozaki and Tanford, <sup>78</sup> Platzer _et_ _al._ <sup>79</sup> and Thurlkill _et_ _al._ <sup>80</sup> These pre-defined sets can be found in the pyMBE repository in the folder ‘ `parameters/pka_sets` ’. In addition to the above, some less common sets p _K_ A values are included in the repository. These sets refer to studies which we used for benchmarking the results produced by pyMBE. They are required for internal purposes, namely for integration and system testing of pyMBE within the continuous integration framework. _5._ _Pre-defined_ _molecules_ In addition to building custom molecules defined by the user, the pyMBE module also provides specific functions to build pre-defined coarse-grained models of flexible peptides and rigid proteins. To begin with, it is necessary to load a set of particle parameters and p _K_ A values for amino acids from the pyMBE repository, as described in the previous section. Then, peptides can be defined in a way similar to custom molecules: ``` pmb . define_peptide ( name = "Cys2His3", sequence = "cCCHHHn", model = "2beadAA" ) ``` Code snippet 14. Defining a peptide. where `name` is again the identifier of the peptide molecule. The argument `sequence` uses the standard one-letter or threeletter codes for amino acids. <sup>81</sup> For example, valid `sequence` inputs for the peptide Cys2His3 are `"CCHHH"`, `"Cys-Cys-His` `-His-His"` or `"CYS-CYS-HIS-HIS-HIS"` . The small letters `"c"` and `"n"` in the peptide sequence specify that an additional residue should be added at the end of the molecule, corresponding to the amine group at the N-terminus and carboxylate group at the C-terminus of the peptide. If these are not explicitly specified, then the C-terminal and N-terminal groups are not added. The function `define_peptide` internally defines a residue object in pyMBE for each type of amino acid in `sequence` . The argument `model` defines how individual amino acids are represented as residues. In a one-bead CG model (cf. Fig. 4 (a)), `model` `=` `"1beadAA"`, each amino acid residue is represented by a single particle. In a two-bead CG model (cf. Fig. 4 (b)), `model` `=` `"2beadAA"`, each amino Figure 4. Schematic representation of the peptide Cys2His3 using two pre-defined coarse-grained models: a one-bead representation (a) and a two-bead representation (b). acid residue is represented by two particles. These particles are internally identified in pyMBE as `name` `=` `"CA"` for the central bead (same for all residue types) and a side-chain particle with the same `name` given by the corresponding one-letter code of the amino acid. Exceptions to this rule are Glycine and the `"c"` and `"n"` end group residues, which are always represented by a single particle, named by the respective oneletter code. Although `sequence` uses a nomenclature similar to the FASTA standard, pyMBE supports other non-standard amino acids beyond the FASTA alphabet with custom parameters provided by the user. Naturally, pyMBE is not restricted to using pre-defined parameters from the repository but the user is free to define custom parameters of the amino acid particles. Unlike flexible peptides, coarse-grained models of globular proteins typically use protein structures from the Protein Data Bank (PDB), which are then assumed to be fixed throughout the simulation. The first step when setting up a globular protein using the pyMBE module is to load its topology. Currently, the easiest way to load a CG model of a globular protein into pyMBE is to provide a VTF file (VTF Trajectory Format <sup>82</sup> ) with the coordinates of the beads and the information about the protein topology. To help creating such a VTF file, we provide a supporting script in the pyMBE repository, `lib/create_cg_from_pdb` `.py` . This script creates a VTF file with the coarsegrained model of a protein from its corresponding PDB file ``` python3 create_cg_from_pdb .py --filename FILENAME --download_pdb PDB_CODE --model MODEL --chain_id CHAIN_ID ``` Code snippet 15. Using the supporting script to create a pre-defined CG model of a globular protein from a PDB file. The script supports two options to read a PDB file of a protein: (1) from a local PDB file using the argument `--filename` or (2) by downloading the PDB file from the database, using the argument `--download_pdb` and providing the PDB code. Optionally, the user can select a sub-chain of the protein by one-bead (a) model ``` c n ``` (b) two-bead model ``` c n ``` providing the argument `--chain_id` . From the PDB coordinates, the script creates a CG model consisting of either one bead per amino acid ( `--model` `1beadAA` ) or two beads per amino acid ( `--model` `2beadAA` ), based on the same logic as explained for peptides. For the two bead model, the script uses the same procedure as described by Torres _et_ _al._ <sup>25,26</sup> One backbone bead is placed at the position of the _α_ -carbon of the amino acid with a radius equal to the radius of the alpha carbon. A second bead is placed at the center of mass of the side chain of the amino acid residue with a radius equal to its radius of gyration. For the one-bead model, one bead is placed in the center of mass of each amino acid residue. We chose this particular representation in order to enable validation of the pyMBE module against already published simulation results. In the future, we plan to make this procedure more general, allowing the user to define a custom coarse-graining approach. The script creates a VTF file with all coordinates and radii of the beads. We provide examples of VTF files in the pyMBE repository in the folder ‘ `/parameters/globular_proteins/` ’. To read such files, the pyMBE module provides a function: ``` topology = pmb . read_cg_protein_model ( filename = protein_filename ) ``` Code snippet 16. Reading a protein structure from a VTF file. The function returns a dictionary ( `topology` ) which can be used as an input to another helper function that defines both protein particles and residues in pyMBE: ``` pmb . define_protein ( name = " my_protein_1F6S ", topology_dict = topology, model = "2beadAA" ) ``` Code snippet 17. Defining a protein. Internally, this function defines one residue and one or two particles for all different amino acids in the protein but it does not define particles and residues for those amino acids which are not present in the protein. In Fig. 5, we depict an example of a coarse-grained model of _α_ -lactalbumin (PDB code 1F6S <sup>83</sup> ) built using pyMBE, consisting of a rigid object with 2 beads per amino acid ( `model` `=` `"2beadAA"` ). C. Setting up acid-base reactions The pyMBE module supports the automated configuration of two Monte Carlo methods to sample reversible acid-base reactions: the constant-pH method <sup>15</sup> for the simulation of acid-base equilibria in a single phase and the grand-reaction method, <sup>33,34</sup> specifically designed for two-phase systems. In the following subsections, we give a short introduction to these methods and their usage in pyMBE. Later, we demonstrate the use of the constant-pH method in our benchmarks for charge-regulating peptides (Section III B) and globular proteins (Section III C) in bulk solution. In Section III D we showcase the use of the G-RxMC method that we use to benchmark weak polyelectrolytes under dialysis. Figure 5. Snapshot of the coarse-grained model of _α_ -lactalbumin (PDB code 1F6S <sup>83</sup> ) using two beads per amino acid. An additional particle is placed in the interior of the protein, representing the Ca <sup>2+</sup> ion caged in the protein structure. The particles are colored as follows: acidic bead (red), basic bead (blue), inert side chain bead (green), inert backbone bead (grey) and Ca <sup>2+</sup> ion (copper). The size of the beads has been scaled by an arbitrary value for visualization purposes. _1._ _The_ _constant-pH_ _method_ _(cpH)_ The constant-pH (cpH) method was originally developed by Reed and Reed <sup>15</sup> to simulate the pH-response of weak polyelectrolyte chains at a given pH in a buffer solution, as shown schematically in Fig. 6 (a). In the cpH method, the pH of the buffer solution is only considered implicitly and it is a direct input parameter of the method. The method uses Monte Carlo moves to sample different ionization states of weak acid and/or base groups according to the chemical equations HA _−−↽−−⇀_ A <sup>_−_</sup> + X <sup>+</sup> (1) HB <sup>+</sup> _−−↽−−⇀_ B + X <sup>+</sup> _,_ (2) with the protonated state of an acid (HA) and a base (HB <sup>+</sup> ) and the corresponding deprotonated states A <sup>_−_</sup> and B. X <sup>+</sup> is a generic neutralizing counterion whose chemical identity could correspond to any monovalent cation (H <sup>+</sup>, Na <sup>+</sup>, K <sup>+</sup>, etc.). Since in the cpH method the pH is only considered implicitly, it is decoupled from the activity of the explicit X <sup>+</sup> ions. This feature of the algorithm limits the applicability of the cpH method to pH-values where the ionic screening is dominated by the added salt rather than by H <sup>+</sup> or OH <sup>_−_</sup> ions. <sup>13,84,85</sup> In the cpH method, trial moves consist of changing the ionization state of a charge-regulating particle and randomly inserting/deleting a neutralizing counterion according to Equation 1 or Equation 2. These trial moves are accepted with a probability given by <sup>15</sup> _P_ cpH = min [1 _,_ exp ( _−β_ ∆ _U_ + _ξ_ ln(10)(pH _−_ p _K_ A))] _._ (3) Here, _β_ = 1 _/k_ B _T_ is the inverse thermal energy, _ξ_ the extent of reaction ( _ξ_ = +1 for a deprotonation and _ξ_ = _−_ 1 for a protonation) and ∆ _U_ is the change in potential energy between ## (a) constant-pH method HA A <sup>_−_</sup> X <sup>+</sup> Na <sup>+</sup> Cl <sup>_−_</sup> ## (b) grand-reaction method System Reservoir HA A <sup>_−_</sup> H <sup>+</sup> Na <sup>+</sup> OH <sup>_−_</sup> Cl <sup>_−_</sup> Figure 6. Schematic representation of weak polyelectrolyte systems (here represented by weak polyacids with monomers HA) in different statistical ensembles. (a): In the constant-pH-ensemble (cpH), a single-phase system at a given buffer pH and salt concentration is considered. (b): In the grand-reaction method (G-RxMC), a twophase system at a fixed reservoir composition is considered. The polyelectrolyte chains cannot leave the "system" phase, while small ions can be partitioned between the "system" and the "reservoir", leading to a Donnan equilibrium. the old state and the proposed new state. pH = log10( _a_ H) and p _K_ A = log10( _K_ a), where _a_ H is the activity of proton and _K_ a is the acid dissociation equilibrium constant. One of the outputs of cpH-simulations is the average degree of protonation of each acidic and basic group. Notably, the above implementation produces results which are systematically shifted on the pH scale with respect from the correct result, as explained in Refs. <sup>85,86</sup> In many situations, this deviation is small enough to be neglected. Nevertheless, it should be considered when presenting results obtained using the method. The pyMBE module automates the setup of the cpH method in ESPResSo for all particles that the user defined as having either an `"acidic"` or a `"basic" acidity` : ``` cpH, labels = pmb . setup_cpH ( ``` ``` counter_ion = cation_name, constant_pH = pH) ``` Code snippet 18. Setting up the cpH method. As inputs, one has to provide the `name` identifier of the generic neutralizing counterion X <sup>+</sup> ( `counter_ion` ) and the pH at which the system is simulated ( `constant_pH` ). The p _K_ Avalues of each type of acidic and basic particle must have been previously defined for each particle, as explained in Section II B. It returns an instance of the `reaction_methods.` `ConstantpHEnsemble` object of the ESPResSo library ( `cpH` ) and a list containing the `name` of the particles for which reactions have been set up ( `labels` ). _2._ _The_ _Grand-Reaction_ _method_ _(G-RxMC)_ In contrast to the cpH method, the G-RxMC method developed by Landsgesell _et al._ <sup>33,34</sup> was conceived to study the behavior of two-phase systems, as shown schematically in Fig. 6 (b). In these systems, the charge-regulating macromolecules are confined to one phase, which we term the "system". This confinement can be due to covalent crosslinking in the case of hydrogels, <sup>38,39</sup> due to a semi-permeable membrane in the case of dialysis, <sup>33</sup> or due to spontaneous phase separation in the case of polyelectrolyte complexes. <sup>41,87</sup> While the macromolecules are confined to the system phase, small ions (H <sup>+</sup>, Na <sup>+</sup>, OH <sup>_−_</sup>, Cl <sup>_−_</sup> ) can freely partition between the system and the other phase. This other phase is termed the "reservoir" and it contains only small ions and other solutes which can be exchanged with the system. The macroscopic constraint that each of the phases has to be electroneutral leads to an uneven partitioning of small ions between the system and the reservoir, the so-called Donnan equilibrium. <sup>33</sup> The G-RxMC method was designed to mimic a setting where the reservoir is much larger than the system and thus the reservoir properties are not affected by the partitioning of ions. This allows one to to study the properties of the system at a given fixed composition of the reservoir. By construction, the reservoir composition in the grand-reaction method is specified using linear combinations of the chemical potentials of the exchangeable species (ions). The coupling of the system to the reservoir can be formally represented by virtual chemical reactions: <sup>33</sup> /0 _−−↽−−⇀_ H <sup>+</sup> + OH <sup>_−_</sup> (4) /0 _−−↽−−⇀_ Na <sup>+</sup> + Cl <sup>_−_</sup> (5) /0 _−−↽−−⇀_ Na <sup>+</sup> + OH <sup>_−_</sup> (6) /0 _−−↽−−⇀_ H <sup>+</sup> + Cl <sup>_−_</sup> _,_ (7) where /0 denotes an empty set. The above reactions effectively result in the insertion or deletion of the respective ion pairs in the system, conserving the overall electroneutrality. Furthermore, the rules for the acceptance probability of these insertions ensure that the chemical potential of each ion pair is the same as in the reservoir. <sup>33</sup> It can be shown that these insertions are equivalent to a grand-canonical simulation. If only the exchange of salt ions with the reservoir is desired, the function `pmb.setup_gcmc` allows to set up a pure grand-canonical Monte Carlo (GCMC) simulation. However, if there are also acid-base reactions taking place in the system, HA _−−↽−−⇀_ A <sup>_−_</sup> + H <sup>+</sup> (8) HB <sup>+</sup> _−−↽−−⇀_ B + H <sup>+</sup> _,_ (9) then one needs to set up the G-RxMC method instead. The acceptance probability for Eqs. 4-9 are given by <sup>33,88,89</sup> _<u>Ni</u>_ <u>!</u> ( _Ni_ + _νiξ_ )! _P_ RxMC = min ## 1, exp ( −β ∆ U ) K c ξ ( VN A ) νξ ¯ ∏ i _i_ _._ `activity_coefficient` is a function that calculates the activity coefficient of an ion pair in a solution of ions as a function of the ionic strength. For example, using the Debye– Hückel limiting law for the activity coefficient in an aqueous solution at standard conditions, <sup>91</sup> a possible implementation of the function `activity_coefficient` would look like this: ``` def f_act_coeff(I): from numpy import exp, log, sqrt I_mag = I.to( "mol/L" ).magnitude A = 0.509 act = exp(-2*log (10)*A*sqrt(I_mag)) return act ``` Code snippet 20. Calculating the activity coefficient. Alternatively, one can use a more sophisticated model such as the Davies equation <sup>91</sup> or data of the excess chemical potential from simulations, e.g. obtained using the method of Widom particle insertion. <sup>92</sup> Given the above inputs, pyMBE internally solves a coupled system of nonlinear equations, relating the required equilibrium constants with `pH_res`, `c_salt_res` and `activity_coefficient`, until a self-consistent solution is reached (more details are provided in Appendix C). When solving these equations, pyMBE assumes that the solution contains only monovalent salt and that the pH was adjusted to the desired value by adding a strong base (NaOH) or a strong acid (HCl) to the salt solution. Eventually, it uses the determined equilibrium constants to set up the full set of reactions required for the G-RxMC simulation. Overall, the function `setup_grxmc` greatly simplifies the setup of G-RxMC simulations, helping the user to automate multiple non-trivial steps that are susceptible to errors. Instead of distinguishing between different ion types of the same charge (which differ only in their label but not with regards to their interactions in the coarse-grained representation), one can also formulate the G-RxMC method in terms of unified ion types. <sup>93</sup> To set up the G-RxMC method using the implementation in terms of unified ion types, the function `setup_grxmc_unified` is employed in fashion analogous to `setup_grxmc` . D. Setting up interactions in ESPResSo with pyMBE Before creating all the molecules in ESPResSo, the user needs to provide some additional information about the desired interactions. First, parameters of the bonding potentials need to be provided using the following function: ``` # Define the parameters of the bond prm={ "r_o" : 0.5* pmb . units .nm, "k" : 0.4* pmb . units .N/ pmb . units .m} pmb . define_bond ( bond_parameters = prm, bond_type = "harmonic" particle_pairs = [[ "I","I" ], ``` (10) In this equation, _K_ c is the concentration-based equilibrium constant of the considered reaction, _V_ denotes the box volume, _N_ A is the Avogadro constant, _Ni_ the number of particles of type _i_, _νi_ is their stoichiometric coefficient and _ν_ ¯ = ∑ _i νi_ . Notably, the numerical value of _K_ c depends on the chosen reference concentration, which in the system of reduced units of ESPResSo corresponds to `1/unit_length**3` (cf. Code snippet 4). Therefore, the user needs to convert the equilibrium constants from the literature, based on the reference concentration _c_ <sup>_⊖_</sup> = 1mol _/_ kg _≈_ 1mol _/_ L, to the system of reduced units used in ESPResSo. <sup>13</sup> This conversion often results in errors which can be avoided by the tools provided in the pyMBE module. Furthermore, there is a complicated relation between the desired reservoir composition (pH-value and salt concentration) and the equilibrium constants required as inputs, as explained in Appendix C. It can be determined numerically either by running a set of auxiliary simulations of the reservoir <sup>33,90</sup> or by using an approximate theoretical model for the excess chemical potential of a salt solution, such as the Debye–Hückel limiting law. Only then, the user can run G-RxMC simulations at a given salt concentration and a given pH of the reservoir. pyMBE currently only supports setting up a reservoir containing a monovalent salt. In principle, the GRxMC method can also accommodate multivalent salts, but the setup becomes more complicated in this case. <sup>90</sup> The pyMBE module provides a convenient and userfriendly way of specifying the reservoir composition and the corresponding equilibrium constants. In pyMBE, the user specifies the desired pH in the reservoir ( `pH_res` ) and the concentration of added monovalent salt (e.g. NaCl) in the reservoir ( `c_salt_red` ) in the following way: ``` grxmc, labels, I_res = pmb . setup_grxmc ( pH_res = 2, c_salt_res = salt_conc_res, proton_name = "H", hydroxide_name = "OH", salt_cation_name = "Na", salt_anion_name = "Cl" activity_coefficient = f_act_coeff) ``` Code snippet 19. Setting up the G-RxMC method. In addition to the concentration of added salt and pH in the reservoir, this function takes as required arguments the names of the various small ions ( `proton_name`, etc.). The argument ``` [ "I","A" ]]) ``` Code snippet 21. Defining bonds. Here, `bond_type` is a string identifying the bond type. Currently, pyMBE supports the harmonic potential ( `bond_type` `=` `"harmonic"` ) and the Finite Extension Non-linear Elastic potential ( `bond_type` `=` `"FENE"` ) as model interactions for bonding the particles. <sup>1,2</sup> `bond_parameters` is a dictionary with the values and the keys of the parameters for the potential energy of the bond. For consistency, the variable names of the parameters of each type of bond are the same as the ones in ESPResSo. `particle_pairs` is a list with a set of pairs of particle names which identifies types of particles to be bonded by pyMBE with the defined bond type. All bonds defined in pyMBE are stored in the pyMBE dataframe, as explained in Appendix B. The user can add all bonds defined in the pyMBE dataframe in the ESPResSo system using the helper function ``` pmb . add_bonds_to_espresso ( espresso_system = es_system) ``` Code snippet 22. Adding bonds to ESPResSo. Here, `espresso_system` is an instance of an ESPResSo system from the ESPResSo library. The pyMBE module has another helper function that automatically sets up Lennard-Jones (LJ) interactions between the particles using the following pairwise potential ∞ for _r < r_ off - _<u>σ</u>_ _r −_ _r_ off _−C_ for _r_ off _< r < r_ cut + _r_ off �12 _−_ �6 <sup>�</sup> _,_ (11) _Vi j_ ( _r_ ) =   4 _ε_ �� _<u>σ</u>_ _r −_ _r_ off  0 for _r > r_ cut + _r_ off where _r_ is the distance between the interacting particles _i_ and _j_, _σ_ determines the effective range of the repulsion, _ε_ is the depth of the attractive well, _r_ cut is the distance at which the potential is cut off to 0 and _r_ off is an offset that shifts the values of the potential. The constant _C_ = 4 _ε_ (( _σ_ _/r_ cut) <sup>12</sup> _−_ ( _σ_ _/r_ cut) <sup>6</sup> ) is added to make the potential continuous at _r_ cut. The augmented LJ potential presented in Eq. II D reduces to the classical LJ potential with _r_ off = 0 and _r_ cut _→_ ∞. The user can set up the LJ potential between all particles which have been previously defined in pyMBE using the helper function ``` pmb . setup_lj_interactions ( espresso_system = es_system) ``` Code snippet 23. Setting up the Lennard-Jones interactions. The values of the LJ parameters _σ_, _ε_, _r_ cut and _r_ off for each particle pair are calculated according to the Lorentz– Berthelot combining rules <sup>94,95</sup> using the corresponding `sigma`, `epsilon`, `cutoff` and `offset` parameters provided by the user when defining each particle type in pyMBE (cf. Code snippet 5). By default, pyMBE sets _r_ cut = <sup>_√_</sup> 6 <u>2</u> _σ_ and _r_ off = 0, corresponding to a purely repulsive LJ potential, also known as the Weeks-Chandler-Andersen potential. If the user defines a particle with `sigma` `=` `0`, pyMBE will not set up LJ interaction between that particle type and any other particle, corresponding to the case of an ideally behaving particle. If the user has not defined either the value of `sigma` or `epsilon` of a particle type (cf. Code snippet 5), pyMBE will not set up any LJ interaction between particles of that type and the rest of particles. E. Setting up an ESPResSo system with pyMBE After defining particles, residues, molecules, chemical reactions and interactions, everything is ready to create the particle objects in ESPResSo. However, to make it all work, the above steps have to be executed in a particular order. First, one should define all particles, residues and molecules: ``` pmb . define_particle (...) pmb . define_residue (...) pmb . define_molecule (...) ``` Code snippet 24. Defining the properties of the different types of particles, residues and molecules in the model. In the next step, one defines the interactions and chemical reactions, which requires that the corresponding particles and residues have been previously defined in pyMBE: ``` pmb . define_bond (...) pmb . add_bonds_to_espresso (...) pmb . setup_lj_interactions (...) pmb . setup_cpH (...) # for cpH #pmb.setup_grxmc (...) for G-RxMC ``` Code snippet 25. Defining the interactions in the model and setting up chemical reactions. Note that if one defines new particles after setting up LJ interactions, then these new particles will not be assigned any interactions, which will probably lead to an undesired behavior. In contrast, activating electrostatic interactions should be done only after creating all objects in ESPResSo and relaxing the initial simulation setup. After completing the above steps, pyMBE is ready to create these objects in the ESPResSo system. For example, if `"alternating_polymer"` has been defined (cf. Code snip pet 9), it can be created using the following helper function: ``` pmb . create_pmb_object ( name = " alternating_polymer ", espresso_system = es_system, number_of_objects = 2) ``` Code snippet 26. Creating a pyMBE object in ESPResSo. In the above Code snippet, `name` is the pyMBE string identifier of the previously defined pyMBE object which will be created in ESPResSo. In practice, it means that the corresponding particles are created in ESPResSo system and bonds are assigned to the specific particle pairs. The parameter `number_of_objects` is the number of individual objects to be created. Currently, the above function can create the following types of pyMBE objects: particles, residues, molecules and peptides. By default, these objects will be created in the ESPResSo system at a random position in the simulation box. By providing an optional argument `position`, the user can specify the position of the first particle of a given object. For simplicity, the initial state of flexible molecules is fully stretched. For acidic and basic particles, whose charges fluctuate during the simulation, the initial charge state is set to match that of the protonated form, _i.e._ _q_ = 0 for an acid and _q_ = +1 _e_ for a base. In principle, the choice of the initial state is arbitrary and its impact on the simulated system should vanish during equilibration of the system. When creating these objects, pyMBE assigns a specific identifier to each particle, residue and molecule created in ESPResSo system. This identifier can be accessed via the pyMBE dataframe, as described in the next section. For the purpose of creating rigid models of globular proteins in ESPResSo, the pyMBE module uses a different function. Once a protein topology has been loaded to pyMBE, (cf. Code snippet 17), it can be created in the ESPResSo system as follows: ``` pmb . create_protein ( name = " my_protein_1F6S ", number_of_proteins = 1, espresso_system = es_system, topology_dict = topology) ``` Code snippet 27. Creating a protein in ESPResSo. Here, `name` is the identifier of the protein object previously defined in pyMBE, `espresso_system` is an instance of an ESPResSo system from the ESPResSo library and `number_of_proteins` is the number of proteins of that type to be created in `es_system` . By default, the proteins are created at random positions. Similar to the previous case, pyMBE assigns a unique identifier to each created particle, residue and protein, and this identifier can be accessed via the pyMBE dataframe, as described in the next section. When creating proteins in ESPResSo, pyMBE uses the rigid object framework of ESPResSo to ensure that the protein as a whole remains rigid, _i.e._ it does not deform. Additionally, pyMBE fixes the position of all particles belonging to the proteins. This setup is convenient for simulations with a single protein in the simulation box, for which the module features the option to center the protein in the simulation box: ``` pmb . center_molecule_in_simulation_box ( molecule_id = protein_id, espresso_system = es_system) ``` Code snippet 28. Centering a molecule. Here, `molecule_id` is the numeric identifier within the pyMBE dataframe of the protein to be centered in the simulation box. Although this function was designed for this particular application, its implementation is general and it can be used with any molecule defined using the pyMBE module. To set up simulations having multiple proteins in the simulation box, pyMBE permits to enable the motion of the rigid object as a whole through the simulation box ``` pmb . enable_motion_of_rigid_object ( espresso_system = es_system, name = protein_name) ``` Code snippet 29. Enabling motion. where `name` is the identifier of the type of proteins whose motion should be enabled. F. Accessing the information stored in pyMBE The pyMBE module internally uses a Pandas dataframe <sup>96,97</sup> to store all information about the particles, residues, molecules, bonds and interactions defined by the user. It also stores all information about additional parameters which have been defined automatically by calling various helper functions. The dataframe is stored is stored as an attribute of the pyMBE library and it can be accessed as follows: ``` print ( pmb .df) ``` Code snippet 30. Example of how to access the pyMBE dataframe to print it. The pyMBE dataframe can be operated on as a standard Pandas dataframe. It allows the user to easily access all parameters defined in the pyMBE module. To facilitate this access, the user can filter the dataframe by specifying the pyMBE object of interest in the argument `pmb_type` : ``` pmb . filter_df ( pmb_type = "particle" ) ``` Code snippet 31. Example of how to filter the pyMBE dataframe by particle. The argument `pmb_type` supports pyMBE objects of the following types: `"particle"`, `"residue"`, `"molecule"` and `"bond"` . In Table II, we show an example of the output of this function when filtering by `pmb_type` `=` `"particle"` . In this example, each column corresponds to a parameter of a pyMBE particle object and each row to a different particle in the system. Additional examples of subsets of the pyMBE dataframe can be found in Appendix B. Internally, the pyMBE module assigns a numerical identifier to each individual particle ( `particle_id` ), residue ( `residue_id` ) or molecule ( `molecule_id` ) object that pyMBE creates in the ESPResSo system. These identifiers are stored in the pyMBE dataframe in which pyMBE creates one row per each individual object. They permit to Table II. Example of a subset of the pyMBE dataframe, filtered by `pmb_type` `=` `"particle"` . state_one state_two name pmb_type particle_id residue_id molecule_id acidity pKa sigma epsilon label es_type z label es_type z _<u>···</u>_ I particle 0 0 0 NaN NaN 0.3 nm 1 reduced_energy I 0 0 NaN NaN NaN _···_ A particle 1 0 0 acidic 4.0 0.4 nm 1 reduced_energy AH 1 0 A 2 -1 _···_ B particle 2 0 0 basic 9.0 0.5 nm 1 reduced_energy BH 3 +1 B 4 0 _···_ ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... map which specific particles belong to specific residues and molecules, allowing to trace back the exact topology of the system. The identifiers `state_one` and `state_two` store information about the possible ionization states of the particles. Each state has a secondary header with the following indexes: `label`, `es_type` and `charge` . The string-like identifier `label` labels a particular ionization state of the particle. The numerical identifier `es_type` stores the particle type used in ESPResSo for that particular type of pyMBE particle. The parameter `charge` stores the valency of a particle in a given state. Inert particles are defined with only one state ( `state_one` ) whose label matches with its `name` used by the pyMBE module. For acidic and basic particles, `state_one` corresponds to the protonated state and `state_two` to the deprotonated state. The pyMBE module labels `state_one` with the `name` of the particle with an extra "H" character at the end, while `state_two` is labelled using the same label as in the `name` of the particle. Additionally, pyMBE assigns the charge of each state using the `acidity` of the particle. For an acidic particle, `charge` is set to 0 in `state_one` (corresponding to a protonated monoprotic acid) and `charge` is set to to _−_ 1 _e_ in `state_two` (corresponding to a deprotonated monoprotic acid). For a basic particle, `charge` is set to +1 _e_ in `state_one` (corresponding to a protonated monoprotic base) and `charge` is set to 0 in `state_two` (corresponding to a deprotonated monoprotic base). The user can store the pyMBE dataframe in a local file ``` pmb . write_pmb_df ( filename ) ``` Code snippet 32. Locally storing the pyMBE dataframe. This function uses the Pandas native function `pandas_df.` `to_csv(filename)` to save the pyMBE dataframe into a file in CSV format. Due to the multi-index organization of the pyMBE dataframe, the user cannot directly use the Pandas native function to load files in CSV files. However, the pyMBE module provides a helper function to read the information from a pyMBE dataframe stored in a local CSV file ``` pmb . read_pmb_df ( filename = "df.csv" ) ``` Code snippet 33. Reading an existing pyMBE dataframe. where `filename` is the path to the local CSV file with the pyMBE dataframe. III. BENCHMARKS In this section, we show a set of benchmark results, where we used pyMBE to reproduce the results from some of our previous publications. Some of these previous results were obtained using ESPResSo, while others were obtained using different software packages. Nonetheless, their common feature is that they all calculated the net charge of various molecules containing weakly acidic or basic groups. Before describing the results, which we used as benchmarks, we describe some additional helper functions, provided by pyMBE to facilitate the calculation of acid-base properties and net charge of molecules in complex simulation setups. A. Helper functions for analyzing acid-base properties As a reference to evaluate the effect of interactions, we use the Henderson–Hasselbalch (HH) equation, which is the analytical solution of the acid-base chemical equilibrium (Eqs. 1 and 2) under ideal conditions, _i.e._ in the absence of interactions. Under this assumption, the degree of ionization, _αi_, of a monoprotic acid or base _i_ is _αi_ ideal <u>1</u> = (12) 1 + 10 <sup>_zi_</sup> <sup>(p</sup> <sup>_K_</sup> A <sup><u>i</u></sup> <sup>_−_</sup> <sup>pH)</sup> <sup>_,_</sup> A <sup>i</sup> <sup>=</sup> <sup>10</sup> <sup>_−_</sup> <sup>p</sup> <sup>_K_</sup> A <sup>i</sup> where _K_ <sup>i</sup> where _K_ A <sup>i</sup> <sup>=</sup> <sup>10</sup> <sup>_−_</sup> <sup>p</sup> <sup>_K_</sup> A <sup>i</sup> is its the acidity constant and pH = _−_ log _a_ H+ is defined in terms of the proton activity _a_ H+. The charge number of the group _i_ in the ionized state is denoted by _zi_, _i.e._ _zi_ = +1 for a base and _zi_ = _−_ 1 for an acid. The average net charge _Q_ of a macromolecule with _N_ ionizable groups can be calculated by summing over the average degrees of ionization of all its ionizable groups: _Q_ = _N_ ## ∑ eziαi. (13) _i_ =1 The pyMBE module provides a function that calculates the ideal net charge of any molecule defined with a given `molecule_name` : ``` Z_HH = pmb . calculate_HH ( molecule_name = "molecule_name", pH_list = pH_range) ``` Code snippet 34. Calculating the ideal net charge of a molecule. Here, `pH_list` is the list of pH-values at which the Henderson–Hasselbalch equation is evaluated. This function is particularly handy for molecules with many different acidic and basic groups, for example peptides and proteins. Comparison of simulation results with the above ideal theory serves as an important metric for quantifying the effects of interactions on the ionization behavior of macromolecules. The deviations from the ideal theory, observed in simulations of isolated macromolecules in bulk solution, are predominantly caused by electrostatic interactions between various ionizable groups within the molecule, which has been termed the "polyelectrolyte effect". <sup>33</sup> In two-phase systems in which macromolecules are confined in one phase ( _cf_ . Fig. 6b), there is an additional contribution to deviations from the ideal behavior, which has been termed the "Donnan effect". <sup>33</sup> This name refers to the Donnan potential _ψ_ <sup>Don</sup>, which is the electrostatic potential difference between the two phases due to the uneven partitioning of the small ions. The Donnan potential leads to a difference in pH between the system (pH <sup>sys</sup> ) and the reservoir (pH <sup>res</sup> ), <sup>33,38</sup> (14) pH <sup>sys</sup> _−_ pH <sup>res</sup> = <sup>_<u>β</u>_</sup> ln10 <sup>_<u>eψ</u>_</sup> <sup>Don</sup> <sup>_._</sup> Both Donnan effect and polyelectrolyte effect contribute to the shift of the ionization curves in two-phase systems, whereas only the polyelectrolyte effect is present in singlephase systems (bulk solutions). The pyMBE module provides a function `calculate_HH_Donnan` which allows the user to calculate the charge of the molecules including the Donnan effect in the ideal gas limit, _i.e._ assuming that the acid-base equilibrium can be calculated using the Henderson–Hasselbalch equation: ``` c_peptides = { "pep_1" : pmb .Quantity (10, "mmol/L" ), "pep_2" : pmb .Quantity (5, "mmol/L" )} Donnan_dict = pmb . calculate_HH_Donnan ( c_salt = salt_conc_res, c_macro = c_peptides, pH_list = pH_range) ``` Code snippet 35. Calculating the ideal net charge accounting for the Donnan effect. In contrast to the function `calculate_HH`, one needs to provide a dictionary `c_macro` containing the concentration _all_ charged molecules in the system as well as the salt concentration in the reservoir `c_salt` . For example, the setup in Code snippet 35 corresponds to a system with two types of peptides: `pep_1` and `pep_2` . This additional information is required to correctly calculate the Donnan partitioning, which depends on the ionic strength of the reservoir and the concentration of charges in the system that cannot be exchanged with the reservoir. The performed calculation consists of solving a system of coupled non-linear equations involving the degrees of ionization according to the the Henderson–Hasselbalch equations for the various ionizable particles in the system and partition coefficients of small ions according to the ideal Donnan theory (See Appendix D). The function returns a dictionary containing the calculated charges of the various species, a list of the pH-values _in_ the system pH <sup>sys</sup> and a list of the partition coefficients of monovalent cations. Finally, pyMBE provides a function `calculate_net_charge`, which enables the calculation of the instantaneous net charge of a given molecule type, existing in the simulation box of ESPResSo. If more molecules of such type exist in the simulation box, then net charge is averaged over all molecules of the same type: ``` charge_dict = pmb . calculate_net_charge ( espresso_system = es_system, molecule_name = "molecule_name" ) ``` Code snippet 36. Calculating the net charge of a molecule. The returned dictionary contains the mean net charge per molecule, as well as a dictionary containing the mean net charge of the individual residues. All three helper functions described above can be conveniently used in post-processing of the benchmark results described in the following subsections. B. Peptides in bulk solution As a benchmark of the pyMBE module, we calculated the net charge of various peptides as a function of pH. The first two peptides, Lys5Asp5 and Glu5His5, each contain a block of five acidic and five basic amino acids. These artificial amino acid sequences have been custom synthesized and used by Lunkad _et_ _al._ <sup>98</sup> to validate the net charge predicted by their coarse-grained model against experimental measurements. These peptide sequences have been selected to exhibit a rather simple response to a change of the pH. The amino acids in Lys5Asp5 have a rather big difference in p _K_ A values. Therefore, the corresponding ionization curve contains two distinct inflection points. In contrast, the amino acids in Glu5His5 have a much smaller difference in p _K_ A values, resulting in an almost linear decrease of net charge in a broad range of pH values. The model used by Lunkad _et al._ <sup>98</sup> consisted of two beads per amino acid. Their results were obtained using the constant pH (cpH) ensemble implemented in ESPResSo. As explained in Section II B 5, the pyMBE module allows to easily set up two-bead models of peptides in ESPResSo, simply by specifying the amino acid sequence and selecting the desired set of model parameters. In Fig. 7 (a) and (Fig. 7 (b)) we show that the simulations with the two-bead model created using pyMBE quantitatively reproduce the results of Lunkad _et al._ <sup>98</sup> The third peptide is histatin-5, a natural peptide present in human saliva with antifungal and antibacterial properties. <sup>99–101</sup> Unlike the previous two, this natural peptide contains a more complex combination of acidic and basic groups. Specifically, it contains 15 basic groups of 4 different types: N-terminal amine, Lysine, Histidine, Arginine; and 5 acidic groups of 4 different types: C-terminal carboxylic acid, HH Lunkad et al. (a) 5 KKKKKDDDDD pyMBE Blanco et al. 5 0 _−_ 5 (b) 5 EEEEEHHHHH 5 (c) 0 _−_ 5 10 0 nDSHAKRHHGYKRKFHEKHHSHRGYc 2 4 6 8 10 12 pH in the solution Figure 7. Net charge _Q_ of various peptides as a function of the pH. Panels (a) and (b): titration curve of the synthetic peptides Lys5Asp5 (a) and Glu5His5 (b) obtained with constant pH Monte Carlo (cpH) simulation using ESPResSo by Lunkad _et al._ (blue markers). <sup>98</sup> Panel (c): titration curve of histatin-5 computed by cpH simulation using MOLSIM by Blanco _et_ _al._ (green markers). <sup>19</sup> The data from these references can be easily reproduced using the pyMBE module to set up these systems in ESPResSo (orange markers). The black lines follow the Henderson–Hasselbalch (HH) equation (Eqs. 12 and 13) using different sets of p _K_ A-values: the Chemical Rubber Company (CRC) Handbook of Chemistry and Physics <sup>76</sup> (a and b) and Nozaki and Tanford <sup>78</sup> (c). Tyrosine, Aspartic acid and Glutamic acid. Therefore, the net charge of this protein as a function of pH exhibits a more complex trend. This peptide was simulated by Blanco _et al._ <sup>19</sup> using a one-bead model and constant-pH ensemble simulations performed in MOLSIM. In Fig. 7(c) we show that our simulation in the cpH ensemble with the one-bead model created us ing pyMBE reproduced the original results for histatin-5 from Ref. <sup>19</sup> In summary, the above results demonstrate the use of pyMBE for setting up constant-pH simulations of flexible peptides, using the amino acid sequence and pre-defined sets of p _K_ A values as inputs of the simulations. Importantly, the use of pyMBE dramatically simplifies setting up of these simulations in ESPResSo, making it use more user-friendly and less prone to errors. C. Globular proteins in bulk solution Simulations of rigid globular proteins represent another example of the advantages of using pyMBE to create complex molecules, composed of many sub-units of different types and acidity. To demonstrate this, we used two globular proteins most abundant in milk whey: _α−_ lactalbumin and _β_ _−_ lactoglobulin. The acid-base properties of these proteins were simulated by Torres _et al._ <sup>25,26</sup> They were represented as rigid objects with two beads per amino acid residue, using the crystallographic structures available in the Protein Data Bank (PDB). The original simulations were performed using an inhouse Monte Carlo software developed in their group. <sup>25,26</sup> We used the pyMBE functions for creating the models of globular proteins from their PDB structures, as described in Section II B 5. In the case of _α−_ lactalbumin and additional charge of +2 _e_ is included to account for the Ca <sup>2+</sup> ion caged in the protein structure. In Fig. 8, we show that constant-pH simulations in ESPResSo reproduced the net charge _Z_ as a function of pH, reported in the original study by Torres _et al._, <sup>25,26</sup> obtained using their own Monte Carlo software. D. Dialysis of weak polyelectrolyte chains As our final benchmark, we present a simulation of an acid-base equilibrium in a two-phase system that requires the grand-reaction (G-RxMC) method in order to correctly model the interplay of charge regulation and ion partitioning. The model system consists of a solution of weak polyacid chains which is separated by a semi-permeable membrane from an aqueous solution of small ions, termed _reser-_ _voir_ . This system has been used by Landsgesell _et_ _al._ <sup>33</sup> to validate the G-RxMC method. In brief, the polyelectrolyte is represented by a bead-spring polymer model derived from the Kremer–Grest model. <sup>103</sup> The simulated system contains 16 chains, each composed of _N_ = 50 weakly acidic monomers with p _K_ A = 4 _._ 0. The simulations are performed at different reservoir compositions (salt concentration and pH) and concentrations of the polyelectrolyte within the system. Full description of the model and its parameters can be found in Ref. <sup>33</sup> The G-RxMC simulation requires setting up of multiple chemical reactions which are mutually coupled. Some of these reactions represent the acid-base ionization, others represent the exchange of ion pairs between the system and the reservoir. To ensure that the simulation works correctly and pyMBE HH HH+Don Landsgesell et al. pyMBE (a) (b) 20 10 0 _−_ 10 20 10 0 _−_ 10 HH Torres et al. _α_ -lactalbumin (1F6S) _β_ -lactoglobulin (1BEB) 2 3 4 5 6 7 pH in the solution Figure 8. Net charge _Q_ of _α−_ lactalbumin (panel a) and _β_ _−_ lactoglobulin (panel b) as a function of the pH. The pyMBE module has been used to set up a coarse-grained model of each protein from their PDB crystallographic data: _α−_ lactalbumin (PDB code: 1F6S <sup>83</sup> ) and _β_ _−_ lactoglobulin (PDB code: 1BEB <sup>102</sup> ). The net charge measured using pyMBE (orange circles) matches the reference data reported by Torres _et al._ <sup>25,26</sup> (blue squares) within the estimated error. For reference, the analytical solution of the Henderson– Hasselbalch (HH) equation Eqs. 12-13 for each protein is plotted as a black line. efficiently in a broad range of pH and salt concentrations, additional reactions should be set up, obtained as linear combinations of the previous ones. Because the number of reactions is greater than the number of independent parameters, an error in the setup may result in unphysical behavior of the system. The use of pyMBE in combination with ESPResSo facilitates the setup of such a system, helping the user avoid common errors. In Fig. 9, we plot the degree of ionization _α_ of the polyacid chains as a function of the pH in the reservoir, at a monomer concentration inside the system of _c_ mon = 435mM and salt concentration in the reservoir of _c_ <sup>res</sup> NaCl <sup>= 10mM.</sup> <sup>Unlike</sup> <sup>the</sup> previous benchmark results, Fig. 9 contains two sets of reference curves. The solid line represents the ideal Henderson– Hasselbalch equation, using the pH in the reservoir as an input, and disregarding the Donnan partitioning of H <sup>+</sup> ions. It was obtained using the `calculate_HH` function from pyMBE. The dashed line represents the ideal Henderson– 1 _._ 00 0 _._ 75 0 _._ 50 0 _._ 25 0 _._ 00 2 4 6 8 10 12 pH in the reservoir Figure 9. Degree of ionization _α_ of a weak polyacid solution coupled to a reservoir vs. the pH in the reservoir, obtained for a salt concentration of _c_ <sup>res</sup> NaCl <sup>=</sup> <sup>10mM</sup> <sup>in</sup> <sup>the</sup> <sup>reservoir</sup> <sup>and</sup> <sup>a</sup> <sup>monomer</sup> concentration of _c_ mon = 435mM in the solution. The reference data by Landsgesell _et_ _al._ <sup>33</sup> was also obtained using ESPResSo. "HH" corresponds to the result calculated using the ideal Henderson– Hasselbalch equation (Eq. 12), while "HH+Don" results from a coupled systems of equations involving the Henderson–Hasselbalch equation and the ideal Donnan theory. Hasselbalch prediction, using the pH in the system as an input, _i.e._ accounting for the Donnan partitioning of ions (HH+Don). It was obtained using the `calculate_HH_Donnan` function of pyMBE. The key feature of the G-RxMC method is that it accounts for both, Donnan partitioning and direct electrostatic interactions between the particles. Fig. 9 shows that our simulation results, obtained with ESPResSo and using pyMBE to automatically set up all the required reactions, quantitatively agree with the reference results. IV. CONCLUSIONS AND OUTLOOKS We presented the Python-based Molecule Builder for ESPResSo (pyMBE). pyMBE is an open-source software that facilitates the setup of coarse-grained (CG) models of complex molecules in the ESPResSo simulation software. It provides a user-friendly way of building models of flexible peptides and disordered proteins, as well as rigid globular proteins. Additionally, it facilitates an automated setup of acidbase reactions for constant-pH simulations, as well as exchange of small ions between two phases in simulations using the grand-reaction method. The use of pyMBE reduces the risk of user errors when setting up such complex simulations, thereby lowering the barrier for new users to start using these methods, implemented in ESPResSo simulation software. The development of a common tool to build molecules and set up chemical reactions in such simulations represents also an important step towards reproducibility of results. In a set of benchmark results, we showed that simulation setups using pyMBE reproduced reference data from constantpH and grand-reaction simulations produced by different research groups and software. In addition to benchmarking, these reference results will also serve as a set of test cases for future development of the pyMBE module. The pyMBE module currently supports only a limited set of interaction potentials (force fields). These force fields have been selected to enable reproducing the reference results mentioned above. Therefore, they may not necessarily represent the most common set of force fields used for modeling of peptides and proteins. However, thanks to pyMBE, replacing a force field or using a different set of interaction parameters becomes a straightforward task. The pyMBE module is still under active development as a collaborative project between researchers in the field of physics and chemistry of weak polyelectrolytes and biomacromolecules. We plan to continue developing the pyMBE module by extending it to build CG models of other molecules, such as polymer networks, dendrimers and other branched structures and nanoparticles. We also plan to extend the pyMBE module to include other established force fields for CG models of biomolecules, such as MARTINI <sup>104</sup> . ACKNOWLEDGMENTS We thank the early users of the pyMBE module who have contributed to its development by providing valuable feedback on their experience when using the library: Marius Aarsten, Corinna Dannert, Rita S. Dias, Sergio Madurga, Alberto Martinez-Serra, Francesc Mas, Magdaléna Nejedlá, Cristina Landa Barrio and Raju Lunkad. D.B. acknowledges the German Research Foundation (DFG) for funding within the Research Unit FOR2811 “Adaptive Polymer Gels with Model Network Structure” under grant 423791428 along with grant 397384169 (TP7). P.B.T. acknowledges Ph.D. fellowship from CONICET. S.P. and P.K. acknowledge financial support of the Czech Science foundation, grant 21-31978J and grant agency of the Charles University, GAUK project No. 150224. C.F.N. acknowledges the financial support from AGENCIA I+D+i (FONCyT), PICT-2021-GRFTI-00090 and from Universidad Tecnológica Nacional (PIDs PATCASR0008459 and PATCASR0008463). J.-N.G. acknowledges the DFG for funding under grant 528726435 (PI: Holm) and funding by the European Union; this work has received funding from the European High Performance Computing Joint Undertaking (JU) and countries participating in the project under grant agreement No 101093169. P.M.B. acknowledges the financial support from the Spanish Ministry of Universities (Margarita Salas Grant MS98), from the Generalitat de Catalunya (Grant 2021SGR00350) and from the European Union’s Horizon Europe research and innovation program under the Marie Skłodowska-Curie grant agreement No 101062456 (ModEMUS). DATA AVAILABILITY STATEMENT The original data showcased in this article in Figs. 79 is available in the pyMBE repository in the folder ‘ `/testsuite/data/src’` with the permission of its original authors. These data sets were originally published in Refs. <sup>19,25,26,33,98</sup> We also provide the set of scripts that we used to reproduce the data of these articles with pyMBE in the repository of the software in the folder ‘ `/samples/Beyer2024’` . These scripts are part of pyMBE release 0.8.0 <sup>105</sup> available on Zenodo. CONFLICT OF INTEREST The authors have no conflicts to disclose. AUTHOR CONTRIBUTIONS D.B.: Software, Validation, Visualization, Writing – original draft, Writing – review & editing. P.B.T.: Software, Validation, Visualization, Writing - original draft. S.P.P.: Software, Visualization, Writing – original draft. C.F.N.: Funding acquisition, Supervision, Writing – review & editing. J.-N.G.: Software, Writing - review & editing. P.K.: Conceptualization, Funding acquisition, Supervision, Writing - review & editing. P.M.B: Conceptualization, Funding acquisition, Project administration, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing. Appendix A: Dependencies of pyMBE Currently, the pyMBE module depends on the following libraries: ESPResSo <sup>1,2</sup>, NumPy <sup>106</sup>, Pandas <sup>96,97</sup>, Pint <sup>73</sup>, PintPandas <sup>107</sup> and, only for developers, pdoc <sup>72</sup> . Continuous testing and documentation generation are automated using EESSI <sup>108</sup> via GitHub Action eessi/github-action-eessi <sup>109</sup> . We note that these dependencies apply to the current version of pyMBE at the time of writing and they might change in the future as pyMBE is a live project. We therefore recommend the reader to visit the repository of pyMBE for up-to-date information about the dependencies of the pyMBE module. Appendix B: Additional examples of the pyMBE Dataframe To extend the description of the pyMBE dataframe that we provided in Section II F, let us consider one of the example cases presented in Section II B 3. For simplicity, let us consider a user that uses the pyMBE module to create two molecules of the type `name` `=` `"alternating_polymer"` with a small number of monomeric units, for example two. When creating objects in ESPResSo, pyMBE adds one row per object into the pyMBE dataframe to bookkeep the information of every individual object created. For example, if the user filters the pyMBE dataframe by `pmb_type` `=` `"residue"`, pyMBE returns the dataframe depicted in Table III. The first two rows correspond to residues belonging to a molecule with `molecule_id` `=` `0` while the last two correspond to a second molecule with a `molecule_id` `=` `1` . The user can also filter by `pmb_type` `=` `"bond"` to check how pyMBE has bonded the particles to create the two molecules in the system as shown in Table IV. In this case, the subset of the pyMBE dataframe displays six rows, corresponding to the number of bonds needed to build the two example molecules. Numerical identifiers of the two bonded particles within the ESPResSo system are stored in `particle_id1` and `particle_id2` . The `bond_object` stores the instance of the bond object from the ESPResSo library used to set up the bonding potential between the particle, in which the parameters of the bonding potential can be consulted. If the user filters the pyMBE dataframe by the `pmb_type` `=` `"molecule"`, pyMBE returns the dataframe depicted in Table V. Each row of the dataframe corresponds to a different molecule in the ESPResSo system, where the user can observe that the molecules with `molecule_id` of 0 and 1 correspond of molecules of the type given by `name` `=` `"alternating_polymer"` . Table V. Example of a subset of the pyMBE dataframe, filtered by `pmb_type` `=` `"molecule"` . <u>name</u> <u>pmb_type</u> <u>molecule_id</u> <u>residue_list</u> _<u>···</u>_ alternating_polymer molecule 0 [IA,IB] _···_ alternating_polymer molecule 1 [IA,IB] _···_ ... ... ... ... ... ... ... ... ... between the system and reservoir as electroneutral ion pairs. Within the reaction ensemble framework, these exchanges are represented as virtual chemical reactions, Eq. 4–Eq. 7. The acceptance probabilities of these virtual chemical reactions are the same as the exchange of ion pairs in the grand canonical ensemble. <sup>33</sup> The equilibrium constant for each ion pair is related to the sum of their chemical potentials in the reservoir: _k_ B _T_ ln _Kij_ = _µi_ <sup>res</sup> _i_ <sup>res</sup> + _µ_ <sup>res</sup> _j_ <sup>res</sup> _j_ _−_ _µi_ <sup>_⊖_</sup> _j_ _i_ <sup>_⊖_</sup> <sup>_−_</sup> <sup>_µ_</sup> <sup>_⊖_</sup> _j_ (C1) <sup>_⊖_</sup> Furthermore, the value of _Kij_ is related to the concentrations of these ions in the reservoir _<u>i</u>_ <sup>res</sup> <sup>_c_</sup> <sup>res</sup> _<u>j</u>_ _Kij_ = _γ_ <sup>2</sup> _<u>±</u>_ <sup>2</sup> <sup>_c_</sup> _<u>i</u>_ <sup>res</sup> <sup>_c_</sup> _<u>i</u>_ <sup>res</sup> <sup>_c_</sup> <sup>res</sup> _<u>j</u>_ (C2) ( _c_ <sup>_⊖_</sup> ) <sup><u>2</u></sup> Table III. Example of a subset of the pyMBE dataframe, filtered by `pmb_type` `=` `"residue"` . <u>name</u> <u>pmb_type</u> <u>residue_id</u> <u>molecule_id</u> <u>central_bead</u> <u>side_chains</u> _<u>···</u>_ where _γ±_ = (exp( _βµi_ <sup>ex</sup> coefficient at the given _i_ <sup>ex)+</sup> <sup>exp(</sup> <sup>_βµ_</sup> <sup>ex</sup> _j_ IA residue 0 0 I [I,A] _···_ IB residue 1 0 I [I,B] _···_ IA residue 2 1 I [I,A] _···_ IB residue 3 1 I [I,B] _···_ where _γ±_ = (exp( _βµi_ <sup>ex)+</sup> <sup>exp(</sup> <sup>_βµ_</sup> <sup>ex</sup> _j_ <sup>))</sup> <sup>_/_</sup> <sup>2 is the mean activity</sup> coefficient at the given composition of the reservoir and _µi_ <sup>ex</sup> is the excess chemical potential of ion _i_ . In an ideal system, _γ±_ = 1, and the constants _Kij_ are simply given by the products of concentrations of individual ions. The self-ionization of water is given by its equilibrium constant at room temperature _K_ w = _γ±_ <sup>2</sup> <sup>_c_</sup> H <sup>+</sup> <sup>_c_</sup> OH <sup>_−/_</sup> <sup>(</sup> <sup>_c⊖_</sup> <sup>)2 = 10</sup> <sup>_−_</sup> <sup>14</sup> (C3) ... ... ... ... ... ... ... Table IV. Example of a subset of the pyMBE dataframe, filtered by `pmb_type` `=` `"bond"` . <u>name</u> <u>pmb_type</u> <u>particle_id</u> <u>particle_id2</u> <u>bond_object</u> _<u>···</u>_ Out of the three remaining constants, only two can be chosen independently, because the last one is determined by the requirement of electroneutrality in the reservoir. In a non-ideal system containing only monovalent ions, _γ±_ depends on the ionic strength of the solution, _I_ = <sup><u>1</u></sup> ## 2 ∑ i _z_ <sup>2</sup> _i_ <sup>_ci_</sup> (C4) _z_ <sup>2</sup> _i_ I-A bond 0 1 HarmonicBond() _···_ I-I bond 0 2 HarmonicBond() _···_ I-B bond 2 3 HarmonicBond() _···_ I-A bond 2 4 HarmonicBond() _···_ I-I bond 4 5 HarmonicBond() _···_ I-B bond 4 6 HarmonicBond() _···_ ... ... ... ... ... ... where the summation runs over all small ions present in the reservoir. Therefore, constants _Kij_ depend not only on the concentrations of individual ions but also on the ionic strength. In contrast with simulations in the grand-reaction ensemble, the reservoir composition in experiments would be typically specified by the concentrations of individual ionic species and by pH in the reservoir, defined as _µ_ <u>H</u> <sup>res+</sup> - _γ±c_ <u>Hres</u> <sup>+</sup> _c_ <sup>_⊖_</sup> = _−_ <sup>res</sup> <u>H</u> <u>H</u> <sup>+</sup> <sup>_<u>−</u>_</sup> <sup>_µ_</sup> <sup>_<u>⊖</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_µ_</sup> <u>H</u> <sup>_<u>⊖</u>_</sup> <sup>+</sup> (C5) ln10 Appendix C: Reservoir composition in the G-RxMC method As explained in Section II C 2, composition of the reservoir in the grand-reaction method is specified _via_ the chemical potentials of ions in the reservoir. These ions are exchanged pH <sup>res</sup> = _−_ log10 For simplicity, we assume that the reservoir contains only monovalent salt ions, which we call Na <sup>+</sup> and Cl <sup>–</sup>, and the H <sup>+</sup> and OH <sup>–</sup> ions, which are inevitably present in aqueous solutions. This could be prepared by dissolving a given amount of NaCl in pure water and then adjusting the pH by adding extra NaOH or HCl. Because pyMBE currently implements all ions as point charges with WCA potential for steric repulsion, the discussion below applies to any reservoir which contains only monovalent ions represented in the same way. When the ionic strength of the solution is determined predominantly by the NaCl concentration, one can use for example the extended Debye–Hückel theory to estimate the activity coefficients from the ionic strength, <sup>91</sup> of a Lagrange multiplier that ensures the electroneutrality of both phases. <sup>33</sup> Consequently, the resulting equilibrium is also often termed the "Donnan equilibrium". Assuming an ideal system, _i.e._ neglecting all interactions, the Donnan potential can be related to the partition coefficient of cations: and a closed expression for the Donnan potential can be obtained: <sup>33</sup> <u>+</u> _ξ_ + _≡_ <sup>_<u>c</u>_</sup> _c_ <sup>sysres</sup> + <u>+</u> <sup>_<u>c</u>_</sup> _c_ <sup>sysres</sup> + = exp - _−β_ _eψ_ <sup>Don�</sup> (D2) + _<u>√</u>_ (C6) _<u>I</u>_ _<u>A</u>_ _−_ log10 _γ±_ = 1 + _<u>A√I</u>_ 1 + _Ba_ _~~√~~_ exp ~~�~~ <u>�</u> <u>∑</u> _<u>i ziαici</u>_ 2 _I_ <sup><u>res</u></sup> <u>�2</u> + 1 _._ (D3) = <sup><u>∑</u></sup> <sup>_<u>i ziαici</u>_</sup> + 2 _I_ <sup><u>res</u></sup> = <sup><u>∑</u></sup> <sup>_<u>i ziαici</u>_</sup> - _−β_ _eψ_ <sup>Don�</sup> where _a_ is the effective diameter of the ion in nanometers and _A_ and _B_ are constants, whose values for aqueous solutions at room temperature are _A_ = 0 _._ 5085L <sup>1</sup> <sup>_/_</sup> <sup>2</sup> mol <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> and _B_ = 0 _._ 3281L <sup>1</sup> <sup>_/_</sup> <sup>2</sup> mol <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> nm <sup>_−_</sup> <sup>1</sup> . The calculation becomes more complex at extreme pH values, when the amount of added NaOH or HCl exceeds the amount of NaCl. In the general case, the activity coefficients (excess chemical potentials) are uniquely determined by the ionic strength, which depends on the concentrations of all ions In this equation, _I_ <sup>res</sup> _≡_ _c_ <sup>res</sup> <u>H</u> <sup>+</sup> <sup>res</sup> <u>H</u> <sup>+</sup> <sup>+</sup> <sup>_c_</sup> <sup>res</sup> <u>OH</u> <sup>res</sup> <u>OH</u> <sup>_<u>−</u>_</sup> <sup>+</sup> <sup>_c_</sup> <u>Na</u> <sup>res</sup> <sup>+</sup> <sup>_c_</sup> <u>Na</u> <sup>res+</sup> <sup>+</sup> <sup>_c_</sup> <sup>res</sup> <u>Cl</u> <sup>_<u>−</u>_</sup> (D4) 2 <u>Na</u> <sup>res+</sup> <sup>+</sup> <sup>_c_</sup> <sup>res</sup> <u>Cl</u> <sup>_<u>−</u>_</sup> _γ±_ ( _I_ <sup>res</sup> ) = _f_ ( _I_ <sup>res</sup> ) = _f_ - _I_ <sup>res �</sup> _c_ <sup>res</sup> H <sup>+</sup> <sup>res</sup> H <sup>+</sup> <sup>_,_</sup> <sup>_c_</sup> <sup>res</sup> OH <sup>res</sup> OH <sup>_−,_</sup> <sup>_c_</sup> NaCl <sup>res</sup> NaCl is the ionic strength of the reservoir, taking into account the small ions H <sup>+</sup>, OH <sup>_−_</sup>, Na <sup>+</sup>, Cl <sup>_−_</sup> . The sum ∑ _i ziαici_ runs over all ionizable groups in the system, which cannot be exchanged with the reservoir. More specifically, _zi_ is the charge number of group _i_ when it is ionized, _αi_ is the corresponding degree of ionization and _ci_ the total concentration of groups of type _i_ in the system, irrespective of the ionization state. For charge-regulating systems, the degrees of ionization _αi_ can be calculated from the pH in the system using the Henderson– Hasselbalch equation Eq. 12. However, the pH in the system differs from pH in the reservoir by the Donnan contribution: (D5) pH <sup>sys</sup> _−_ pH <sup>res</sup> = <sup>_<u>β</u>_</sup> ln10 <sup>_<u>eψ</u>_</sup> <sup>Don</sup> <sup>_._</sup> Under the ideal gas approximation, the degree of ionization _αi_ is thus given by �� _,_ (C7) At low ionic strength, _f_ can be approximated by Eq. C6, while at high ionic strength, it can be estimated from simulations using the Widom insertion method. <sup>92</sup> As explained in Section II C 2, in pyMBE the functional form of _f_ is not fixed but has to be provided by the user when setting up the G-RxMC method. In the general case, Eq. C7, Eq. C5 and Eq. C3 form a coupled system of nonlinear equations that can be solved numerically for the concentrations and the excess chemical potential, given values for pH <sup>res</sup> and _c_ <sup>res</sup> NaCl <sup>.</sup> <sup>In</sup> <sup>pyMBE,</sup> <sup>this</sup> calculation is performed iteratively until self-consistency. Appendix D: Henderson–Hasselbalch equation coupled to the Donnan equilibrium In reactive two-phase systems, charge regulation and ion partitioning are inherently coupled in a highly non-linear fashion, as shown in Fig.6(b). For ideal systems, this leads to a system of equations which can be solved numerically to obtain the Donnan potential and ionization degrees under the given conditions. As in the case of single-phase systems, this ideal description is often an important reference point to assess the role of (electrostatic) interactions. In an ideal model, the partitioning of small ions is described by the Donnan theory, and the charge regulation of the weak acid and base groups, is described by the Henderson– Hasselbalch equation. The partitioning of exchangeable ionic species is determined by the equality of electrochemical potentials, _αi_ ideal <u>1</u> = (D6) 1 + 10 <sup>_zi_</sup> <sup>(p</sup> <sup>_K_</sup> A <sup>i</sup> <sup>_−_</sup> <sup>pHsys)</sup> where pH <sup>sys</sup> depends on pH <sup>res</sup> and _ψ_ <sup>Don</sup> through Eq. D5. Equations D3 and D6 form a system of non-linear equations relating the degrees of ionization and the Donnan potential; charge regulation and ion partitioning are thus inherently coupled. Inserting the equations into each other, it is possible to reduce the set of equations to a non-linear equation for a single variable. In practice, it is convenient to formulate this equation in terms of the partition coefficient _ξ_ +: _ξ_ + = <sup><u>∑</u></sup> <sup>_<u>i ziαici</u>_</sup> + 2 _I_ <sup><u>res</u></sup> _ξ_ + = <sup><u>∑</u></sup> <sup>_<u>i ziαici</u>_</sup> 2 _I_ <sup><u>res</u></sup> �� <u>∑</u> _<u>i ziαici</u>_ 2 _I_ <sup><u>res</u></sup> <u>�2</u> + 1 _,_ (D7) where <u>1</u> _αi_ = (D8) 1 + 10 <sup>_zi_</sup> <sup>(p</sup> <sup>_K_</sup> A <sup>i</sup> <sup>_−_</sup> <sup>pHres+log10</sup> <sup>_ξ_</sup> <sup>+)</sup> <sup>_._</sup> _n_ <sup>sys</sup> + _qnψ_ <sup>Don</sup> = _µn_ <sup>res</sup> _µn_ <sup>sys</sup> _n_ <sup>res</sup> (D1) While not solvable analytically, this equation can be solved numerically using standard root finding techniques. In the pyMBE module, this calculation can be performed using the function `calculate_HH_Donnan`, as demonstrated in Section III D. where _n ∈{_ H <sup>+</sup>, OH <sup>_−_</sup>, Na <sup>+</sup>, Cl <sup>_−_</sup> _}_ . Here, _qn_ is the charge of ion _n_ and _ψ_ <sup>Don</sup> is the Donnan potential, which plays the role REFERENCES 1F. Weik, R. Weeber, K. Szuttor, K. Breitsprecher, J. de Graaf, M. Kuron, J. Landsgesell, H. Menke, D. Sean, [and C. Holm, European Physical Jour-](http://dx.doi.org/10.1140/epjst/e2019-800186-9) [nal Special Topics](http://dx.doi.org/10.1140/epjst/e2019-800186-9) 227, 1789 (2019). 2R. Weeber, J.-N. Grad, D. Beyer, P. M. Blanco, P. Kreissl, A. Reinauer, I. Tischler, P. Košovan, and C. Holm, in _Comprehensive_ _Computational_ _[Chemistry](http://dx.doi.org/ 10.1016/B978-0-12-821978-2.00103-3)_, edited by M. Yáñez and R. J. Boyd (Elsevier, Oxford, 2024) 1st ed., pp. 578–601. 3H. V. Guzman, N. Tretyakov, H. Kobayashi, A. C. Fogarty, K. Kreis, J. Krajniak, C. Junghans, K. Kremer, and T. Stuehn, [Computer](http://dx.doi.org/10.1016/j.cpc.2018.12.017) Physics [Communications](http://dx.doi.org/10.1016/j.cpc.2018.12.017) 238, 66 (2019). 4M. Lund, M. Trulsson, and B. Persson, Source Code [for](http://dx.doi.org/10.1186/1751-0473-3-1) Biology and [Medicine](http://dx.doi.org/10.1186/1751-0473-3-1) 3, 1 (2008). 5B. Stenqvist, A. Thuresson, A. Kurut, R. Vácha, [and M. Lund, Molecular](http://dx.doi.org/ 10.1080/08927022.2013.828207) Simulation [39](http://dx.doi.org/ 10.1080/08927022.2013.828207), 1233 (2013). 6H. W. Hatch, N. A. Mahynski, [and V. K. Shen, Journal of Research of the](http://dx.doi.org/10.6028/jres.123.004) [National Institute of Standards and Technology](http://dx.doi.org/10.6028/jres.123.004) 123, 1 (2018). 7M. J. Abraham, T. Murtola, R. Schulz, S. Páll, J. C. Smith, B. Hess, and E. Lindahl, SoftwareX [1-2](http://dx.doi.org/ 10.1016/j.softx.2015.06.001), 19 (2015). 8J. A. Anderson, J. Glaser, and S. C. Glotzer, [Computational](http://dx.doi.org/10.1016/j.commatsci.2019.109363) Materials Science 173 [, 109363 (2020).](http://dx.doi.org/10.1016/j.commatsci.2019.109363) 9J. Rešˇciˇc and P. Linse, Journal of [Computational](http://dx.doi.org/10.1002/jcc.23919) Chemistry 36, 1259 [(2015).](http://dx.doi.org/10.1002/jcc.23919) 10A. P. Thompson, H. M. Aktulga, R. Berger, D. S. Bolintineanu, W. M. Brown, P. S. Crozier, P. J. in ’t Veld, A. Kohlmeyer, S. G. Moore, T. D. Nguyen, R. Shan, M. J. Stevens, J. Tranchida, C. Trott, and S. J. Plimpton, [Computer Physics Communications](http://dx.doi.org/10.1016/j.cpc.2021.108171) 271, 108171 (2022). [11The Canva development team, “Canva: Visual suite for everyone,”](https://www.canva.com/) (2023). [12M. Lund and B. Jönsson, Quarterly reviews of biophysics](http://dx.doi.org/10.1017/S003358351300005X) 46, 265 (2013). 13J. Landsgesell, L. Nová, O. Rud, F. Uhlík, D. Sean, P. Hebbeker, C. Holm, and P. Košovan, Soft Matter [15](http://dx.doi.org/ 10.1039/C8SM02085J), 1155 (2019). 14P. M. Blanco, C. F. Narambuena, S. Madurga, F. Mas, and J. L. Garcés, Polymers 15 [, 2680 (2023).](http://dx.doi.org/10.3390/polym15122680) 15C. E. Reed and W. F. Reed, The Journal of [Chemical](http://dx.doi.org/10.1063/1.462145) Physics 96, 1609 [(1992).](http://dx.doi.org/10.1063/1.462145) 16A. Laguecir, S. Ulrich, J. Labille, N. Fatin-Rouge, S. Stoll, and J. Buffle, [European Polymer Journal](http://dx.doi.org/ 10.1016/j.eurpolymj.2005.11.023) 42, 1135 (2006). 17M. Ullner, B. Jönsson, B. Söderberg, and C. Peterson, The [Journal](http://dx.doi.org/10.1063/1.471071) of [Chemical Physics](http://dx.doi.org/10.1063/1.471071) 104, 3048 (1996). 18M. Ullner and B. Jönsson, Macromolecules [29](http://dx.doi.org/10.1021/ma960309w), 6645 (1996). 19P. M. Blanco, S. Madurga, J. L. Garcés, F. Mas, [and R. S. Dias, Soft Matter](http://dx.doi.org/ 10.1039/d0sm01475c) 17 [, 655 (2021).](http://dx.doi.org/ 10.1039/d0sm01475c) 20R. Lunkad, A. Murmiliuk, Z. Tošner, M. Štˇepánek, [and P. Košovan, Poly-](http://dx.doi.org/10.3390/polym13020214) mers 13 [, 214 (2021).](http://dx.doi.org/10.3390/polym13020214) 21R. Lunkad, P. Biehl, A. Murmiliuk, P. M. Blanco, P. Mons, M. Štˇepánek, F. H. Schacher, and P. Košovan, Macromolecules [55](http://dx.doi.org/ 10.1021/acs.macromol.2c01121), 7775 (2022). 22S. P. Pineda, R. Staˇno, A. Murmiliuk, P. M. Blanco, P. Montes, Z. Tošner, O. Groborz, J. Pánek, M. Hrubý, M. Štˇepánek, [and P. Košovan, JACS Au](http://dx.doi.org/10.1021/jacsau.3c00668) [(2024), 10.1021/jacsau.3c00668.](http://dx.doi.org/10.1021/jacsau.3c00668) 23M. Lund and B. Jönsson, Biochemistry [44](http://dx.doi.org/10.1021/bi047630o), 5722 (2005). 24F. L. B. da Silva and B. Jönsson, Soft Matter 5 [, 2862 (2009).](http://dx.doi.org/10.1039/b902039j) 25P. B. Torres, E. Quiroga, A. J. Ramirez-Pastor, V. Boeris, and C. F. Naram[buena, The Journal of Physical Chemistry B](http://dx.doi.org/10.1021/acs.jpcb.9b03276) 123, 8617 (2019). 26P. B. Torres, P. M. Blanco, J. L. Garcés, [and C. F. Narambuena, The Jour-](http://dx.doi.org/10.1063/5.0122275) [nal of Chemical Physics](http://dx.doi.org/10.1063/5.0122275) 157, 205101 (2022). 27T. Hoare and R. Pelton, Macromolecules [37](http://dx.doi.org/10.1021/ma035658m), 2544 (2004). 28C. Hofzumahaus, P. Hebbeker, and S. Schneider, Soft [Matter](http://dx.doi.org/10.1039/C7SM02528A) 14, 4087 [(2018).](http://dx.doi.org/10.1039/C7SM02528A) 29C. Hofzumahaus, C. Strauch, and S. Schneider, Soft [Matter](http://dx.doi.org/10.1039/D1SM00433F) 17, 6029 [(2021).](http://dx.doi.org/10.1039/D1SM00433F) 30C. Strauch and S. Schneider, Soft Matter [19](http://dx.doi.org/10.1039/d2sm01301k), 938 (2023). 31A. Clavier, M. Seijo, F. Carnal, [and S. Stoll, Physical Chemistry Chemical](http://dx.doi.org/ 10.1039/c4cp04733h) Physics [17](http://dx.doi.org/ 10.1039/c4cp04733h), 4346 (2015). 32M. Stornes, P. M. Blanco, [and R. S. Dias, Colloids and Surfaces A: Physic-](http://dx.doi.org/10.1016/j.colsurfa.2021.127258) [ochemical and Engineering Aspects](http://dx.doi.org/10.1016/j.colsurfa.2021.127258) 628, 127258 (2021). 33J. Landsgesell, P. Hebbeker, O. Rud, R. Lunkad, P. Košovan, and C. Holm, Macromolecules [53](http://dx.doi.org/ 10.1021/acs.macromol.0c00260), 3007 (2020). 34D. Beyer, J. Landsgesell, P. Hebbeker, O. Rud, R. Lunkad, P. Košovan, and C. Holm, Macromolecules [55](http://dx.doi.org/10.1021/acs.macromol.1c02672), 1088 (2022). 35J. Riˇcka and T. Tanaka, Macromolecules [17](http://dx.doi.org/10.1021/ma00142a081), 2916 (1984). 36J. Tang, T. Katashima, X. Li, Y. Mitsukami, Y. Yokoyama, N. Sakumichi, U.-i. Chung, M. Shibayama, and T. Sakai, [Macromolecules](http://dx.doi.org/ 10.1021/acs.macromol.0c01221) 53, 8244 [(2020).](http://dx.doi.org/ 10.1021/acs.macromol.0c01221) 37O. E. Philippova, D. Hourdet, R. Audebert, [and A. R. Khokhlov, Macro-](http://dx.doi.org/10.1021/ma970957v) molecules [30](http://dx.doi.org/10.1021/ma970957v), 8278 (1997). 38J. Landsgesell, D. Beyer, P. Hebbeker, P. Košovan, [and C. Holm, Macro-](http://dx.doi.org/ 10.1021/acs.macromol.1c02489) molecules [55](http://dx.doi.org/ 10.1021/acs.macromol.1c02489), 3176 (2022). 39D. Beyer, P. Košovan, and C. Holm, Macromolecules [55](http://dx.doi.org/10.1021/acs.macromol.2c01916), 10751 (2022). 40C. Love, J. Steinkühler, D. T. Gonzales, N. Yandrapalli, T. Robinson, R. Dimova, and T. D. Tang, Angewandte Chemie International Edition 59 [, 5950 (2020).](http://dx.doi.org/10.1002/anie.201914893) 41R. Staˇno, J. J. van Lente, S. Lindhoud, [and P. Košovan, Macromolecules](http://dx.doi.org/10.1021/acs.macromol.3c01209) [(2024), 10.1021/acs.macromol.3c01209.](http://dx.doi.org/10.1021/acs.macromol.3c01209) 42G. Ferrand-Drake del Castillo, R. L. N. Hailes, Z. Adali-Kaya, T. Robson, [and A. Dahlin, Chemical Communications](http://dx.doi.org/10.1039/D0CC01250E) 56, 5889 (2020). 43G. Ferrand-Drake del Castillo, R. L. N. Hailes, [and A. Dahlin, The Journal](http://dx.doi.org/10.1021/acs.jpclett.0c01289) [of Physical Chemistry Letters](http://dx.doi.org/10.1021/acs.jpclett.0c01289) 11, 5212 (2020). 44J. Yuan and Y. Wang, The Journal of Physical [Chemistry](http://dx.doi.org/10.1021/acs.jpcb.1c04451) B 125, 10589 [(2021).](http://dx.doi.org/10.1021/acs.jpcb.1c04451) 45D. Beyer, P. Košovan, [and C. Holm, Physical Review Letters](http://dx.doi.org/10.1103/PhysRevLett.131.168101) 131, 168101 [(2023).](http://dx.doi.org/10.1103/PhysRevLett.131.168101) 46X. Yuan, H. W. Hatch, J. C. Conrad, A. B. Marciel, [and J. C. Palmer, Soft](http://dx.doi.org/ 10.1039/D3SM00447C) Matter 19 [, 4333 (2023).](http://dx.doi.org/ 10.1039/D3SM00447C) [47C. Balzer and Z.-G. Wang, The European Physical Journal E](http://dx.doi.org/10.1140/epje/s10189-023-00341-3) 46, 82 (2023). 48T. Briskot, N. Hillebrandt, S. Kluters, G. Wang, J. Studts, T. Hahn, T. Huuk, and J. Hubbuch, Journal of Membrane Science 648, 120333 [(2022).](http://dx.doi.org/ 10.1016/j.memsci.2022.120333) 49M. D. Hanwell, D. E. Curtis, D. C. Lonie, T. Vandermeersch, E. Zurek, [and G. R. Hutchison, Journal of Cheminformatics](http://dx.doi.org/ 10.1186/1758-2946-4-17) 4 (2012), 10.1186/1758[2946-4-17.](http://dx.doi.org/ 10.1186/1758-2946-4-17) 50W. Humphrey, A. Dalke, [and K. Schulten, Journal of molecular graphics](http://dx.doi.org/10.1016/0263-7855%0x2896%0x2900018-5) 14 [, 33 (1996).](http://dx.doi.org/10.1016/0263-7855%0x2896%0x2900018-5) 51Schrödinger, LLC, “The PyMOL [molecular](http://www.pymol.org/pymol) graphics system, ver[sion 2.5.7,”](http://www.pymol.org/pymol) (2023). 52R. Salomon-Ferrer, D. A. Case, [and R. C. Walker, Wiley Interdisciplinary](http://dx.doi.org/10.1002/wcms.1121) Reviews: [Computational Molecular Science](http://dx.doi.org/10.1002/wcms.1121) 3, 198 (2012). 53D. A. Case, H. M. Aktulga, K. Belfon, D. S. Cerutti, G. A. Cisneros, V. W. D. Cruzeiro, N. Forouzesh, T. J. Giese, A. W. Götz, H. Gohlke, S. Izadi, K. Kasavajhala, M. C. Kaymak, E. King, T. Kurtzman, T.-S. Lee, P. Li, J. Liu, T. Luchko, R. Luo, M. Manathunga, M. R. Machado, H. M. Nguyen, K. A. O’Hearn, A. V. Onufriev, F. Pan, S. Pantano, R. Qi, A. Rahnamoun, A. Risheh, S. Schott-Verdugo, A. Shajan, J. Swails, J. Wang, H. Wei, X. Wu, Y. Wu, S. Zhang, S. Zhao, Q. Zhu, T. E. Cheatham, D. R. Roe, A. Roitberg, C. Simmerling, D. M. York, M. C. Nagan, and K. M. [Merz, Journal of Chemical Information and Modeling](http://dx.doi.org/10.1021/acs.jcim.3c01153) 63, 6183 (2023). 54J. Sallai, G. Varga, S. Toth, C. Iacovella, C. Klein, C. McCabe, A. Ledeczi, [and P. T. Cummings, Procedia Computer Science](http://dx.doi.org/ 10.1016/j.procs.2014.05.187) 29, 2034 (2014). 55C. Klein, J. Sallai, T. J. Jones, C. R. Iacovella, C. McCabe, and P. T. Cummings, “A hierarchical, component based approach to screening properties of soft matter,” in _Molecular_ _[Modeling](http://dx.doi.org/10.1007/978-981-10-1128-3_5)_ _and_ _Simulation_ (Springer Singapore, 2016) pp. 79–92. 56P. T. Cummings, C. MCabe, C. R. Iacovella, A. Ledeczi, E. Jankowski, A. Jayaraman, J. C. Palmer, E. J. Maginn, S. C. Glotzer, J. A. Anderson, J. Ilja Siepmann, J. Potoff, R. A. Matsumoto, J. B. Gilmer, R. S. DeFever, R. Singh, and B. Crawford, AIChE Journal 67 [(2021), 10.1002/aic.17206.](http://dx.doi.org/10.1002/aic.17206) 57A. G. Demidov, B. L. A. Perera, M. E. Fortunato, S. Lin, and C. M. Colina, [Living Journal of Computational Molecular Science](http://dx.doi.org/10.33011/livecoms.4.1.1561) 4, 1561 (2022). 58M. C. Ramos, P. K. Quoika, V. A. C. Horta, D. M. Dias, E. G. Costa, J. L. M. do Amaral, L. M. Ribeiro, K. R. Liedl, and B. A. C. Horta, [Journal of Chemical Information and Modeling](http://dx.doi.org/ 10.1021/acs.jcim.0c01438) 61, 1539 (2021). 59Molydyn Ltd., “Atlas: [Supporting your simulations,”](https://www.molydyn.com/atlas) (2023). 60D. H. de Jong, G. Singh, W. F. D. Bennett, C. Arnarez, T. A. Wassenaar, L. V. Schäfer, X. Periole, D. P. Tieleman, and S. J. Marrink, [Journal](http://dx.doi.org/10.1021/ct300646g) of [Chemical Theory and Computation](http://dx.doi.org/10.1021/ct300646g) 9, 687 (2012). 61P. C. Kroon, F. Grünewald, J. Barnoud, M. v. Tilburg, P. C. T. Souza, T. A. Wassenaar, and S.-J. Marrink, arXiv [preprint](http://dx.doi.org/10.48550/arXiv.2212.01191) (2022), [10.48550/arXiv.2212.01191, 2212.01191v2.](http://dx.doi.org/10.48550/arXiv.2212.01191) 62T. Bereau and K. Kremer, Journal of Chemical [Theory](http://dx.doi.org/10.1021/acs.jctc.5b00056) and Computation 11 [, 2783 (2015).](http://dx.doi.org/10.1021/acs.jctc.5b00056) 63C. Hilpert, L. Beranger, P. C. T. Souza, P. A. Vainikka, V. Nieto, S. J. Marrink, L. Monticelli, [and G. Launay, Journal of Chemical Information](http://dx.doi.org/10.1021/acs.jcim.2c01375) [and Modeling](http://dx.doi.org/10.1021/acs.jcim.2c01375) 63, 702 (2023). 64D. Kut’ák, E. Poppleton, H. Miao, P. Šulc, [and I. Bariši´c, Molecules](http://dx.doi.org/10.3390/molecules27010063) 27, [63 (2021).](http://dx.doi.org/10.3390/molecules27010063) 65C. Tan, J. Jung, C. Kobayashi, D. U. L. Torre, S. Takada, and Y. Sugita, [PLOS Computational Biology](http://dx.doi.org/ 10.1371/journal.pcbi.1009578) 18, e1009578 (2022). 66J. P. K. Doye, T. E. Ouldridge, A. A. Louis, F. Romano, P. Šulc, C. Matek, B. E. K. Snodin, L. Rovigatti, J. S. Schreck, R. M. Harrison, and W. P. J. [Smith, Physical Chemistry Chemical Physics](http://dx.doi.org/ 10.1039/C3CP53545B) 15, 20395 (2013). [67J. M. Majikes and J. A. Liddle, Journal of Research of the National Insti-](http://dx.doi.org/10.6028/jres.126.001) [tute of Standards and Technology](http://dx.doi.org/10.6028/jres.126.001) 126 (2021), 10.6028/jres.126.001. 68T. A. Wassenaar, H. I. Ingólfsson, R. A. Böckmann, D. P. Tieleman, and S. J. Marrink, Journal of Chemical [Theory](http://dx.doi.org/10.1021/acs.jctc.5b00209) and Computation 11, 2144 [(2015).](http://dx.doi.org/10.1021/acs.jctc.5b00209) 69A. I. Jewett, D. Stelter, J. Lambert, S. M. Saladi, O. M. Roscioni, M. Ricci, L. Autin, M. Maritan, S. M. Bashusqeh, T. Keyes, R. T. Dame, J.-E. Shea, G. J. Jensen, and D. S. Goodsell, Journal of [Molecular](http://dx.doi.org/ 10.1016/j.jmb.2021.166841) Biology 433, [166841 (2021).](http://dx.doi.org/ 10.1016/j.jmb.2021.166841) 70B. Crawford, U. Timalsina, C. D. Quach, N. C. Craven, J. B. Gilmer, C. McCabe, P. T. Cummings, and J. J. Potoff, Journal of [Chemical](http://dx.doi.org/10.1021/acs.jcim.2c01498) In[formation and Modeling](http://dx.doi.org/10.1021/acs.jcim.2c01498) 63, 1218 (2023). 71Y. Nejahi, M. S. Barhaghi, G. Schwing, L. Schwiebert, and J. Potoff, SoftwareX 13 [, 100627 (2021).](http://dx.doi.org/10.1016/j.softx.2020.100627) 72A. Gallant and M. Hils, “pdoc - generate API [documentation](https://pdoc.dev/) for Python [projects,” GitHub (2023).](https://pdoc.dev/) 73H. E. Grecco and J. Chéron, “pint: [makes units easy,” GitHub (2023).](https://github.com/hgrecco/pint) 74D. Frenkel and B. Smit, _Understanding_ _[Molecular](http://dx.doi.org/10.1016/c2009-0-63921-0)_ _Simulation:_ _From_ _Al-_ _[gorithms to Applications](http://dx.doi.org/10.1016/c2009-0-63921-0)_, 3rd ed. (Elsevier, 2023). [75E. A. Bienkiewicz and K. J. Lumb, Journal of Biomolecular NMR](http://dx.doi.org/10.1023/a:1008375029746) 15, 203 [(1999).](http://dx.doi.org/10.1023/a:1008375029746) 76D. R. Lide, ed., _CRC Handbook of Chemistry and Physics_, 72nd ed. (CRC Press, Boca Raton, Florida, USA, 1991). [77M. A. S. Hass and F. A. A. Mulder, Annual Review of Biophysics](http://dx.doi.org/ 10.1146/annurev-biophys-083012-130351) 44, 53 [(2015).](http://dx.doi.org/ 10.1146/annurev-biophys-083012-130351) 78Y. Nozaki and C. Tanford, in _[Enzyme Structure](http://dx.doi.org/10.1016/s0076-6879%0x2867%0x2911088-4)_, Methods in Enzymology, Vol. 11, edited by C. H. W. Hirs (Academic Press, New York, New York, USA, 1967) pp. 715–734. 79G. Platzer, M. Okon, [and L. P. McIntosh, Journal of Biomolecular NMR](http://dx.doi.org/10.1007/s10858-014-9862-y) 60 [, 109 (2014).](http://dx.doi.org/10.1007/s10858-014-9862-y) 80R. L. Thurlkill, G. R. Grimsley, J. M. Scholtz, and C. N. Pace, [Protein](http://dx.doi.org/10.1110/ps.051840806) Science [15](http://dx.doi.org/10.1110/ps.051840806), 1214 (2006). [81IUPAC-IUB, European Journal of Biochemistry](http://dx.doi.org/10.1111/j.1432-1033.1984.tb07877.x) 138, 9 (1984). 82O. Lenz, A. Mezger, and H. Menke, “VTF Plugin, version 2.4,” GitHub (2014). 83E. D. Chrysina, K. Brew, [and K. R. Acharya, Journal of Biological Chem-](http://dx.doi.org/10.1074/jbc.M004752200) istry 275 [, 37021 (2000).](http://dx.doi.org/10.1074/jbc.M004752200) 84J. Landsgesell, C. Holm, [and J. Smiatek, The European Physical Journal](http://dx.doi.org/10.1140/epjst/e2016-60324-3) [Special Topics](http://dx.doi.org/10.1140/epjst/e2016-60324-3) 226, 725 (2017). 85P. Košovan, J. Landsgesell, L. Nová, F. Uhlík, D. Beyer, P. M. Blanco, R. Staˇno, and C. Holm, Soft Matter [19](http://dx.doi.org/ 10.1039/D3SM00155E), 3522 (2023). 86C. Labbez and B. Jönsson, in _Applied_ _Parallel_ _[Computing.](http://dx.doi.org/10.1007/978-3-540-75755-9_8)_ _State_ _of_ _the_ _Art_ _in_ _[Scientific](http://dx.doi.org/10.1007/978-3-540-75755-9_8)_ _Computing_, Lecture Notes in Computer Science, Vol. 4699, edited by B. Kågström, E. Elmroth, J. Dongarra, and J. Wa´sniewski (Springer Berlin Heidelberg, 2007) pp. 66–72. 87R. Staˇno, P. Košovan, A. Tagliabue, and C. Holm, [Macromolecules](http://dx.doi.org/10.1021/acs.macromol.1c00470) 54, [4769 (2021).](http://dx.doi.org/10.1021/acs.macromol.1c00470) 88W. R. Smith and B. Triska, The Journal of [Chemical](http://dx.doi.org/10.1063/1.466443) Physics 100, 3019 [(1994).](http://dx.doi.org/10.1063/1.466443) 89J. K. Johnson, A. Z. Panagiotopoulos, and K. E. Gubbins, [Molecular](http://dx.doi.org/10.1080/00268979400100481) Physics [81](http://dx.doi.org/10.1080/00268979400100481), 717 (1994). 90D. Beyer and C. Holm, The Journal of [Chemical](http://dx.doi.org/10.1063/5.0155973) Physics 159, 014905 [(2023).](http://dx.doi.org/10.1063/5.0155973) 91P. W. Atkins, J. de Paula, and J. Keeler, _Atkins’ Physical Chemistry_, 12th ed. (Oxford University Press, Oxford, United Kingdom, 2023). [92B. Widom, The Journal of Chemical Physics](http://dx.doi.org/10.1063/1.1734110) 39, 2808 (1963). 93T. Curk, J. Yuan, and E. Luijten, The Journal of [Chemical](http://dx.doi.org/10.1063/5.0066432) Physics 156, [044122 (2022).](http://dx.doi.org/10.1063/5.0066432) [94H. A. Lorentz, Annalen der Physik](http://dx.doi.org/10.1002/andp.18812480110) 248, 127 (1881). 95D. Berthelot, Comptes Rendus [126](http://visualiseur.bnf.fr/Document/CadresPage?O=NUMM-3082&I=1703), 1703 (1898). 96W. McKinney, in _Proceedings_ _of_ _the_ _9th_ _[Python](http://dx.doi.org/10.25080/Majora-92bf1922-00a)_ _in_ _Science_ _Conference_, edited by S. van der Walt and J. Millman (2010) pp. 56–61. 97The pandas development team, [“pandas-dev/pandas:](http://dx.doi.org/10.5281/zenodo.7549438) Pandas, ver[sion 1.5.3,” Zenodo (2023).](http://dx.doi.org/10.5281/zenodo.7549438) 98R. Lunkad, A. Murmiliuk, P. Hebbeker, M. Boublík, Z. Tošner, M. Štˇepánek, [and P. Košovan, Molecular Systems Design and Engineering](http://dx.doi.org/ 10.1039/D0ME00147C) 6 [, 122 (2021).](http://dx.doi.org/ 10.1039/D0ME00147C) 99K. Hyltegren, T. Nylander, M. Lund, and M. Skepö, Journal [of](http://dx.doi.org/ 10.1016/j.jcis.2016.01.025) Colloid [and Interface Science](http://dx.doi.org/ 10.1016/j.jcis.2016.01.025) 467, 280 (2016). 100B. J. MacKay, L. Denepitiya, V. J. Iacono, S. B. Krost, and J. J. Pollock, [Infection and Immunity](http://dx.doi.org/ 10.1128/iai.44.3.695-701.1984) 44, 695 (1984). [101S. Puri and M. Edgerton, Eukaryotic Cell](http://dx.doi.org/10.1128/ec.00095-14) 13, 958 (2014). 102S. Brownlow, J. H. Morais Cabral, R. Cooper, D. R. Flower, S. J. Yewdall, I. Polikarpov, A. C. T. North, and L. Sawyer, Structure 5 [, 481 (1997).](http://dx.doi.org/ 10.1016/s0969-2126%0x2897%0x2900205-0) [103G. S. Grest and K. Kremer, Physical Review A](http://dx.doi.org/10.1103/PhysRevA.33.3628) 33, 3628 (1986). 104P. C. T. Souza, R. Alessandri, J. Barnoud, S. Thallmair, I. Faustino, F. Grünewald, I. Patmanidis, H. Abdizadeh, B. M. H. Bruininks, T. A. Wassenaar, P. C. Kroon, J. Melcr, V. Nieto, V. Corradi, H. M. Khan, J. Doma´nski, M. Javanainen, H. Martinez-Seara, N. Reuter, R. B. Best, I. Vattulainen, L. Monticelli, X. Periole, D. P. Tieleman, A. H. de Vries, and [S. J. Marrink, Nature Methods](http://dx.doi.org/10.1038/s41592-021-01098-3) 18, 382 (2021). 105D. Beyer, P. B. Torres, S. P. Pineda, C. F. Narambuena, J.-N. Grad, P. Košovan, [and P. M. Blanco, “pyMBE release 0.8.0,”](http://dx.doi.org/ 10.5281/zenodo.12102635) (2024). 106C. R. Harris, K. J. Millman, S. J. van der Walt, R. Gommers, P. Virtanen, D. Cournapeau, E. Wieser, J. Taylor, S. Berg, N. J. Smith, R. Kern, M. Picus, S. Hoyer, M. H. van Kerkwijk, M. Brett, A. Haldane, J. F. del Río, M. Wiebe, P. Peterson, P. Gérard-Marchant, K. Sheppard, T. Reddy, W. Weckesser, H. Abbasi, C. Gohlke, and T. E. Oliphant, Nature [585](http://dx.doi.org/10.1038/s41586-020-2649-2), 357 [(2020).](http://dx.doi.org/10.1038/s41586-020-2649-2) 107H. E. Grecco, “Pint-pandas: [Extend pandas dataframe with physical quan-](https://github.com/hgrecco/pint-pandas) [tities module,” GitHub (2023).](https://github.com/hgrecco/pint-pandas) 108B. Dröge, V. H. Rusu, K. Hoste, C. van Leeuwen, A. O'Cais, and T. Röblitz, Software: [Practice and Experience](http://dx.doi.org/ 10.1002/spe.3075) 53, 176 (2023). 109A. O'Cais, B. Dröge, and K. Hoste, “GitHub [Action:](https://github.com/marketplace/actions/eessi) EESSI, ver[sion 3.1.0,” GitHub Marketplace (2024).](https://github.com/marketplace/actions/eessi)

섹션 본문

섹션 본문이 없습니다.

참고문헌 91건

  1. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers SoftwareX · Elsevier BV · 2015 10.1016/j.softx.2015.06.001
  2. Applied Parallel Computing. State of the Art in Scientific Computing Lecture notes in computer science · Springer Science+Business Media · 2007 10.1007/978-3-540-75755-9
  3. Reactive canonical Monte Carlo Molecular Physics · Taylor & Francis · 1994 10.1080/00268979400100481
  4. Swelling of ionic gels: quantitative performance of the Donnan theory Macromolecules · American Chemical Society · 1984 10.1021/ma00142a081
  5. Ueber die Anwendung des Satzes vom Virial in der kinetischen Theorie der Gase Annalen der Physik · Wiley · 1881 10.1002/andp.18812480110
  6. How Does It Kill?: Understanding the Candidacidal Mechanism of Salivary Histatin 5 Eukaryotic Cell · American Society for Microbiology · 2014 10.1128/ec.00095-14
  7. Monte Carlo study of titration of linear polyelectrolytes The Journal of Chemical Physics · American Institute of Physics · 1992 10.1063/1.462145
  8. On the Charge Regulation of Proteins Biochemistry · American Chemical Society · 2005 10.1021/bi047630o
  9. Surface charging behavior of nanoparticles by considering site distribution and density, dielectric constant and pH changes – a Monte Carlo approach Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2014 10.1039/c4cp04733h
  10. Some Topics in the Theory of Fluids The Journal of Chemical Physics · American Institute of Physics · 1963 10.1063/1.1734110
  11. pH-Responsive Gels of Hydrophobically Modified Poly(acrylic acid) Macromolecules · American Chemical Society · 1997 10.1021/ma970957v
  12. <i>Faunus</i>– a flexible framework for Monte Carlo simulation Molecular Simulation · Taylor & Francis · 2013 10.1080/08927022.2013.828207
  13. Molecular dynamics simulation for polymers in the presence of a heat bath Physical review. A, General physics · American Institute of Physics · 1986 10.1103/physreva.33.3628
  14. Avogadro: an advanced semantic chemical editor, visualization, and analysis platform Journal of Cheminformatics · BioMed Central · 2012 10.1186/1758-2946-4-17
  15. VMD: Visual molecular dynamics Journal of Molecular Graphics · Elsevier BV · 1996 10.1016/0263-7855(96)00018-5
  16. Faunus: An object oriented framework for molecular simulation Source Code for Biology and Medicine · BioMed Central · 2008 10.1186/1751-0473-3-1
  17. The reaction ensemble method for the computer simulation of chemical and phase equilibria. I. Theory and basic examples The Journal of Chemical Physics · American Institute of Physics · 1994 10.1063/1.466443
  18. A Monte Carlo Study of Titrating Polyelectrolytes in the Presence of Salt Macromolecules · American Chemical Society · 1996 10.1021/ma960309w
  19. A Monte Carlo study of titrating polyelectrolytes The Journal of Chemical Physics · American Institute of Physics · 1996 10.1063/1.471071
  20. Automated Parametrization of the Coarse-Grained Martini Force Field for Small Organic Molecules Journal of Chemical Theory and Computation · American Chemical Society · 2015 10.1021/acs.jctc.5b00056
  21. Highly pH and Temperature Responsive Microgels Functionalized with Vinylacetic Acid Macromolecules · American Chemical Society · 2004 10.1021/ma035658m
  22. Size and pH effect on electrical and conformational behavior of poly(acrylic acid): Simulation and experiment European Polymer Journal · Elsevier BV · 2006 10.1016/j.eurpolymj.2005.11.023
  23. pK values of the ionizable groups of proteins Protein Science · Wiley · 2006 10.1110/ps.051840806
  24. Web- and Cloud-based Software Infrastructure for Materials Design Procedia Computer Science · Elsevier BV · 2014 10.1016/j.procs.2014.05.187
  25. An overview of the Amber biomolecular simulation package Wiley Interdisciplinary Reviews Computational Molecular Science · Wiley · 2012 10.1002/wcms.1121
  26. Contemporary NMR Studies of Protein Electrostatics Annual Review of Biophysics · Annual Reviews · 2015 10.1146/annurev-biophys-083012-130351
  27. Polyelectrolyte–protein complexation driven by charge regulation Soft Matter · Royal Society of Chemistry · 2009 10.1039/b902039j
  28. MOLSIM: A modular molecular simulation software Journal of Computational Chemistry · Wiley · 2015 10.1002/jcc.23919
  29. Charge regulation in biomolecular solution Quarterly Reviews of Biophysics · Cambridge University Press · 2013 10.1017/s003358351300005x
  30. Bovine β-lactoglobulin at 1.8 Å resolution — still an enigmatic lipocalin Structure · Elsevier BV · 1997 10.1016/s0969-2126(97)00205-0
  31. Growth-inhibitory and bactericidal effects of human parotid salivary histidine-rich polypeptides on Streptococcus mutans Infection and Immunity · American Society for Microbiology · 1984 10.1128/iai.44.3.695-701.1984
  32. Crystal Structures of Apo- and Holo-bovine α-Lactalbumin at 2.2-Å Resolution Reveal an Effect of Calcium on Inter-lobe Interactions Journal of Biological Chemistry · Elsevier BV · 2000 10.1074/jbc.m004752200
  33. Adsorption of the intrinsically disordered saliva protein histatin 5 to silica surfaces. A Monte Carlo simulation and ellipsometry study Journal of Colloid and Interface Science · Elsevier BV · 2016 10.1016/j.jcis.2016.01.025
  34. Improved Parameters for the Martini Coarse-Grained Protein Force Field Journal of Chemical Theory and Computation · American Chemical Society · 2012 10.1021/ct300646g
  35. Computational Lipidomics with <i>insane</i>: A Versatile Tool for Generating Custom Membranes for Molecular Simulations Journal of Chemical Theory and Computation · American Chemical Society · 2015 10.1021/acs.jctc.5b00209
  36. Random-coil chemical shifts of phosphorylated amino acids. Journal of Biomolecular NMR · Springer Science+Business Media · 1999 10.1023/a:1008375029746
  37. pH-dependent random coil 1H, 13C, and 15N chemical shifts of the ionizable amino acids: a guide for protein pK a measurements Journal of Biomolecular NMR · Springer Science+Business Media · 2014 10.1007/s10858-014-9862-y
  38. Simulation of weak polyelectrolytes: a comparison between the constant pH and the reaction ensemble method The European Physical Journal Special Topics · Springer Science+Business Media · 2017 10.1140/epjst/e2016-60324-3
  39. Monte Carlo simulations of weak polyelectrolyte microgels: pH-dependence of conformation and ionization Soft Matter · Royal Society of Chemistry · 2018 10.1039/c7sm02528a
  40. ESPResSo++ 2.0: Advanced methods for multiscale molecular simulation Computer Physics Communications · Elsevier BV · 2019 10.1016/j.cpc.2018.12.017
  41. ESPResSo 4.0 – an extensible software package for simulating soft matter systems The European Physical Journal Special Topics · Springer Science+Business Media · 2019 10.1140/epjst/e2019-800186-9
  42. Simulations of ionization equilibria in weak polyelectrolyte solutions and gels Soft Matter · Royal Society of Chemistry · 2019 10.1039/c8sm02085j
  43. Interaction between β-Lactoglobuline and Weak Polyelectrolyte Chains: A Study Using Monte Carlo Simulation The Journal of Physical Chemistry B · American Chemical Society · 2019 10.1021/acs.jpcb.9b03276
  44. HOOMD-blue: A Python package for high-performance molecular dynamics and hard particle Monte Carlo simulations Computational Materials Science · Elsevier BV · 2019 10.1016/j.commatsci.2019.109363
  45. Reversible pH‐Responsive Coacervate Formation in Lipid Vesicles Activates Dormant Enzymatic Reactions Angewandte Chemie International Edition · Wiley · 2020 10.1002/anie.201914893
  46. Grand-Reaction Method for Simulations of Ionization Equilibria Coupled to Ion Partitioning Macromolecules · American Chemical Society · 2020 10.1021/acs.macromol.0c00260
  47. Generic high-capacity protein capture and release by pH control Chemical Communications · Royal Society of Chemistry · 2020 10.1039/d0cc01250e
  48. Large Changes in Protonation of Weak Polyelectrolyte Brushes with Salt Concentration—Implications for Protein Immobilization The Journal of Physical Chemistry Letters · American Chemical Society · 2020 10.1021/acs.jpclett.0c01289
  49. Swelling Behaviors of Hydrogels with Alternating Neutral/Highly Charged Sequences Macromolecules · American Chemical Society · 2020 10.1021/acs.macromol.0c01221
  50. Influence of macromolecular crowding on the charge regulation of intrinsically disordered proteins Soft Matter · Royal Society of Chemistry · 2020 10.1039/d0sm01475c
  51. Array programming with NumPy Nature · Nature Portfolio · 2020 10.1038/s41586-020-2649-2
  52. Quantitative prediction of charge regulation in oligopeptides Molecular Systems Design & Engineering · Royal Society of Chemistry · 2020 10.1039/d0me00147c
  53. Update 2.70 to “GOMC: GPU Optimized Monte Carlo for the simulation of phase equilibria and physical properties of complex fluids” SoftwareX · Elsevier BV · 2020 10.1016/j.softx.2020.100627
  54. Open‐source molecular modeling software in chemical engineering focusing on the Molecular Simulation Design Framework AIChE Journal · Wiley · 2021 10.1002/aic.17206
  55. Role of pKA in Charge Regulation and Conformation of Various Peptide Sequences Polymers · Multidisciplinary Digital Publishing Institute · 2021 10.3390/polym13020214
  56. DNA Origami Design: A How-To Tutorial Journal of Research of the National Institute of Standards and Technology · The National Institute of Standards and Technology · 2021 10.6028/jres.126.001
  57. Moltemplate: A Tool for Coarse-Grained Modeling of Complex Biological Matter and Soft Condensed Matter Physics Journal of Molecular Biology · Elsevier BV · 2021 10.1016/j.jmb.2021.166841
  58. pyPolyBuilder: Automated Preparation of Molecular Topologies and Initial Configurations for Molecular Dynamics Simulations of Arbitrary Supramolecules Journal of Chemical Information and Modeling · American Chemical Society · 2021 10.1021/acs.jcim.0c01438
  59. Martini 3: a general purpose force field for coarse-grained molecular dynamics Nature Methods · Nature Portfolio · 2021 10.1038/s41592-021-01098-3
  60. Electrostatically Cross-Linked Reversible Gels—Effects of pH and Ionic Strength Macromolecules · American Chemical Society · 2021 10.1021/acs.macromol.1c00470
  61. Polyelectrolyte-nanoparticle mutual charge regulation and its influence on their complexation Colloids and Surfaces A Physicochemical and Engineering Aspects · Elsevier BV · 2021 10.1016/j.colsurfa.2021.127258
  62. Conformation and Ionization Behavior of Charge-Regulating Polyelectrolyte Brushes in a Poor Solvent The Journal of Physical Chemistry B · American Chemical Society · 2021 10.1021/acs.jpcb.1c04451
  63. Accelerated simulation method for charge regulation effects The Journal of Chemical Physics · American Institute of Physics · 2022 10.1063/5.0066432
  64. LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108171
  65. Unified Nanotechnology Format: One Way to Store Them All Molecules · Multidisciplinary Digital Publishing Institute · 2021 10.3390/molecules27010063
  66. Correction to “Grand-Reaction Method for Simulations of Ionization Equilibria Coupled to Ion Partitioning” Macromolecules · American Chemical Society · 2022 10.1021/acs.macromol.1c02672
  67. Monte Carlo simulations of weak polyampholyte microgels: pH-dependence of conformation and ionization Soft Matter · Royal Society of Chemistry · 2021 10.1039/d1sm00433f
  68. Modeling the Gibbs–Donnan effect during ultrafiltration and diafiltration processes using the Poisson–Boltzmann theory in combination with a basic Stern model Journal of Membrane Science · Elsevier BV · 2022 10.1016/j.memsci.2022.120333
  69. EESSI: A cross‐platform ready‐to‐use optimised scientific software stack Software Practice and Experience · Wiley · 2022 10.1002/spe.3075
  70. The pH-Dependent Swelling of Weak Polyelectrolyte Hydrogels Modeled at Different Levels of Resolution Macromolecules · American Chemical Society · 2022 10.1021/acs.macromol.1c02489
  71. Implementation of residue-level coarse-grained models in GENESIS for large-scale molecular dynamics simulations PLoS Computational Biology · Public Library of Science · 2022 10.1371/journal.pcbi.1009578
  72. CRC Handbook of Chemistry and Physics Journal of Molecular Structure · Elsevier BV · 1992 10.1016/0022-2860(92)85083-s
  73. Nomenclature and Symbolism for Amino Acids and Peptides European Journal of Biochemistry · Wiley · 1984 10.1111/j.1432-1033.1984.tb07877.x
  74. FEASST: Free Energy and Advanced Sampling Simulation Toolkit Journal of Research of the National Institute of Standards and Technology · The National Institute of Standards and Technology · 2018 10.6028/jres.123.004
  75. Simulations and Potentiometric Titrations Enable Reliable Determination of Effective p<i>K</i><sub>a</sub> Values of Various Polyzwitterions Macromolecules · American Chemical Society · 2022 10.1021/acs.macromol.2c01121
  76. The electrostatic potential inside and around α-lactalbumin: Fluctuations and mean-field models The Journal of Chemical Physics · American Institute of Physics · 2022 10.1063/5.0122275
  77. Simulations Explain the Swelling Behavior of Hydrogels with Alternating Neutral and Weakly Acidic Blocks Macromolecules · American Chemical Society · 2022 10.1021/acs.macromol.2c01916
  78. Introduction to in silico synthesis of polymers via PySIMM [Article v1.0] Living Journal of Computational Molecular Science · University of Colorado Boulder · 2022 10.33011/livecoms.4.1.1561
  79. Ionisation and swelling behaviour of weak polyampholyte core–shell networks – a Monte Carlo study Soft Matter · Royal Society of Chemistry · 2023 10.1039/d2sm01301k
  80. Facilitating CG Simulations with MAD: The MArtini Database Server Journal of Chemical Information and Modeling · American Chemical Society · 2023 10.1021/acs.jcim.2c01375
  81. MoSDeF-GOMC: Python Software for the Creation of Scientific Workflows for the Monte Carlo Simulation Engine GOMC Journal of Chemical Information and Modeling · American Chemical Society · 2023 10.1021/acs.jcim.2c01498
  82. Reply to the ‘Comment on “Simulations of ionization equilibria in weak polyelectrolyte solutions and gels”’ by J. Landsgesell, L. Nová, O. Rud, F. Uhlík, D. Sean, P. Hebbeker, C. Holm and P. Košovan, <i>Soft Matter</i>, 2019, <b>15</b>, 1155–1185 Soft Matter · Royal Society of Chemistry · 2023 10.1039/d3sm00155e
  83. pH response of sequence-controlled polyampholyte brushes Soft Matter · Royal Society of Chemistry · 2023 10.1039/d3sm00447c
  84. Unusual Aspects of Charge Regulation in Flexible Weak Polyelectrolytes Polymers · Multidisciplinary Digital Publishing Institute · 2023 10.3390/polym15122680
  85. A generalized grand-reaction method for modeling the exchange of weak (polyprotic) acids between a solution and a weak polyelectrolyte phase The Journal of Chemical Physics · American Institute of Physics · 2023 10.1063/5.0155973
  86. Electroresponse of weak polyelectrolyte brushes The European Physical Journal E · Springer Science+Business Media · 2023 10.1140/epje/s10189-023-00341-3
  87. AmberTools Journal of Chemical Information and Modeling · American Chemical Society · 2023 10.1021/acs.jcim.3c01153
  88. Explaining Giant Apparent <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math> Shifts in Weak Polyelectrolyte Brushes Physical Review Letters · American Physical Society · 2023 10.1103/physrevlett.131.168101
  89. Comprehensive Computational Chemistry Elsevier eBooks · Elsevier BV · 2023 10.1016/c2019-0-03595-9
  90. Sequestration of Small Ions and Weak Acids and Bases by a Polyelectrolyte Complex Studied by Simulation and Experiment Macromolecules · American Chemical Society · 2024 10.1021/acs.macromol.3c01209
  91. Charge Regulation Triggers Condensation of Short Oligopeptides to Polyelectrolytes JACS Au · American Chemical Society · 2024 10.1021/jacsau.3c00668