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

Protocols for translocation processes of flexible polymers through a pore using LAMMPS

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(21) 에폭시수지

기본 정보

저자
  1. Vrinda Garg — Department of Physics, National Institute of Technology, Warangal 506004, India
  2. Rejoy Mathew — Department of Physics, National Institute of Technology, Warangal 506004, India
  3. Arindam Chatterjee — Department of Computer Science and Engineering, IIT Patna, Patna, India; Wipro AI Research, Lab45, Bengaluru, India
  4. Surya K. Ghosh — Department of Physics, National Institute of Technology, Warangal 506004, India. Electronic address: skghosh@nitw.ac.in
DOI
10.1016/j.xpro.2024.103568
저널
STAR Protocols
발행년도
2025
발행기관
Elsevier BV
피인용수
4
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.xpro.2024.103568
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4406563725

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.70
근거 용어
LAMMPS, polymer translocation, coarse-grained models, molecular dynamics, FENE potential
판단 근거
이 논문은 LAMMPS를 이용한 고분자 사슬의 기공 통과(translocation) 시뮬레이션 프로토콜을 다루고 있습니다. 이는 직접적인 제품 연구는 아니나, 고분자 소재의 거동을 예측하는 분자 동역학(MD) 시뮬레이션 방법론으로서 엔지니어링 플라스틱이나 아라미드 등 고분자 제품의 물성 설계 및 공정 분석에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
고분자 컴파운드나 고강도 섬유의 미세 구조적 거동 및 분자 간 상호작용을 시뮬레이션하여, 신규 소재 설계 시 실험 횟수를 줄이고 물성을 예측하는 데 활용 가능합니다.
평가 입력
본문 67,067자 중 30,032자 발췌

초록

Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) is an open-source, powerful simulator with a customizable platform for extensive Langevin dynamics simulations. Here, we present a protocol for using LAMMPS to develop coarse-grained models of polymeric systems with macromolecular crowding, an integral part of any soft matter or biophysical system. We describe steps for installing software, using LAMMPS basic commands and code, and translocating polymers. This protocol has potential applications in developing mathematical models for DNA sequencing, controlled drug delivery, and cellular transport processes. For complete details on the use and execution of this protocol, please refer to Garg et al.<sup>1</sup>.

본문 67,067자

본문 펼치기
#### ll OPEN ACCESS ### Protocol # Protocols for translocation processes of flexible polymers through a pore using LAMMPS Vrinda Garg, Rejoy Mathew, Arindam Chatterjee, Surya K. Ghosh [skghosh@nitw.ac.in](mailto:skghosh@nitw.ac.in) Highlights Simulation framework to model polymer translocation process in a symmetric 2D setup Steps to introduce various crowding environments using LAMMPS Formatting input files for LAMMPS and analyzing translocation data using Python packages Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) is an open-source, powerful simulator with a customizable platform for extensive Langevin dynamics simulations. Here, we present a protocol for using LAMMPS to develop coarse-grained models of polymeric systems with macromolecular crowding, an integral part of any soft matter or biophysical system. We describe steps for installing software, using LAMMPS basic commands and code, and translocating polymers. This protocol has potential applications in developing mathematical models for DNA sequencing, controlled drug delivery, and cellular transport processes. Publisher’s note: Undertaking any experimental protocol requires adherence to local institutional guidelines for laboratory safety and ethics. Garg et al., STAR Protocols 6, 103568 March 21, 2025 ª 2024 Published by Elsevier Inc. [https://doi.org/10.1016/](https://doi.org/10.1016/j.xpro.2024.103568) [j.xpro.2024.103568](https://doi.org/10.1016/j.xpro.2024.103568) #### ll OPEN ACCESS ##### Protocol ## Protocols for translocation processes of flexible polymers through a pore using LAMMPS Vrinda Garg, <sup>1,4</sup> Rejoy Mathew, <sup>1</sup> Arindam Chatterjee, <sup>2,3</sup> and Surya K. Ghosh <sup>1,5,</sup> 1Department of Physics, National Institute of Technology, Warangal 506004, India 2Department of Computer Science and Engineering, IIT Patna, Patna, India 3Wipro AI Research, Lab45, Bengaluru, India 4Technical contact 5Lead contact [*Correspondence: skghosh@nitw.ac.in](mailto:skghosh@nitw.ac.in) [https://doi.org/10.1016/j.xpro.2024.103568](https://doi.org/10.1016/j.xpro.2024.103568) SUMMARY Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) is an opensource, powerful simulator with a customizable platform for extensive Langevin dynamics simulations. Here, we present a protocol for using LAMMPS to develop coarse-grained models of polymeric systems with macromolecular crowding, an integral part of any soft matter or biophysical system. We describe steps for installing software, using LAMMPS basic commands and code, and translocating polymers. This protocol has potential applications in developing mathematical models for DNA sequencing, controlled drug delivery, and cellular transport processes. For complete details on the use and execution of this protocol, please refer to Garg et al. <sup>1</sup> BEFORE YOU BEGIN Polymer translocation in crowded environments is a fundamental process in biological systems, such as protein transport across cellular membranes, gene swapping, <sup>2,3</sup> DNA sequencing, <sup>4</sup> RNA transport through nuclear pore complexes, <sup>5–8</sup> controlled drug delivery, <sup>9–11</sup> etc. Given the complexity of length and time scales, identifying key parameters contributing to translocation is essential for understanding these processes. Developing an atomistic model with microscopically detailed force fields is computationally infeasible. However, using the concept of polymer physics, we can develop coarse-grain models to study the dynamics of polymer translocation. Our simulations focus on crowd-free, one-sided (asymmetric), and two-sided (symmetric) environments. Symmetry in these environments is influenced by crowding. One-sided crowders create an asymmetric setup, while crowders on both sides establish a symmetric environment. In our simulations, polymer monomers are modeled as Lennard-Jones particles (LJ) connected by nonlinear FENE springs, and excluded interactions between crowders and the polymer are incorporated using a short-range repulsive Weeks-Chandler-Anderson (WCA) potential. Langevin dynamics simulations are employed to model the flexible polymer and crowder dynamics. The simulation setup includes a 2D rectangular box, RBox (x, y), (see Figure 1), defined with dimensions x ˛ ½� Lx; Lx�; y ˛ ½ � Ly ; Ly�, and Lx = 2Ly. Rigid repulsive LJ particles form a wall RWallðx = 0; yÞ, separating the box into cis and trans sides. The flexible polymer is placed symmetrically at the center of the pore width W in the center of the rigid wall. The wall and polymer chain interaction are purely repulsive. Crowding conditions are introduced by varying the packing fraction of crowders, altering the symmetry of the environment. #### ll ##### OPEN ACCESS Protocol Figure 1. A flexible polymer translocating through a pore The polymer is kept symmetrically at the center of the middle wall, separating the box into two sides, cis and trans. CRITICAL: Key protocol steps include preparing the flexible polymer, setting up initial configurations, and running Langevin dynamics simulations. These steps can be used to analyze translocation probability, translocation time, bead velocities, <sup>12</sup> and translocation rates <sup>3</sup> from the obtained data. The simulation results are validated against theoretical scaling laws <sup>1,7,10,13,14</sup> and analytical calculations, providing insights into translocation dynamics under different crowding conditions. <sup>3,14–16</sup> Before describing the modeling approach, we outline the installation steps for Large-scale Atomic/ Molecular Massively Parallel Simulator (LAMMPS) for simulating flexible polymer translocation. LAMMPS, initially developed for material modeling, is now extensively used in soft matter simulations. LAMMPS: Downloading and installation Timing: 10–15 min LAMMPS is a Large-scale Atomic/Molecular Massively Parallel Simulator and is a molecular dynamics program. <sup>17–20</sup> LAMMPS offers potential for solid-state materials (metals, semiconductors), soft matter (biomolecules, polymers), and coarse-grained or mesoscopic systems. It functions as a parallel particle simulator at atomic, meso, or continuum scales, running on single processors or in parallel using message-passing techniques and spatial decomposition. First, we will show the installation of the LAMMPS to run the molecular dynamics simulations. 1. Go to the following link to download the latest version of LAMMPS: [https://www.lammps.org/](https://www.lammps.org/download.html) [download.html. Now,](https://www.lammps.org/download.html) a. Under the code option, click on Download. 2. Under the Download, a tarball option, followed by the LAMMPS molecular dynamics package table, click on the Download button from the LAMMPS Stable Release row. Note: Following is the link for downloading LAMMPS: [https://www.lammps.org/download.](https://www.lammps.org/download.html) [html.](https://www.lammps.org/download.html) 3. After downloading, extract the downloaded .tar file in the LAMMPS folder. a. Write the following commands in the same folder path in the terminal. Note: Given is the link for the commands to be written one at a time: [https://docs.lammps.](https://docs.lammps.org/Build_cmake.html) [org/Build_cmake.html.](https://docs.lammps.org/Build_cmake.html) #### ll ##### Protocol OPEN ACCESS Note: The following are the commands to be put in terminal step by step: cd lammps mkdir build cd build <mark>cmake../cmake</mark> Note: These steps are for the basic version of LAMMPS. Other packages can be switched on and off as needed to include specific features. b. To check which packages are installed, run the command ‘‘make ps’’ in the source folder of LAMMPS. Note: For example, if we want to add a package named ASPHERE, we can run the command ‘‘make-yes-asphere.’’ We need to recompile after adding a new package. 4. Once the LAMMPS is installed, download OVITO, an open visualization tool, for better visualization. [Note: Following is the link to download OVITIO: https://www.ovito.org/.](https://www.ovito.org/) <sup>15</sup> Note: VMD is another software for the visualization of molecular dynamics simulations. Following is the link for documentation and installation of VMD: [https://www.ks.uiuc.edu/](https://www.ks.uiuc.edu/Research/vmd/) [Research/vmd/.](https://www.ks.uiuc.edu/Research/vmd/) KEY RESOURCES TABLE <mark>REAGENT or RESOURCE</mark> <mark>SOURCE</mark> <mark>IDENTIFIER</mark> <mark>Software and algorithms</mark> <mark>LAMMPS (2023)</mark> LAMMPS [https://docs.lammps.org/Manual.html](https://docs.lammps.org/Manual.html) <u>Ovito2.9</u> <u>Ovito</u> <u>[https://www.ovito.org/](https://www.ovito.org/)</u> <mark>Python3.0</mark> Python [https://www.python.org/](https://www.python.org/) <mark>Other</mark> <mark>Ubuntu</mark> Canonical Ubuntu 20.04.6 LTS CPU Intel Intel(R) Xeon(R) W-1370 @ 2.90 GHz x 16 STEP-BY-STEP METHOD DETAILS This part of the protocol describes the process of writing a LAMMPS code for polymer translocation processes. Starting from the pre-requisite commands of the LAMMPS needed for writing code for flexible polymer, followed by instructions on how to create an input data file (for creating polymer) using Python and how to read a data file in the LAMMPS. Later, followed by LAMMPS code by introducing complexities to the model by adding crowders on one and both sides of the box. Polymer translocation Timing: 10–15 min (1 ensemble) Here, we describe steps for studying the translocation of a flexible polymer across the pore. While establishing the code, we first write a LAMMPS code for a flexible polymer. #### ll ##### OPEN ACCESS Protocol Figure 2. Flow chart of the step-to-step method details the development of distinct models of polymer translocating through a pore 1. First, start by writing the LAMMPS code for a flexible polymer. Note: The flow chart in Figure 2 describes the entire process, from creating a simple flexible polymer to the creation of crowders on one and both sides. It consists of an overview of the upcoming section. LAMMPS code for a flexible polymer Timing: 10 min Here, we describe steps for writing LAMMPS code for a flexible polymer. 2. Set the dimension of the system to 2. Note: We are working on LJ units with an atom style to be angular. The boundary that we are using for our system is a reflective boundary condition for a large enough box. <sup>1,17</sup> a. Use the following LAMMPS <sup>17</sup> commands for units, atom style, and the boundary condition. #Units command <mark>units style</mark> Note: Here, style = lj or real or metal or si or cgs or micro or nano b. Set the atom style. Following is the LAMMPS command. #atom_style command <mark>atom_style style args</mark> Note: Here, style = angle or atomic or body or bond or charge, and args related to the style chosen, such as body args, hybrid args, etc. c. Set the boundary condition of the system. Following is the LAMMPS command. #### ll ##### Protocol OPEN ACCESS Note: This command sets the boundaries for the global simulation box in all the dimensions. <sup>17</sup> #boundary command <mark>boundary x y z</mark> Note: Here, x, y, z = p (periodic) or s (non-periodic and shrink-wrapped) or f (non-periodic and fixed) or m (non-periodic and shrink-wrapped with a minimum value). Note: In our code, <sup>1</sup> the following are the arguments for the dimension of the box, units, atom style, and boundary used. The system of bead-spring polymers with stiffness uses an atom style angle. units lj atom_style angle dimension 2 <mark>boundary</mark> <mark>f f p</mark> 3. Fix the potential to FENE. Note: The standard two-dimensional coarse-grained bead-spring model of the polymer chain represents the translocating polymer. In the discrete limit, the polymer has N+1 monomers each of size s, connected by N Finite Extension Nonlinear Elastic (FENE) springs, <sup>1</sup> N; otherwise ! 1 - lij <sup>2</sup> l0 <sup>2</sup> = 8 >>< >>: - <sup><u>1</u></sup> 2 <sup>kl</sup> 0 <sup>2</sup> <sup>ln</sup> ; for lij % l0 UFENE lij Note: Here, k is the FENE spring constant, <sup>21</sup> lij is the instantaneous separation, and l0 is the maximum allowed length between two consecutive monomers. <sup>1</sup> Note: To know the criteria for choosing appropriate potential in different scenarios, see Troubleshooting problem 7. For our system, FENE potential is preferred over other potentials; see Troubleshooting problem 8 to know more. Following is the LAMMPS <sup>17</sup> command to introduce FENE potential: [https://docs.lammps.org/](https://docs.lammps.org/bond_fene.html) [bond_fene.html.](https://docs.lammps.org/bond_fene.html) a. Set the bond style #bond_style command <mark>bond_style style args</mark> Note: Here, style = none or zero or hybrid or bpm, etc., and args = none other than hybrid style. b. Set the bond coefficient for FENE potential. #Bond_coeff command <mark>Bond_coeff N args</mark> #### ll ##### OPEN ACCESS Protocol Note: Here, N = numeric bond type, and args = coeff for the bond type. Note: Arguments used in bond_coeff command for FENE potential include k (FENE spring constant) measured in terms of energy/distance, <sup>17</sup> l0 (equilibrium bond length between two consecutive monomers) units in terms of distance, e (interactive energy between monomers) units in terms of energy, and s (size of monomer) units in terms of distance. The arguments we use are k, l0, e, and s, having respective values. bond_style fene bond_coeff 1 30.0 1.5 1.0 1.0 <mark># args</mark> <mark>id</mark> <mark>k</mark> <mark>l0</mark> <mark>e</mark> <mark>s</mark> Note: To know the adequate value of simulation parameters used for the spring constant for the FENE potential, see Troubleshooting problem 5. Note: The variables in LAMMPS that parameterize the Langevin dynamics are the translational damping time tt and mass m. Damping coefficients can be defined as x = m/t. Similarly, when modeling in soft matter, we usually work on the length scale varying in the order of nanometers to micrometers and energy scales in the order of 10 <sup>�1</sup> to 10 <sup>�2</sup> eV. With such small values, it is more convenient to use the reduced units close to unity, as these small values will lead to rounding off errors. Thus, to understand the large class of problems at different scales, scaling using dimensionless units would provide ease of work. In LAMMPS, a standard scale of reducing units is that of Lennard-Jones potential, �12 �s�12 <sup>�</sup> - + e; r ULJðrÞ = 4e ��s r where r is the distance between the particle, ε is the depth of the potential, and s is the width of the potential well. LAMMPS uses these units to set the fundamental quantities m, s, ε, and kB to unity. Conversion between the physical and reduced units (LJ units) can be done from Table 1. Note: Conversion in soft matter experiments are as follows: Experiments are conducted at room temperatures T = 293K, kB = 1.38 3 10�23 m <sup>2</sup> kgs <sup>�2</sup> K <sup>�1</sup>, so we get energy as ε = 4.04 3 10 <sup>�21</sup> J. In our model of polymer translocation through a pore in the presence of crowders on both sides of the box, s; the sizes of a crowder are represented as sc for the cis-side and st for the trans-side. The dimensionless reduced units (LJ units) signifying the size of crowders in our work have an impact on the friction x and mass of the crowders m. The friction and mass of the crowder on each side are proportional to their sizes as, Table 1. LAMMPS reduced unit <mark>Variable</mark> <mark>Value (LJ units)</mark> <mark>Temperature (T)</mark> ε/kB pf f i f f i f f i f f i f f i f f i f f iffi <u><mark>Time (t)</mark></u> <u>ms</u> <sup>2</sup> <u>=ε</u> <mark>Boltzmann constant (kB)</mark> 1 <u><mark>Energy (ε)</mark></u> <u>1</u> <mark>Distance (s)</mark> 1 <mark>Mass (m)</mark> 1 <mark>Translational Damping time (tt)</mark> pf f i f f i f f i f f i f f i f f i f f iffi ms <sup>2</sup> =ε #### ll ##### Protocol OPEN ACCESS <u>xt</u> st <u>mt</u> s <sup>2</sup> t = <sup><u>xc</u></sup> sc = <sup><u>xc</u></sup> c ; = <sup><u>mc</u></sup> s <sup>2</sup> c : These dimensionless reduced units have been extensively used in simulations. Note: In our model, the value of k (FENE spring constant) is chosen in such a way that it should provide optimum flexibility between the monomers of a flexible polymer; in our case, we have taken k = 30. L0 is the equilibrium bond length between the consecutive monomer, where l0 = 1.5s, slightly larger than the bond length between two monomers to allow them maximum extension till this value. e is the interactive energy between two monomers, and s is the size of each monomer. <sup>3,6,7,14</sup> 4. Set the pair coefficient between individual beads of the polymer. In this command, specify pairwise force field coefficients for the atoms. [Note: Here is the LAMMPS command for introducing pair coefficients: https://docs.lammps.](https://docs.lammps.org/pair_coeff.html) [org/pair_coeff.html.](https://docs.lammps.org/pair_coeff.html) #pair_coeff command <mark>pair_coeff I J args</mark> Note: Here, I, J = numeric atom type, and args = coefficient for pair of atom types. Here, I, J arguments are used to set the coefficients for the types label of atoms. a. If there are ’n’ atom types, ’*’ with no numbers includes all types from 1 to n. A ’*’ at the begin ning includes types from 1 to n. b. A ’*’ at the end includes types up to n. c. A ’*’ in between includes types from m to n. d. The args value that we are using to specify monomer is 1. Thus, the pair coefficient between all the monomers of type 1 is set using this command, followed by the cut-off rc value for the pair coefficient. Note: In our code, we are using the following value of arguments: pair_coeff - - 1.0 1.0 1.0 <mark>#args</mark> <mark>id1</mark> <mark>id2</mark> <mark>e</mark> <mark>s</mark> <mark>rcut</mark> Note: Here, the first argument is e, the interaction energy between the two monomers. The second argument is s; the size of the monomer. The third argument is rcut, the cut-off distance between the monomers for repulsive or attractive interaction. In our code, the first argument is e = 1.0 for repulsive interaction between monomers, s = 1.0 as the size of the monomer, and rcut = 1.0 s cut-off value for the repulsive interaction, less than the maximum cut-off for the repulsive interaction 2 <sup>1/6</sup> s. 5. Set the mass of each bead of the polymer. #### ll ##### OPEN ACCESS Protocol To set the mass between one and other types of atoms followed by its value, the following LAMMPS [command can be used: https://docs.lammps.org/mass.html.](https://docs.lammps.org/mass.html) #mass command <mark>mass I value</mark> Note: Here, I = atom type and value = mass. 6. Set the angle coefficients and special bonds. Note: This command is used to specify the angle force field coefficients for one or more atom [types. Here is the LAMMPS command: https://docs.lammps.org/angle_coeff.html,](https://docs.lammps.org/angle_coeff.html) #angle_coeff command <mark>angle_coeff N args</mark> Note: Here, N = numeric angle type, and args = coefficients for angle type. Note: For simulating semi-flexible DNA-like chains, the value of the argument that deals with the polymer’s bending angle can be used. For example, for flexible polymer, we have taken the value of the argument, which is the bending coefficient as 0, while for the case of DNA (semi-flexible polymer), the bending coefficient will be greater than 0, varying as per the flexibility. In Code 2, we can change the angle coefficient (for a semi-flexible polymer of flexibility 15) as follows: angle_coeff 1 15 <mark>#args</mark> <mark>N</mark> <mark>f</mark> l <mark>exibility</mark> a. Setting the special bond [Note: Following is the LAMMPS command: https://docs.lammps.org/special_bonds.html](https://docs.lammps.org/special_bonds.html) #Special_bonds command <mark>Special_bonds keywords values.</mark> Note: where keywords = charm or fene or lj or angle, etc. Note: For example, in our code, as we use flexible polymer, the coefficient specifying the angle is set to zero between the monomers of type 1. We are using FENE as our special bond. angle_coeff 1 0 <mark>special_bonds</mark> <mark>fene</mark> 7. Setting the Langevin dynamics that govern the potential between polymer with the implicit solvent as background. #### ll ##### Protocol OPEN ACCESS Note: The excluded volume interaction exclusively is given by a standard truncated shortrange repulsive Lennard-Jones (LJ) potential, commonly known as WCA potential between the beads, crowders, and bead-crowders as <sup>1</sup> �12 �sij rij 0; otherwise: �12 <sup>#</sup> "�sij rij + e; for rij % 2 <sup>1=6</sup> sij = 8 >< >: 4e ULJ rij Note: Here, rij = |ri – rj| is the distance between i and j particle, ε is the interaction strength of the potential, and sij = (si + sj)/2 is the diameter of the effective interaction region of the interacting pairs of diameters si, sj. In our simulation, we use a purely repulsive part of the LJ potential to mimic a good solvent by cutting out the attractive effect. <sup>1</sup> The following command in LAMMPS <sup>17</sup> considers fixing Langevin dynamics as follows: [https://docs.lammps.](https://docs.lammps.org/fix_langevin.html) [org/fix_langevin.html.](https://docs.lammps.org/fix_langevin.html) fix langevin command <mark>f</mark> i <mark>x ID group-ID langevin Tstart Tstop damp seed keyword values.</mark> Note: Here, ID, group-ID, Langevin, Tstart, Tstop, damp, seed, keyword values are as follows: <mark>ID, group-ID</mark> documented in the fix command <u><mark>langevin</mark></u> <u>style name of this fix command</u> <mark>Tstart, Tstop</mark> start/end temperature of the run <mark>damp</mark> damping parameter <mark>seed</mark> random number seed to use for white noise <mark>keyword</mark> zero or angmom or omega, etc. Note: In our code, we have fixed the NVE ensemble. For Langevin, we are giving ID as ‘‘mytype1’’ for the particle of type 1, and the argument values (Tstart, Tstop, x; and seed) are as follows: fix integrator 1 nve <mark>f</mark> i <mark>x 1 mytype1 langevin 1.2 1.2 0.7 seed</mark> Note: where the seed is set to variable and keeps changing with each ensemble. Note: To know the adequate value of simulation parameters used for the Langevin dynamics, see Troubleshooting problem 5. Note: Our simulation uses the NVE (constant number of particles, volume, and energy) ensemble. This ensemble is often preferred for studying physically realistic cases because it allows for studying energy transfer between solvent and the particles, is more physically realistic in many cases, and is generally more computationally efficient. Using the Langevin thermostat in the NVE ensemble, we can maintain a constant temperature while allowing the system to evolve and exchange energy with the surrounding environment through particle motion and interactions. NVE with the Langevin is more efficient than the NVT algorithm. The second fix works in congruence with the first fix. #### ll ##### OPEN ACCESS Protocol 8. The dump command stores all the required physical entities and takes them as the output file. Note: Following is the LAMMPS command <sup>17</sup> [: https://docs.lammps.org/dump.html](https://docs.lammps.org/dump.html) #dump command <mark>dump ID group-ID style N f</mark> i <mark>le attribute1 attribute2.</mark> Note: Here, ID, group-ID, style N, file, attribute1, and attribute2 are as follows: <mark>ID</mark> <mark>d</mark> ump name assigned by the user <mark>group-ID</mark> ID of the group of atoms to be dumped <mark>style</mark> atom or atom/adios or atom/gz, etc. <u><mark>N</mark></u> <u><mark>d</mark></u> <u>ump on time steps, which are multiple of N</u> <mark>f</mark> i <mark>le</mark> file name where the information is to be dumped <mark>attribute</mark> attribute list for a particular style 9. Set the timestep. This command sets the timestep size for subsequent molecular dynamics simulations. We are using LJ units for all the physical properties. Note: Here is the LAMMPS command <sup>17</sup> for setting the timestep: [https://docs.lammps.org/](https://docs.lammps.org/timestep.html) [timestep.html.](https://docs.lammps.org/timestep.html) #timestep command <mark>timestep dt</mark> Note: Here, dt = size of timestep (time units) Note: Timestep in the simulation is the resolution limit over which the system integrates each iteration. It is crucial in determining the model’s precision, accuracy, speed, and computational efficiency. Nyquist theorem states that the timestep must be at most half the period of the fastest dynamics in the system. This is the upper limit for capturing these dynamics, but a much smaller timestep is typically recommended for accuracy. In our model, to avoid the overlap in LJ potential, the maximum displacement and timestep is as follows: From LJ potential, the displacement r between two monomers for the repulsive interaction case is r = - 216 - 1 s; (Equation 1) where s is the size of the monomer. From the Einstein–Smoluchowski equation, MSD = < ðrÞ <sup>2</sup> - = 2dD dt; (Equation 2) where d is the dimension of the system, D is the diffusion constant, where D = <sup><u>kB</u></sup> x <sup><u>T</u></sup> <sup>, dt is time. From</sup> Equations 1 and 2, maximum displacement over time t is #### ll ##### Protocol OPEN ACCESS �216 - 1�2s <sup>2</sup> = 2d <sup><u>kBT</u></sup> dt; x in our model, we are simulating in two dimensions, d = 2, kBT = 1, x = 0.7, s = 1 in LJ units. Putting values, we get, ð0:1224Þ <sup>2</sup> ð1Þ = 2ð2Þ <sup><u>1</u></sup> 0:7 <sup>dt;</sup> dt = 0:0026 Thus, the timestep should be less than 0.0026 to avoid overlapping two monomers in LJ potential. In our model, we have dt = 0.001. 10. Set the Run command. This command runs the dynamics for the specified number of timesteps. Here is the LAMMPS command <sup>17</sup> [: https://docs.lammps.org/run.html.](https://docs.lammps.org/run.html) #run command <mark>run N keyword values ...</mark> Note: where N = number of timesteps, and Keyword = zero or up to or start or stop or every. Velocity Verlet algorithm Timing: 10 min (for step 12) 11. As a particle moves in a system over time, its separation changes. <sup>17–19</sup> Let the set of coordinates be represented by R = ðr1; r2; r3; :::::::rnÞ and acceleration by A represented as ð f1 =m1; f2 =m2; f3 =m3; ::::::: fn =mn Þ: As their separation keeps on changing, force becomes time-dependent. The trajectory gets updated at each small increment of time, and we can have a complete trajectory by changing the time at each step, called time steps (see Figure 3). Newton’s equation of motion can be written as <sup><u>d</u></sup> d <sup>22R</sup> t <sup>=</sup> <sup>A:</sup> <sup>Using</sup> <sup>the</sup> <sup>second</sup> <sup>derivative</sup> <sup>for</sup> <sup>the</sup> three-point formula approximation using the Taylor polynomial as Figure 3. Schematic representation of Velocity Verlet algorithm #### ll ##### OPEN ACCESS Protocol <u>d</u> <sup>2</sup> <u>R</u> t <sup><u>12</u></sup> <sup>ðRk+1</sup> <sup>�</sup> <sup>2Rk</sup> <sup>+</sup> <sup>Rk �</sup> <sup>1Þ + O</sup> ; (Equation 3) <u>d</u> <sup>2</sup> <u>R</u> d <sup>2</sup> t <sup>=</sup> t <sup><u>12</u></sup> �t <sup>2�</sup> where t = kt: Similarly, applying the above three-point formula to velocity gives as Vk = <sup><u>dR</u></sup> dt �t <sup>2�</sup> : 2 <sup><u>1</u></sup> t <sup>ðRk+1</sup> <sup>�</sup> <sup>Rk �</sup> <sup>1Þ + O</sup> <sup><u>dR</u></sup> dt <sup>=</sup> 2 <sup><u>1</u></sup> t : (Equation 4) Note: Solving Equations 3 and 4 gives the simplest algorithm, which reduces error over a long simulation period. This algorithm is known as the Velocity Verlet algorithm. <sup>19,20</sup> It can be used for classical many-body systems. �t <sup>4�</sup> ; Rk+1 = 2Rk - Rk � 1 + t <sup>2</sup> Ak + O ; Vk = <sup><u>1</u></sup> �t <sup>2�</sup> : 2t <sup>ðRk+1</sup> <sup>�</sup> <sup>Rk �</sup> <sup>1Þ + O</sup> <sup><u>1</u></sup> �t <sup>2�</sup> : 2t <sup>ðRk+1</sup> <sup>�</sup> <sup>Rk �</sup> <sup>1Þ + O</sup> : Note: Start the Velocity Verlet algorithm for the first two positions of the particle, say R0, and R1. In practice, if R0 and V0 are given, R1 can be figured out before starting the iteration process. The force constant has been kept for the first-time interval ½0; t�, then, from the kinematics equations, we obtain <u>d</u> <sup>2</sup> <u>R</u> t <sup><u>12</u></sup> <sup>ðR1</sup> <sup>�</sup> <sup>2R0</sup> <sup>+</sup> <sup>R�</sup> <sup>1Þ + O</sup> <u>d</u> <sup>2</sup> <u>R</u> d <sup>2</sup> t <sup>=</sup> <sup>A0</sup> <sup>=</sup> t <sup><u>12</u></sup> �t <sup>2�</sup> ; V0 = <sup><u>1</u></sup> �t <sup>2�</sup> : 2t <sup>ðR1</sup> <sup>�</sup> <sup>R�</sup> <sup>1Þ + O</sup> <sup><u>1</u></sup> �t <sup>2�</sup> : 2t <sup>ðR1</sup> <sup>�</sup> <sup>R�</sup> <sup>1Þ + O</sup> : gives R1 = 2R0 - R1 + 2V0ðt <sup>2</sup> Þ + t <sup>2</sup> A0; R1 z R0 + tV0 + <sup><u>t2</u></sup> (Equation 5) 2 <sup>~~A~~</sup> <sup>0:</sup> where A0 is the acceleration at the initial configuration R0. CRITICAL: By using Taylor expansion at a higher order, the accuracy of the value R1 can be improved. Replace A0 in Equation 5 with ðA0 + A1Þ=2; A1 estimated at R1: Iterate this algorithm several times before starting the calculation for V1 and R2: Note: The rounding-off error may destroy the symmetry of time. The error in velocity is two orders higher in magnitude than the error in position. In cases when velocity does not need to be calculated, the Verlet algorithm gives higher accuracy for the position. The biggest disadvantage of the Verlet algorithm is that the velocity is evaluated one step behind the position, which can be improved by calculating the velocity directly from the force. From the two-point formula, <sup>19,20</sup> we get Vk+1 = Vk + tAk + O �t <sup>2�</sup> : For improved accuracy, we can replace Ak with an average ðAk + Ak+1Þ=2: The new position can be obtained within the interval ½kt;ðk + 1Þt� with a constant acceleration Ak; that is, Rk+1 = Rk + tVk + <sup><u>t2</u></sup> 2 <sup>~~V~~</sup> <sup>k:</sup> #### ll ##### Protocol OPEN ACCESS Then, the Velocity Verlet algorithm for the velocity at the same time step, the position can be calculated as: Rk+1 = Rk + tVk + <sup><u>t2</u></sup> �t <sup>4�</sup> ; 2 <sup>~~V~~</sup> <sup>k + O</sup> Vk+1 = Vk + <sup><u>t</u></sup> �t <sup>2�</sup> : 2 <sup>ðAk+1</sup> <sup>+</sup> <sup>AkÞ + O</sup> <sup><u>t</u></sup> �t <sup>2�</sup> : 2 <sup>ðAk+1</sup> <sup>+</sup> <sup>AkÞ + O</sup> : 12. Compilation of LAMMPS code in terminal. Note: Open the terminal in folder terminal in the folder consisting of the LAMMPS code. <sup>1</sup> Write the command in the terminal (for the LAMMPS code saved as in.lmp) to run it in one core as: <mark>lmp -in in.lmp</mark> Note: To run it in multiple cores (for example, four cores here), mpirun is used as: <mark>mpirun -np 4 lmp -in in.lmp</mark> 13. How to write an input data file for LAMMPS code from Python. Note: Here is the Python code for writing input data files for a flexible polymer. The essential arguments are as follows: atom, bonds, angles, dimension of the box, atom types, bond types, and angle types. #CODE 1: How to write an input data file for LAMMPS from Python #import python libraries to work with array import numpy as np import random #defining empty array to store the values of dimension of the box, atoms, bonds, angles, posi tion of the polymer l1=20 b1=20 h1=0.1 natoms=0 natoms1=0 natoms2=0 natoms3=0 lpoly=20 nbonds=0 nangles=0 #### ll ##### OPEN ACCESS Protocol positions1=[] positions2=[] positions3=[] bonds=[] angles=[] crowd=[] atomtypes=2 bondtypes=1 angletypes=1 #creating positions of the atoms of the polymer for i in range(int(-lpoly/2),int(lpoly/2)+1): positions1.append(np.array([i,0,0])) natoms=natoms+1 #creating bonds of the atoms of the polymer for a in range(1,int(lpoly)+1): bonds.append(np.array([a,a+1])) nbonds=nbonds+1 #creating angles between the atoms of the polymer for b in range(1,lpoly): angles.append(np.array([b,b+1,b+2])) nangles=nangles+1 #writing information to the data file with open(’poly.data’,’w’) as fdata: fdata.write(’polymer_data_file\n\n’) fdata.write(’{} atoms\n’.format(natoms)) fdata.write(’{} bonds\n’.format(nbonds)) fdata.write(’{} angles\n\n’.format(nangles)) fdata.write(’{} {} xlo xhi\n’.format(-l1,l1)) fdata.write(’{} {} ylo yhi\n’.format(-b1,b1)) fdata.write(’{} {} zlo zhi\n’.format(0,h1)) fdata.write(’Atoms\n\n’) for u,pos3 in enumerate(positions1): fdata.write(’{} 1 1 {} {} {}\n’.format(u+1,*pos3)) fdata.write(’\n’) fdata.write(’Bonds\n\n’) for j,pos1 in enumerate(bonds): fdata.write(’{} 1 {} {}\n’.format(j+1,*pos1)) fdata.write(’\n’) #### ll ##### Protocol OPEN ACCESS fdata.write(’Angles\n\n’) for c,pos2 in enumerate(angles): <mark>fdata.write(’{} 1 {} {} {}\n’.format(c+1,*pos2)</mark> How to read an input data file from LAMMPS code Timing: 10 s (1 ensemble) 14. This command tells LAMMPS to read a data file information that needs to run a simulation. Following is the command to read the data from LAMMPS <sup>17,20</sup> : [https://docs.lammps.org/](https://docs.lammps.org/read_data.html) [read_data.html.](https://docs.lammps.org/read_data.html) #read_data command <mark>read_data f</mark> i <mark>le keyword args ....</mark> Note: Here, file = data file name to be read, and keywords = zero or add or offset or shift, etc. An example of an entire LAMMPS script for a flexible polymer with reflective boundary conditions Timing: 10 min (1 ensemble) 15. LAMMPS code. #Code 2: Creating a flexible polymer in LAMMPS # To make a directory to save movie shell mkdir Movie #setting dimension, units, atom style, and boundary condition dimension 2 units lj atom_style molecular boundary f f p # to read the input data file read_data poly.data # all particle has mass 1 and same type mass * 1 group type1 type 1 # Lennard-Jones pair interaction between particles pair_style lj/cut 2.5 pair_coeff 1 1 1.0 1.0 # FENE potential parameters neighbor 2.0 bin #### ll ##### OPEN ACCESS Protocol neigh_modify every 1 delay 0 check yes bond_style fene bond_coeff 1 30.0 1.5 1.0 1.0 #angle style of polymer angle_style cosine angle_coeff 1 0 special_bonds fene #minimize energy first to avoid overlapping particles minimize 1.0e-10 1.0e-11 10000 10000 reset_timestep 0 #fixing lagevin dynamics and the parameters fix integrator all nve fix dynamics all langevin 1.0 1.0 0.7 437 #put z=0 all the time fix 2D all enforce2d #time step of integrator timestep 0.001 #number of steps to run run 100000 #reset timestep for equilibration reset_timestep 0 #dumping all the atoms at every 500 steps dump mydmp all atom 500 ./Movie/movie.dat timestep 0.001 <mark>run 1000000</mark> Note: To solve the bad FENE bond error, see Troubleshooting problem 6. 16. Example of a data file for the above LAMMPS script: The ‘‘poly. data’’ file includes information on all the atoms, bonds, angles, and simulation cells used in creating a polymer. The step-by-step generation of the data files and the importance of the blank spaces have been discussed in the above section. Note: For visualization of the flexible polymer, first load the input data file from LAMMPS; see Figures 4 and 5 and the expected outcome in Figure 6. Polymer data file 21 atoms 20 bonds 19 angles #### ll ##### Protocol OPEN ACCESS 1 atom types 1 bond types 1 angle types -20 20 xlo xhi -20 20 ylo yhi 0 0.1 zlo zhi Bonds 1 1 1 2 2 1 2 3 3 1 3 4 4 1 4 5 5 1 5 6 6 1 6 7 7 1 7 8 8 1 8 9 9 1 9 10 10 1 10 11 11 1 11 12 12 1 12 13 13 1 13 14 14 1 14 15 15 1 15 16 16 1 16 17 17 1 17 18 18 1 18 19 19 1 19 20 20 1 20 21 Atoms 1 1 1 1.0 0.0 0.0 2 1 1 2.0 0.0 0.0 3 1 1 3.0 0.0 0.0 4 1 1 4.0 0.0 0.0 5 1 1 5.0 0.0 0.0 6 1 1 6.0 0.0 0.0 7 1 1 7.0 0.0 0.0 8 1 1 8.0 0.0 0.0 9 1 1 9.0 0.0 0.0 10 1 1 10.0 0.0 0.0 #### ll ##### OPEN ACCESS Protocol 11 1 1 11.0 0.0 0.0 12 1 1 12.0 0.0 0.0 13 1 1 13.0 0.0 0.0 14 1 1 14.0 0.0 0.0 15 1 1 15.0 0.0 0.0 16 1 1 16.0 0.0 0.0 17 1 1 17.0 0.0 0.0 18 1 1 18.0 0.0 0.0 19 1 1 19.0 0.0 0.0 20 1 1 20.0 0.0 0.0 21 1 1 21.0 0.0 0.0 Angles 1 1 1 2 3 2 1 2 3 4 3 1 3 4 5 4 1 4 5 6 5 1 5 6 7 6 1 6 7 8 7 1 7 8 9 8 1 8 9 10 9 1 9 10 11 10 1 10 11 12 11 1 11 12 13 12 1 12 13 14 13 1 13 14 15 14 1 14 15 16 15 1 15 16 17 16 1 16 17 18 17 1 17 18 19 18 1 18 19 20 <mark>19 1 19 20 21</mark> 17. Ovito Visualization: a. Load the data file b. Visualization c. Expected outcome LAMMPS code for a flexible polymer with a wall having a pore in the middle Timing: 10 min (1 ensemble) #### ll ##### Protocol OPEN ACCESS Figure 4. Loading the input data file from LAMMPS 18. Create a LAMMPS code with a polymer translocating through a pore in the middle of the wall. a. LAMMPS command to create a box Note: For our case, we consider a 2D rectangular box separated by a repulsive wall in the middle of rigid repulsive LJ particles of thickness the same as the diameter of a monomer s. The middle wall separates the box into two regions; the left side is cis, while the right side is trans. We want to see the polymer’s probability of translocating to either side in an unbiased system. <sup>1,17,20</sup> Note: For visualization of the flexible polymer symmetrically placed at the pore in the middle of the wall, see Figure 7 and the expected outcome in Figure 8. i. LAMMPS code is used to create a box and a wall between it separating the two regions, cis and trans. #create_box command: <mark>create_box N region-ID keyword value .</mark> Note: Here, N = number of atom types used in simulation, Region-ID = region ID that can be used as simulation domain, and Keyword = zero or bond/types or angles/types or improper/ types, etc. Note: For criteria to choose the optimum box size for modeling, see Troubleshooting problem 4. #### ll ##### OPEN ACCESS Protocol ii. LAMMPS code for creating a region. #Region command <mark>Region ID style args keyword arg .</mark> Note: Here, ID = name of the region assigned by the user, and Style = delete or block or cone or cylinder, etc. Note: In our code, we have used a rectangular box represented by RBox(x,y). We have checked the effect of box size. A box has been chosen to be big enough so the polymer has no effect on the box size. We have checked physical properties like translocation probability, time, MSD (t), and translocation rate. All the properties match the experimental and analytical <sup>2,3,6</sup> and <sup>7</sup> scaling regimes. We have used Lx = 130 and Ly = 66 with a pore in the middle with dimensions <sup>1</sup> of pore length, sH = s; and pore width sw = 1:6s: Note: For criteria to choose the optimum pore size in the middle of the wall for our model, see Troubleshooting problem 3. iii. Create a 2D rectangular box with reflective boundary conditions. In LAMMPS, <sup>17,20</sup> Enforce 2D and reflective boundary conditions as follows: #Fix wall/reflect command <mark>Fix ID group-ID wall/ref</mark> l <mark>ect face arg . Keyword value .</mark> Note: Here, group-ID, wall/reflect, face, arg, and keyword value are as follows: <mark>ID, group-ID</mark> <mark>as per the f</mark> i <mark>x command</mark> <u><mark>Wall/ref</mark></u> l <u><mark>ect</mark></u> <u><mark>style name of this f</mark></u> i <u><mark>x command</mark></u> <mark>Face</mark> <mark>xlo or xhi or ylo or yhi or zlo or zhi</mark> <mark>Arg</mark> <mark>EDGE or constant or variable</mark> <mark>Keyword</mark> <mark>zero or units value</mark> b. Pair coefficients for wall and polymer atoms: Note: Atom types are as followed: atom type 1: polymer, atom type 2: middle wall (0,-Ly), atom type 3: Center monomer of the polymer, and atom type 4: middle wall (0, Ly) c. Ovito Visualization: i. Visualization ii. Expected outcome LAMMPS code for the crowders on one side Timing: 15 min (depending on the packing fraction of crowders) 19. Polymer is translocated through a pore with crowders on one side of the box. Note: Here, we have created crowders on the trans side. We have calculated the number of crowders with the help of the packing fraction formula <sup>1</sup> : #### ll ##### Protocol OPEN ACCESS Figure 5. Visualization of flexible polymer in Ovito �st�2 <u>2</u> f = Nt p Lx 3 Ly where Nt is the total number of crowders on the trans-side, each of size st, and the packing fraction on the trans-side has dimensions, Lx 3 Ly. Note: For visualization of the flexible polymer and crowders on one side of the box, see Figure 9 and the expected outcome in Figure 10. #Code 3: Creating polymer at the pore and crowders on one side of the box #creating a folder to save crowders configuration file shell mkdir dump #defining units, atom style, dimensions, and boundary condition units lj atom_style angle dimension 2 boundary f f p # to read the input data file read_data poly.data #creating a region dividing the box into in parts #### ll ##### OPEN ACCESS Protocol region box1 block 32.5 65 0 66 0 0.1 units box region box2 block -65 -32.5 0 66 0 0.1 units box #creating random atoms as crowders on one side of the box create_atoms 5 random 200 1289 box1 neighbor 0.3 bin neigh_modify every 1 delay 0 check yes #defining the types of atom being used in the system group mytype1 type 1 3 group mytype2 type 2 group mytype3 type 3 group mytype4 type 4 group mytype5 type 5 # Lennard-Jones pair interaction between particles pair_style lj/cut 1.1224 pair_coeff 1 1 1.0 1.0 1.0 pair_coeff 2 2 1.0 1.0 1.0 pair_coeff 3 3 1.0 1.0 1.0 pair_coeff 4 4 1.0 1.0 1.0 #mass of all atoms is 1 mass * 1 #FENE potential parameters bond_style fene bond_coeff 1 30.0 1.5 1.0 1.0 special_bonds fene angle_style cosine angle_coeff 1 0 angle_coeff 2 0 #fixing the langevin dynamics parameters fix my mytype1 nve fix my2 mytype4 nve fix my3 mytype5 nve fix 1 mytype1 langevin 1.2 1.2 0.7 456676 fix 2 mytype4 langevin 1.2 1.2 0.7 646677 fix 3 mytype5 langevin 1.2 1.2 0.7 754378 #creating reflecting boundaries at the wall fix xwalls all wall/reflect xlo EDGE xhi EDGE fix ywalls all wall/reflect ylo EDGE yhi EDGE fix 6 all enforce2d #### ll ##### Protocol OPEN ACCESS #minimize energy first to avoid overlapping particles minimize 1e-8 1e-10 100000 100000 timestep 0.005 #dumping the x and y coordinates for the trajectory in the above specified folder dump 1 mytype1 custom 1000 ./dump/dump.lammpstrj id xu yu #number of steps to run <mark>run 1500000</mark> Note: To know in depth about the polymer’s equilibration to overcome the system’s biases, refer to Troubleshooting problem 1. Note: To choose the number of ensembles and to solve the averaging problem, refer to Troubleshooting problem 2. Note: Our code has Atom type 5: crowders on the trans side. group mytype1 type 1 3 group mytype2 type 2 group mytype3 type 3 group mytype4 type 4 <mark>group mytype5 type 5</mark> We have created atoms on one side of the box by using the following command <sup>17,20</sup> : [https://](https://docs.lammps.org/create_atoms.html) [docs.lammps.org/create_atoms.html.](https://docs.lammps.org/create_atoms.html) #create_atoms command <mark>create_atoms type style args keyword values ..</mark> Note: Here, type, style, args, and keyword values are as follows: Type atom type of the atoms to be created style box or region or single or mesh or random args box args or region args or mesh args or random args keyword zero or mol or overlap Note: For example, in our code, we have used the following <mark>create_atoms 5 random 200 1289 box1</mark> a. Ovito Visualization: i. Visualization ii. Expected Outcome #### ll ##### OPEN ACCESS Protocol Figure 6. The expected outcome of a flexible polymer in Ovito LAMMPS code for crowders on both sides Timing: 20 min (for step 20) Timing: 20 min (depending on the packing fraction of crowders) (for step 21) 20. Polymer translocating through a pore with crowders on both sides of the box. Figure 7. Visualization of a flexible polymer placed symmetrically at the center of the pore in a rigid wall #### ll ##### Protocol OPEN ACCESS Figure 8. The expected outcome is a flexible polymer translocating through the pore, as visualized in Ovito Note: Here, we are calculating the number of crowders on both sides using packing fraction <sup>1</sup> : : �si�2 <u>2</u> f = Nc p Lx 3 Ly There are Nc crowders in general of the diameter si on either side of the box with dimension. Lx 3 Ly. Crowders can be created as follows: Note: For visualization of the flexible polymer and crowders on both sides of the box, see Figure 11 and the expected outcome in Figure 12. Figure 9. Crowders on one side of the box with flexible polymer are placed symmetrically at the center of the pore to represent the one-sided, crowded environment in translocation processes #### ll ##### OPEN ACCESS Protocol Figure 10. The outcome of the one-sided, crowded environment translocation process visualized in Ovito a. The two sides of the box have been created using the following command <sup>17,20</sup> : region box1 block 2 50 3 33 0 0 0.1 units box <mark>region box2 block 2 50 -33 -3 0 0 0.1 units box</mark> b. In our code, we have Atom type 3 and 4: crowders on the cis and trans side. group mytype1 type 1 3 group mytype2 type 2 5 6 group mytype3 type 3 <mark>group mytype4 type 4</mark> c. We have created crowders on both sides of the box using the following command: create_atoms 3 random 58 seed box1 <mark>create_atoms 4 random 58 seed box2</mark> d. In our code, we create crowders and use overlap commands as a keyword <sup>17,20</sup> so that they do not overlap each other. <sup>17,20</sup> #create_atoms command: <mark>create_atoms type style args keyword values .</mark> Note: Here, type, style, args, and keyword values are as follows: <mark>Type</mark> atom type of the atoms to be created <u><mark>style</mark></u> <u>box or region or single or mesh or random</u> <mark>args</mark> box args or region args or mesh args or random args <u><mark>keyword</mark></u> <u>zero or mol or overlap, etc.</u> <mark>Overlap value</mark> Doverlap Doverlap value should be inserted only when at least this distance from all existing atoms #### ll ##### Protocol OPEN ACCESS Figure 11. Visualization of the symmetric crowded environment on both sides of the box Note: In our code, we have used this command as: create_atoms 3 random 58 seed box1 overlap 3.1 <mark>create_atoms 4 random 58 seed box2 overlap 3.1</mark> 21. LAMMPS code. #Code 4: create a polymer at the center of the wall and crowders on both sides of the wall of vary ing size and same packing fraction #creating a folder to save the data shell mkdir dump #defining units, atom style, dimensions, and boundary condition units lj atom_style angle dimension 2 boundary f f p # to read the input data file read_data poly.data #creating a region dividing the box into in parts region box1 block 2 50 3 33 0 0 0.1 units box #### ll ##### OPEN ACCESS Protocol region box2 block 2 50 -33 -3 0 0 0.1 units box #creating random atoms as crowders on one side of the box with overlap command create_atoms 3 random 58 ${k} box1 overlap 3.1 create_atoms 4 random 58 ${k} box2 overlap 3.1 neighbor 0.3 bin neigh_modify every 1 delay 0 check yes #defining the types of atom being used in the system group mytype1 type 1 3 group mytype2 type 2 5 6 group mytype3 type 3 group mytype4 type 4 # Lennard-Jones pair interaction between particles pair_style lj/cut 1.1224 pair_modify shift yes mix arithmetic pair_coeff 1 1 1.0 1.0 1.0 pair_coeff 2 2 1.0 1.0 1.0 pair_coeff 3 3 1.0 1.0 1.0 pair_coeff 6 6 1.0 0.8 0.8 pair_coeff 5 5 1.0 0.8 0.8 pair_coeff 4 4 1.0 3.0 3.0 #mass of the atoms as per their size #FENE potential parameters mass 1 1.0 mass 2 1.0 mass 3 1.0 mass 4 9.0 mass 5 1.0 mass 6 1.0 bond_style fene bond_coeff 1 30.0 1.5 1.0 1.0 special_bonds fene angle_style cosine angle_coeff 1 0 angle_coeff 2 0 fix integrator all nve #fixing the langevin dynamics parameters fix 1 mytype1 langevin 1.2 1.2 0.7 189095 fix 2 mytype4 langevin 1.2 1.2 2.1 435688 #### ll ##### Protocol OPEN ACCESS #creating reflecting boundaries at the wall fix xwalls all wall/reflect xlo EDGE xhi EDGE fix ywalls all wall/reflect ylo EDGE yhi EDGE fix 5 all enforce2d #minimize energy first to avoid overlapping particles minimize 1e-9 1e-11 1000000 1000000 timestep 0.005 #dumping the x and y coordinates for the trajectory in the above specified folder dump 1 mytype1 custom 100./dump/dump.lammpstrj id xu yu #number of steps to run <mark>run 500000</mark> a. Ovito Visualization: i. Visualization ii. Expected Outcome EXPECTED OUTCOMES This protocol describes a step-by-step procedure for the LAMMPS installation and Ovito visualization to build a model for the polymer translocation through a pore. The expected outcome is the equal probability scenario, starting from the polymer with no crowding and no bias to the symmetric system. We have obtained the 50-50% translocation probability and translocation time tz N <sup>2:5</sup> matching <sup>7,14</sup> with the experimental results of the polymer to translocate to either side of the box. Moreover, an analysis of the time of crossing tcrossing of individual beads across the pore has been done, giving the expected outcome of increasing tcrossing as the monomers are passing the pore but results in two interesting yet counterintuitive features in stark contrast to the expectation of translocation rate kT and bead velocity vb. The translocation rate is minimum when the middle monomer passes the pore and keeps on increasing. Still, the bead velocity showcases the exact opposite trend, which is maximum for the middle monomer and dramatically decreasing for the subsequent part of the trail. Once the crowding is introduced, the symmetry breaking takes place. Thus, Figure 12. The outcome of the polymer translocating through a pore in the both-sided crowded environment #### ll ##### OPEN ACCESS Protocol it is expected to have a deviation from the equal probability case. Based on the entropic force <sup>22</sup> and the osmotic pressure, the crowders derive the polymer to translocate in the direction of higher entropy and lower osmotic pressure. Furthermore, we have also seen a critical crowding size named as sigma splitting, revealing a non-zero translocation probability towards the crowder side. This symmetry breaking can be retrieved by placing the polymer asymmetrically at the pore. So, by shifting the polymer, we have seen that at certain critical shifting of polymer from its initial configuration at the pore, we can have an expected equal probability case retrieved back. Next, introducing the crowders on both sides of the box shows that the slight variation in the crowder size and the packing fraction induces the polymer to show a sudden jump and switch its translocation direction. QUANTIFICATION AND STATISTICAL ANALYSIS We have studied the physical properties, such as the Translocation probability P, time t, and Mean Squared Displacement MSD (t) of the polymer’s center bead gmid (t), the center of mass g3(t), head ghead(t), and tail gtail(t). We have also examined the average crossing time tcrossing, bead velocity Vb, and translocation rate kT of the individual monomer passing through the pore, showing counterintuitive results. Free energy analysis of a polymer translocating in a free environment has been done. The free energy calculation of asymmetrically placed polymers indicates the existence of a nucleation barrier and a critical number of segments directing receiver-side translocation. The asymmetry in the initial configuration of the polymer to restore the equal probability scenario in the presence of crowders has also been examined. In both-sided crowding, a slight variation in the size of crowders and packing fraction results in the polymer switching its translocation direction has been observed. LIMITATIONS Our study of polymer translocation is based on a coarse-grain model that does not consider the individual microscopic forces. Due to computational constraints, creating an atomistic model with intricate force fields is difficult. However, utilizing polymer physics enables the development of coarse-grained models, facilitating the efficient study of polymer translocation dynamics. We are primarily interested in the polymer’s conformational fluctuation and dynamics in the presence of crowder particles. Furthermore, we did not consider electrostatic interaction. However, our model can be easily extendable to include electrostatic interaction incorporating the charge density of the polymer and solvent molecules. Moreover, in our model, we ignore the effect of hydrodynamic interactions. The current model is also for flexible polymers, so including additional features such as semi-flexibility would be interesting. TROUBLESHOOTING Problem 1 Equilibration of the polymer to overcome any system biases and begin with a truly random initial configuration (step-by-step method details, Step 19). Potential solution We have kept the middle polymer fed until the rest of the polymer equilibrates for 10 <sup>5</sup> time steps so as to allow the polymer to equilibrate well before the translocation starts. Problem 2 Averaging of the translocation events to get satisfactory statistics (related to Steps 19, 20, and 21 in step-by-step method details). #### ll ##### Protocol OPEN ACCESS Potential solution As translocation is a stochastic process, averaging over a bigger number of ensembles can solve this problem. For example, for the 1000 ensemble average, we get approximately 750 successful translocations. So, the more the averaging, the more precise the statistics of probability and time. Problem 3 Optimization of pore size in the middle of the wall (step-by-step method details, Step 18a.ii). Potential solution As the reflective boundary of the box may affect the dynamics, optimizing the box size is crucial. Dimensions of the box have been taken big enough so that the polymer does not feel any effect from the box size. We have checked the effect of the box size for different scaling parameters, such as the translocation time, probability, and MSD (t). It matches the experiments and analytical regime. Problem 4 Optimization of the appropriate box size (step-by-step method details, Step 18a.i). Potential solution As the reflective boundary of the box may affect the dynamics, optimizing the box size is crucial. Dimensions of the box have been taken big enough so that the polymer does not feel any effect from the box size. We have checked the effect of the box size for different scaling parameters, such as the translocation time, probability, and MSD (t). It matches the experiments and analytical regime. Problem 5 Opting for adequate value of simulation parameters such as the damping coefficients, temperature, maximum allowed separation between each monomer and spring constant for the FENE potential (related to Step 3 and Step7 in step-by-step method details). Potential solution For a comprehensive understanding of the simulation development, the adequate value of the key parameters and arguments is of paramount importance. These parameters are of utmost importance when dealing with the medium and the interaction between the polymer monomers. We have provided the following values: x = 0.7, T = 1.2, R0 = 1.5, k = 30. Problem 6 Bad FENE bond errors (step-by-step method details, Step 15). Potential solution The ‘‘bad FENE bond’’ error occurs when the distance between two bonded atoms or particles becomes too large, exceeding the maximum extension of the bond. When this happens, the FENE bond potential becomes infinite, which can cause the simulation to crash or produce invalid results. This can be solved by setting a maximum bond length between the two atoms. Keeping the atoms in the polymer at an equilibrium distance the same as that of the monomer size, i.e., 1.0s in the input file, fixed this issue. Another way to avoid the ‘‘bad FENE bond’’ error is to reduce the time step. Problem 7 Criteria of potential selection in different scenarios (step-by-step method details, Step 3). Potential solution Depending on the requirement of the model and system, different potentials can be used, such as FENE, harmonic, hybrid, coulomb, charm, etc. Criteria of potential selection are dependent on the needs of the system. #### ll ##### OPEN ACCESS Protocol - FENE potential describes the bond as a spring with a maximum extension, beyond which the bond is assumed to break. This allows for the simulation of bond breaking, which is essential in many systems, such as polymers or proteins. - Harmonic potential is used when more rigidity of bond between the atoms is needed, such as atoms in walls, hydrogel, and polymer networks. - Coulomb potential is used in the case of charged polymers, and Soft potential is used for pushing apart overlapping atoms as it does not blow up as the distance between atoms goes to zero. Problem 8 Why is FENE potential preferred over the other potentials in our model? (step-by-step method details, Step 3). Potential solution We have used FENE potential for the following reasons: - The FENE (finitely extensible nonlinear elastic) bond potential is a type of bond potential used to model the interactions between atoms or particles that are bonded together. It is a simple model widely used in molecular dynamics simulations to describe the behavior of polymeric materials, such as polymers, proteins, and gels. - The FENE bond potential is a nonlinear model that describes the bond as a spring with a maximum extension, beyond which the bond is assumed to break. - The FENE bond potential more accurately describes the behavior of real bonds, which tend to become weaker and more elastic as they are stretched. This can be important for simulating the mechanical properties of materials. RESOURCE AVAILABILITY Lead contact Further information and requests for resources and reagents should be directed to the lead contact, Surya K. Ghosh [(skghosh@nitw.ac.in).](mailto:skghosh@nitw.ac.in) Technical contact Technical questions on executing this protocol should be directed to the technical contact, Vrinda Garg [(vrinda.jdk@](mailto:vrinda.jdk@gmail.com) [gmail.com).](mailto:vrinda.jdk@gmail.com) Materials availability This study did not generate new unique reagents. Data and code availability - All the original codes needed to simulate the system have been provided in the manuscript. - Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request. ACKNOWLEDGMENTS We would like to thank Radha Ramana for the useful discussion and valuable input. We acknowledge the LAMMPS community, which has been instrumental in developing the model. S.K.G. would like to thank MATRICS, SERB, DST (project no. MTR/2022/000833) for funding. We want to acknowledge NIT Warangal for the research seed funds. AUTHOR CONTRIBUTIONS Conceptualization, V.G., R.M., A.C., and S.K.G.; software, V.G. and R.M.; investigation, V.G., R.M., and S.K.G.; data curation, V.G. and R.M.; writing – review and editing, V.G., R.M., A.C., and S.K.G.; supervision, S.K.G. DECLARATION OF INTERESTS The authors declare no competing interests. #### ll ##### Protocol OPEN ACCESS REFERENCES 1. Garg, V., Mathew, R., Ibrahim, R., Singh, K., and Ghosh, S.K. (2024). Crowding induced switching of polymer translocation by the amalgamation of entropy and osmotic [pressure. iScience 27, 109348. https://doi.org/](https://doi.org/10.1016/j.isci.2024.109348) [10.1016/j.isci.2024.109348.](https://doi.org/10.1016/j.isci.2024.109348) 2. Gopinathan, A., and Kim, Y.W. (2007). Polymer translocation in crowded environments. Phys. [Rev. Lett. 99, 228106. https://doi.org/10.1103/](https://doi.org/10.1103/PhysRevLett.99.228106) [PhysRevLett.99.228106.](https://doi.org/10.1103/PhysRevLett.99.228106) 3. Ali, I., and Yeomans, J.M. (2005). Polymer translocation: The effect of backflow. J. Chem. [Phys. 123, 234903. https://doi.org/10.1063/1.](https://doi.org/10.1063/1.2138702) [2138702.](https://doi.org/10.1063/1.2138702) 4. Singh, K., Ghosh, S.K., Kumar, S., and Sain, A. (2013). Stretching-force–dependent transitions in single-stranded DNA. Europhys. Lett. 100, [68004. https://doi.org/10.1209/8240295-5075/](https://doi.org/10.1209/8240295-5075/100/68004) [100/68004.](https://doi.org/10.1209/8240295-5075/100/68004) 5. Sharma, A., Kapri, R., and Chaudhuri, A. (2022). Driven translocation of a semi-flexible polymer through a conical channel in the presence of attractive surface interactions. Sci. Rep. 12, [19081. https://doi.org/10.1038/s41598-022-](https://doi.org/10.1038/s41598-022-21845-6) [21845-6.](https://doi.org/10.1038/s41598-022-21845-6) 6. Polson, J.M., and Heckbert, D.R. (2019). Polymer translocation into cavities: Effects of confinement geometry, crowding, and bending rigidity on the free energy. Phys. Rev. [E 100, 012504. https://doi.org/10.1103/](https://doi.org/10.1103/PhysRevE.100.012504) [PhysRevE.100.012504.](https://doi.org/10.1103/PhysRevE.100.012504) 7. Lehtola, V.V., Linna, R.P., and Kaski, K. (2010). Unforced polymer translocation compared to [the forced case. Phys. Rev. 81, 031803. https://](https://doi.org/10.1103/PhysRevE.81.031803) [doi.org/10.1103/PhysRevE.81.031803.](https://doi.org/10.1103/PhysRevE.81.031803) 8. Buyukdagli, S., Sarabadani, J., and Ala-Nissila, T. (2019). Theoretical modeling of polymer translocation: From the electrohydrodynamics of short polymers to the fluctuating long [polymers. Polymers 11, 118. https://doi.org/10.](https://doi.org/10.3390/polym11010118) [3390/polym11010118.](https://doi.org/10.3390/polym11010118) 9. Maitra Roy, S., Barman, S., Kishore, P., Chatterjee, B., Bag, P., Ghatak, T., Basu, A., Ghosh, S.K., Dirisala, A., Sarkar, A.K., et al. (2023). Acidic pH-Triggered Release of Doxorubicin from Ligand-Decorated Polymeric Micelles Potentiates Efficacy against Cancer Cells. ACS Appl. Nano Mater. 6, 18988–18998. [https://doi.org/10.1021/acsanm.3c03481.](https://doi.org/10.1021/acsanm.3c03481) 10. Roy, S.M., Garg, V., Barman, S., Ghosh, C., Maity, A.R., and Ghosh, S.K. (2021). Kinetics of nanomedicine in tumor spheroid as an in vitro model system for efficient tumor-targeted drug delivery with insights from mathematical models. Front. Bioeng. Biotechnol. 9, 785937. [https://doi.org/10.3389/fbioe.2021.785937.](https://doi.org/10.3389/fbioe.2021.785937) 11. Roy, S.M., Garg, V., Sivaraman, S.P., Barman, S., Ghosh, C., Bag, P., and Maity, A.R. (2023). Overcoming the barriers of nuclear-targeted drug delivery using nanomedicine-based strategies leads to an enhanced anticancer therapy. J. Drug Deliv. Sci. Technol. 83, 104408. [https://doi.org/10.1016/j.jddst.2023.104408.](https://doi.org/10.1016/j.jddst.2023.104408) 12. Afrasiabian, N., and Denniston, C. (2020). The journey of a single polymer chain to a [nanopore. Soft Matter 16, 9101–9112. https://](https://doi.org/10.1039/D0SM01045F) [doi.org/10.1039/D0SM01045F.](https://doi.org/10.1039/D0SM01045F) 13. Muthukumar, M. (2016). Polymer Translocation (CRC Press). Chapter title: Confinement, Entropic Barrier, and Free Energy Landscape. [https://doi.org/10.1201/b10901.](https://doi.org/10.1201/b10901) 14. Chen, Y., and Luo, K. (2013). Dynamics of polymer translocation through a nanopore induced by different sizes of crowding agents. [J. Chem. Phys. 138, 204903. https://doi.org/10.](https://doi.org/10.1063/1.4807088) [1063/1.4807088.](https://doi.org/10.1063/1.4807088) 15. Alexander, S. (2010). Visualization and analysis of atomistic simulation data with OVITO–the Open Visualization Tool. Model. Simulat. [Mater. Sci. Eng. 18, 015012. https://doi.org/10.](https://doi.org/10.1088/0965-0393/18/1/015012) [1088/0965-0393/18/1/015012.](https://doi.org/10.1088/0965-0393/18/1/015012) 16. Sung, W., and Park, P.J. (1996). Polymer translocation through a pore in a membrane. [Phys. Rev. Lett. 77, 783–786. https://doi.org/10.](https://doi.org/10.1103/PhysRevLett.77.783) [1103/PhysRevLett.77.783.](https://doi.org/10.1103/PhysRevLett.77.783) 17. Thompson, A.P., Aktulga, H.M., Berger, R., Bolintineanu, D.S., Brown, W.M., Crozier, P.S., in’t Veld, Pieter J., Kohlmeyer, A., Moore, S.G., Nguyen, T.D., et al. (2022). LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales. Comput. Phys. Commun. 271, 108171. [https://doi.org/10.1016/j.cpc.2021.108171.](https://doi.org/10.1016/j.cpc.2021.108171) 18. Dias, C.S. (2021). Molecular Dynamics Simulations of Active Matter using LAMMPS. [Preprint at arXiv. 2102.10399. https://doi.org/](https://doi.org/10.48550/arXiv.2102.10399) [10.48550/arXiv.2102.10399.](https://doi.org/10.48550/arXiv.2102.10399) 19. Pang, T. (2006). An Introduction to Computational Physics (Cambridge University Press). Chapter title: Molecular dynamics [simulations. https://doi.org/10.1017/](https://doi.org/10.1017/CBO9780511800870) [CBO9780511800870.](https://doi.org/10.1017/CBO9780511800870) 20. Mubin, S., Li, J., and Plimpton, S. (2021). Extending and Modifying LAMMPS Writing Your Own Source Code. In Sections Title: Getting Started with LAMMPS, Understanding [the Source Code Structure, 1st ed.. https://](https://www.perlego.com/book/2294490/extending-and-modifying-lammps-writing-your-own-source-code-pdf) [www.perlego.com/book/2294490/](https://www.perlego.com/book/2294490/extending-and-modifying-lammps-writing-your-own-source-code-pdf) [extending-and-modifying-lammps-writing-](https://www.perlego.com/book/2294490/extending-and-modifying-lammps-writing-your-own-source-code-pdf) [your-own-source-code-pdf.](https://www.perlego.com/book/2294490/extending-and-modifying-lammps-writing-your-own-source-code-pdf) 21. Ghosh, S.K., Singh, K., and Sain, A. (2009). Effect of intrinsic curvature on semi-flexible [polymers. Phys. Rev. E 80, 051904. https://doi.](https://doi.org/10.1103/PhysRevE.80.051904) [org/10.1103/PhysRevE.80.051904.](https://doi.org/10.1103/PhysRevE.80.051904) 22. Muthukumar, M., and Baumga¨rtner, A. (1989). Effects of entropic barriers on polymer dynamics. Macromolecules 22, 1937–1941. [https://doi.org/10.1021/ma00194a070.](https://doi.org/10.1021/ma00194a070)

섹션 본문

섹션 본문이 없습니다.

참고문헌 21건

  1. Effect of intrinsic curvature on semiflexible polymers Physical Review E · American Physical Society · 2009 10.1103/physreve.80.051904
  2. Unforced polymer translocation compared to the forced case Physical Review E · American Physical Society · 2010 10.1103/physreve.81.031803
  3. Stretching-force–dependent transitions in single stranded DNA EPL (Europhysics Letters) · Institute of Physics · 2012 10.1209/0295-5075/100/68004
  4. Dynamics of polymer translocation through a nanopore induced by different sizes of crowding agents The Journal of Chemical Physics · American Institute of Physics · 2013 10.1063/1.4807088
  5. Polymer Translocation through a Pore in a Membrane Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.783
  6. An introduction to computational physics Choice Reviews Online · Association of College and Research Libraries · 2006 10.5860/choice.44-0987
  7. Visualization and analysis of atomistic simulation data with OVITO–the Open Visualization Tool Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2009 10.1088/0965-0393/18/1/015012
  8. Polymer translocation: The effect of backflow The Journal of Chemical Physics · American Institute of Physics · 2005 10.1063/1.2138702
  9. Polymer Translocation in Crowded Environments Physical Review Letters · American Physical Society · 2007 10.1103/physrevlett.99.228106
  10. Effects of entropic barriers on polymer dynamics Macromolecules · American Chemical Society · 1989 10.1021/ma00194a070
  11. Theoretical Modeling of Polymer Translocation: From the Electrohydrodynamics of Short Polymers to the Fluctuating Long Polymers Polymers · Multidisciplinary Digital Publishing Institute · 2019 10.3390/polym11010118
  12. Polymer translocation into cavities: Effects of confinement geometry, crowding, and bending rigidity on the free energy Physical review. E · American Physical Society · 2019 10.1103/physreve.100.012504
  13. The journey of a single polymer chain to a nanopore Soft Matter · Royal Society of Chemistry · 2020 10.1039/d0sm01045f
  14. Molecular Dynamics Simulations of Active Matter using LAMMPS arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2102.10399
  15. 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
  16. Kinetics of Nanomedicine in Tumor Spheroid as an In Vitro Model System for Efficient Tumor-Targeted Drug Delivery With Insights From Mathematical Models Frontiers in Bioengineering and Biotechnology · Frontiers Media · 2021 10.3389/fbioe.2021.785937
  17. Driven translocation of a semiflexible polymer through a conical channel in the presence of attractive surface interactions Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-21845-6
  18. Polymer Translocation Chinese Journal of Polymer Science · Springer Nature · 2023 10.1007/s10118-023-2975-6
  19. Acidic pH-Triggered Release of Doxorubicin from Ligand-Decorated Polymeric Micelles Potentiates Efficacy against Cancer Cells ACS Applied Nano Materials · American Chemical Society · 2023 10.1021/acsanm.3c03481
  20. Crowding induced switching of polymer translocation by the amalgamation of entropy and osmotic pressure iScience · Cell Press · 2024 10.1016/j.isci.2024.109348
  21. Extending and Modifying LAMMPS Writing Your Own Source Code CERN Document Server (European Organization for Nuclear Research) · European Organization for Nuclear Research · 2021