Full text
14,748 characters
· extracted from
preprint-html
· click to expand
MembraneBuilder: High-speed membrane construction for large molecular dynamics simulations | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results MembraneBuilder: High-speed membrane construction for large molecular dynamics simulations View ORCID Profile Cayson Hamilton , Gus Hart doi: https://doi.org/10.1101/2025.11.20.689436 Cayson Hamilton 1 Brigham Young University Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Cayson Hamilton For correspondence: hamilton.cayson{at}gmail.com Gus Hart 1 Brigham Young University Find this author on Google Scholar Find this author on PubMed Search for this author on this site Abstract Full Text Info/History Metrics Preview PDF 1 Summary Membrane building and embedding of proteins into a membrane is a crucial step in preparing a simulation for Molecular Dynamics (MD). When an MD simulation contains several million atoms, embedding the protein into a membrane becomes computationally expensive. MembraneBuilder [ 1 ] speeds up the generation of these membranes by simplifying the lipid insertion process, which allows membranes to be generated for these larger systems. Realistic lipid densities and elimination of infinite forces caused by overlapping atoms are achieved at a low computational cost. See Figure 1 for specific time comparisons. The comparisons emphasize that not only does MembraneBuilder run orders of magnitude faster than state-of-the-art programs [ 2 , 3 , 4 ], it enables generation of systems several orders of magnitude larger. MembraneBuilder enables customizable embedding of proteins into a membrane. Users can modify lipid types and their ratios, the location to insert the membrane, the size of the membrane box, as well as the lipid density. The program reduces the computational time required to perform a membrane embedding by bypassing many of the computationally expensive steps, such as identification of polar/non-polar sections of the protein and exhaustive packing of the lipids into the membrane with the intent to avoid steric clashes. Efficient packing begins with constricting the lipid bonds by a given factor in x, y , and z directions before inserting them on a grid. Grid spacing is determined by the width of the constricted lipids. The grid spacing is smaller than in other lipid-generation tools due to the constriction process. The constricted bonds will relax and the lipids will assume realistic interweaving during energy minimization and equilibration. 2 Statement of Need Molecular dynamics is a method to explore the mechanistic interactions of molecules and proteins and test hypotheses regarding their structure and function. For these systems to accurately represent the environment they simulate, they need to have similar molecular structures. Obviously, this is the case with membrane proteins, which are of significant importance in the field of molecular dynamics. Obtaining accurate lipid ratios, densities, and placement is important to accurately reflect the cellular system. Download figure Open in new tab Figure 1: Speed Analysis: Comparison between the amount of time taken to run MembraneBuilder and CHARMM-GUI with varying protein sizes and their requisite amount of lipids. Note that the x and y scales are on a log scale, which further emphasizes the efficiency of MembraneBuilder. While standard membrane building tools are effective when working with small systems, they fail when dealing with large systems that require insertion of more lipids. Larger systems cause issues due to packing irregularities or artifacts, incorrect periodic boundary conditions, user interface crashes, or lack of sufficient computational resources. Even if membrane generation is successful, it may take days to weeks to complete and may contain steric clashes making MD impossible. In most cases, large systems cannot even be processed. CHARMM-GUI [ 2 , 3 , 4 ], the most common membrane builder, can only process files smaller than 100 MB or containing less than 3 million atoms [ 5 ]. Most importantly, MembraneBuilder can process large systems efficiently while avoiding steric clashes. Beyond that, MembraneBuilder provides options to customize lipid ratios, densities, and location. We have built a membrane system with 14 million atoms and the simulations of the system run without error. [ 6 ]. 3 Methodology The core algorithm centers around the idea of compressing atom positions within the lipid to reduce the amount of space each lipid occupies, allowing insertion of more lipids in the same space with no overlapping atoms (avoiding steric clashes). The lipids are constricted by two user-defined factors, one for compression in the x - y plane and another in z direction. An example constriction is shown for the POPE lipid in Figure 2 . Panel B shows that the lipid has the same topology, just constrained to a smaller volume, allowing for tighter packing. Download figure Open in new tab Figure 2: Lipid Constriction: (A) POPE in the unconstricted configuration. (B) POPE constricted by 0.55 in the x - y directions and stretched by 1.1 in the z direction. In addition to lipid-lipid steric clashes, the algorithm avoids lipid-protein clashes with the membrane protein. The first step is generating a representation of the 3D space the protein occupies. This is done by identifying the maximum and minimum x and y values at 2 Å intervals moving up the z -axis. These computations are done before lipid insertion to reduce computational demand later in the process. Lipid insertion then begins at the specified z -coordinate and at (− [ BoxSize/ 2], − [ BoxSize/ 2]) in the ( x, y ) plane (the protein must be centered prior to running MembraneBuilder ). After a lipid is inserted, the insertion moves the exact width of the inserted lipids plus a customizable buffer, which can be adjusted to customize lipid density. Once the insertion reaches the x coordinate corresponding to the defined box size, x is reset and y is adjusted by the maximum width of all the lipids being inserted. This process continues until both x and y reach the box size. Then, the lipids are reflected across the x - y plane, moved upwards in the z -direction by a specified buffer, and the process repeats to generate the second leaflet. The buffer between lipids can be adjusted to allow for more or less extreme constriction of the lipids while continuing to avoid clashes. Before any lipid is inserted into the system, the maximum and minimum x and y protein coordinates are retrieved from the pre-computed values for the positions of the center, highest, and lowest atoms in the lipid. If the coordinates of any of these three spots on the lipid have an x or y coordinate that is smaller than the maximum value and greater than the minimum value (they overlap the protein), the lipid is not inserted, and insertion moves to the next position. This process greatly reduces likelihood of steric clashes in the generated membrane configuration, and performs the insertion in a very timely manner. An example insertion can be seen in Figure 3 , which was used in research performed on the Legionella pneumophila Type IV Secretion System (T4SS) [ 6 ]. The lattice pattern is clearly visible, an effect which disappears once energy minimization and equilibration have been run and the system moves towards its natural configuration. Download figure Open in new tab Figure 3: Membrane System: (A) Angled view of system. (B) Bottom up view of system. (C) Side view of system. 4 Dependencies The program is available as a python package [ 1 ]. GROMACS [ 7 ] must be installed and accessible to your system via the command line gmx . References [1]. ↵ Cayson Hamilton . Membranebuilder: Code for embedding proteins in a membrane, especially for large systems . https://github.com/caysonjh/MembraneBuilder , 2025 . Accessed: 2025-09-22 . [2]. ↵ Sunhwan Jo , Taehoon Kim , Vishwanath G Iyer , and Wonpil Im . Charmm-gui: A web-based graphical user interface for charmm . Journal of Computational Chemistry , 29 : 1859 – 1865 , 2008 . OpenUrl CrossRef PubMed [3]. ↵ Sunhwan Jo , Jong Bhak Lim , Jeffery B Klauda , and Wonpil Im . Charmm-gui membrane builder for mixed bilayers and its application to yeast membranes . Biophysical Journal , 97 : 50 – 58 , 2009 . OpenUrl CrossRef PubMed Web of Science [4]. ↵ Eun Lee Wu , Xiaolin Cheng , Sunhwan Jo , Hairong Rui , Kyu Chul Song , Efraín M Dávila-Contreras , Yifei Qi , Jumin Lee , Veronica Monje-Galvan , Richard M Venable , Jeffery B Klauda , and Wonpil Im . Charmm-gui membrane builder toward realistic biological membrane simulations . Journal of Computational Chemistry , 35 : 1997 – 2004 , 2014 . OpenUrl CrossRef PubMed [5]. ↵ CHARMM-GUI Development Team . CHARMM-GUI Q&A: Common Issues and Limits . https://charmm-gui.org/?doc=qa , 2025 . Accessed: 2025-09-22 . [6]. ↵ Przemyslaw Dutka , Yuxi Liu , Stefano Maggi , Debnath Ghosal , Jue Wang , Stephen D. Carter , Wei Zhao , Sukhithasri Vijayrajratnam , Joseph P. Vogel , and Grant J. Jensen . Structure and function of the dot/icm t4ss . bioRxiv [Preprint] , Mar 2023 . [7]. ↵ Mark J. Abraham , Teemu Murtola , Roland Schulz , Szilárd Páll , Jeremy C. Smith , Berk Hess , and Erik Lindahl . Gromacs: High performance molecular simulations through multi-level parallelism from laptops to supercomputers . SoftwareX , 1-2 : 19 – 25 , 2015 . OpenUrl View the discussion thread. Back to top Previous Next Posted November 20, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following MembraneBuilder: High-speed membrane construction for large molecular dynamics simulations Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share MembraneBuilder: High-speed membrane construction for large molecular dynamics simulations Cayson Hamilton , Gus Hart bioRxiv 2025.11.20.689436; doi: https://doi.org/10.1101/2025.11.20.689436 Share This Article: Copy Citation Tools MembraneBuilder: High-speed membrane construction for large molecular dynamics simulations Cayson Hamilton , Gus Hart bioRxiv 2025.11.20.689436; doi: https://doi.org/10.1101/2025.11.20.689436 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Biophysics Subject Areas All Articles Animal Behavior and Cognition (7629) Biochemistry (17660) Bioengineering (13881) Bioinformatics (41910) Biophysics (21436) Cancer Biology (18576) Cell Biology (25480) Clinical Trials (138) Developmental Biology (13368) Ecology (19887) Epidemiology (2067) Evolutionary Biology (24302) Genetics (15598) Genomics (22482) Immunology (17726) Microbiology (40360) Molecular Biology (17163) Neuroscience (88534) Paleontology (666) Pathology (2830) Pharmacology and Toxicology (4821) Physiology (7637) Plant Biology (15129) Scientific Communication and Education (2045) Synthetic Biology (4290) Systems Biology (9817) Zoology (2269)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.