Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
surface_area_of_lipid
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| surface_area_of_lipid [2021/05/25 14:13] – admin | surface_area_of_lipid [2026/09/20 00:36] (current) – refactored_scripts edit | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== Overall Average SA/Lipid ==== | ==== Overall Average SA/Lipid ==== | ||
| - | (authors: Xiaohong Zhuang & Jeffery Klauda) | + | (authors: Xiaohong Zhuang & Jeffery Klauda)\\ |
| + | Refactored by Eric Zhang (2026) | ||
| === Introduction === | === Introduction === | ||
| - | This simple analysis is used to estimate the overall average surface area (SA) per lipid. If you are analyzing a single component membrane then this is equivalent to the component' | + | This simple analysis is used to estimate the overall average surface area (SA) per lipid. If you are analyzing a single component membrane then this is equivalent to the component' |
| - | Those at UMD should use the DT2 path: **/lustre/ | + | Old scripts: |
| + | Those at UMD should use the ZT1 path: **/afs/ | ||
| + | Outside of UMD a sample script is given in the gzip file: {{ : | ||
| + | Example of analysis result in an Excel File: {{ : | ||
| - | Outside of UMD a sample script is given in the gzip file: {{ :area_1_lipid.gz |}} | + | Modern Python Scripts:\\ |
| + | {{ :: | ||
| - | Example of analysis result in an Excel File: {{ : | + | === Old Script |
| - | + | ||
| - | === Instructions === | + | |
| 1. Copy the folder // | 1. Copy the folder // | ||
| Line 82: | Line 85: | ||
| The example states that you want to do the averages from the last 20 dyn*dcd files. Let's say you have 50 dyn*.dcd files, then the first 30 files are ignored. If each file had 2ns of data, then you are calculating the average from 60-100ns. | The example states that you want to do the averages from the last 20 dyn*dcd files. Let's say you have 50 dyn*.dcd files, then the first 30 files are ignored. If each file had 2ns of data, then you are calculating the average from 60-100ns. | ||
| - | 3.2 Calculate the block-average surface areas by command: '' | + | 3.2 Calculate the block-average surface areas by command: '' |
| **Note: **For //#define MAX_R 1000000// | **Note: **For //#define MAX_R 1000000// | ||
| Line 88: | Line 91: | ||
| As you can see, the output average area data are saved in // | As you can see, the output average area data are saved in // | ||
| - | 4. Calculate averages, sample standard deviation, and standard error of block averages by command: '' | + | 3.3 Standard Errors from Block Average |
| + | |||
| + | Calculate averages, sample standard deviation, and standard error of block averages by command: '' | ||
| The file // | The file // | ||
| - | ==== Get the equilibrium data (test) | + | ==== Modern Python Script Instructions |
| - | + | These scripts simplify | |
| - | (author: Yalun Yu, email: alanyu17@terpmail.umd.edu / yalun.research@gmail.com) | + | |
| - | + | ||
| - | < Email me if anything is wrong > | + | |
| - | + | ||
| - | This is a brief instruction to obtain the time range of equilibrium (and also the minimum block size can be used for standard error calculation). Based on these, calculation | + | |
| - | + | ||
| - | 1. Install Anaconda (https:// | + | |
| - | a) Download the python3.7 version for Linux [I used the '64-Bit (x86) Installer (652.5 MB)'] | + | |
| - | and put the .sh installer in your home directory (or any other place you can access and execute it) on DT2. | + | |
| - | b) make the .sh file an executable (chmod u+x $NameOfInstaller.sh) | + | |
| - | c) Install by running " | + | |
| - | + | ||
| - | 2. Make sure the Anaconda installation path is included (see below) | + | |
| - | + | ||
| - | In ~/ | + | |
| - | set path = ($HOME/ | + | |
| - | or in ~/.bashrc.mine, add this line: | + | |
| - | | + | |
| - | + | ||
| - | 3. create a conda environment and activate the env. (see conda' | + | |
| - | + | ||
| - | 4. Install the pymbar package. | + | |
| - | conda install -c omnia pymbar | + | |
| - | + | ||
| - | Download the script: {{ : | + | |
| - | + | ||
| - | Change the temperature and number of lipids per leaflet in // | + | |
| - | set temp=323.15 | + | |
| - | set nlip=36 | + | |
| - | Change the initial guess (or your preference) for block size (in ns) and the steps size (in ns) of your output (usually 1ps, but make sure to match your xst freq): | + | === Step 1: Edit '' |
| - | | + | Open '' |
| - | After running // | + | Note: If you have an asymmetric bilayer, just let nlip = # of lipids |
| + | === Step 2: Run Scripts === | ||
| + | Once config.py is populated, run '' | ||
surface_area_of_lipid.1621966406.txt.gz · Last modified: 2021/05/25 14:13 by admin