Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
comp-sa
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| comp-sa [2026/08/23 17:23] – edit | comp-sa [2026/09/03 09:56] (current) – [Step 1: edit config.py] edit | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Updated Authors: Yalun Yu and Jeffery Klauda\\ | Updated Authors: Yalun Yu and Jeffery Klauda\\ | ||
| Updated rtfpsf folder: Joshua Lucker \\ | Updated rtfpsf folder: Joshua Lucker \\ | ||
| - | Completely refactored, supports any membrane: Eric Zhang (IN PROGRESS) | + | Completely refactored, supports any membrane: Eric Zhang |
| All new users should use the modern Python workflow. It is highly customizable, | All new users should use the modern Python workflow. It is highly customizable, | ||
| Line 167: | Line 167: | ||
| Check that the system go to equilibrium by comparing the distribution data, and adjust the dyn file range when necessary. Also check the distribution, | Check that the system go to equilibrium by comparing the distribution data, and adjust the dyn file range when necessary. Also check the distribution, | ||
| - | ** Modern Python Workflow (IN PROGRESS) **\\ | + | =====Modern Python Workflow===== |
| + | This workflow is designed to work for any symmetric, asymmetric membrane system. The current copy available for download has predefined inputs for Charmm' | ||
| + | |||
| + | Note: anytime you run into "no permission" | ||
| + | |||
| + | ====Step 1: edit config.py==== | ||
| + | |||
| + | Open '' | ||
| + | |||
| + | I embedded a lot of error handling in the scripts, so don't worry too much about precision if something isn't clear. | ||
| + | |||
| + | Example Membrane with just POPE/POPG lipids | ||
| + | < | ||
| + | config_dict = { | ||
| + | ' | ||
| + | } | ||
| + | |||
| + | # ignore the current config_dict in the files with lipids like ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====Step 2: run scripts==== | ||
| + | First, run '' | ||
| + | |||
| + | Next, if you left " | ||
| + | |||
| + | Next, run '' | ||
| + | |||
| + | Finally, run '' | ||
| + | < | ||
| + | leaflet resn N_lip Avg_SA | ||
| + | Top AIPE 113 58.3686 | ||
| + | Top AMPG 25 61.0204 | ||
| + | Top LLL 62 52.8182 | ||
| + | Bot AIPE 105 58.2105 | ||
| + | Bot AMPG 37 59.9090 | ||
| + | Bot LLL 58 52.8821 | ||
| + | |||
| + | N_blocks: 20 | ||
| + | N_comp_top: 3 | ||
| + | N_lip_top: 200 | ||
| + | N_comp_bot: 3 | ||
| + | N_lip_bot: 200 | ||
| + | Comp_SA_sum_top: | ||
| + | Comp_SA_sum_bot: | ||
| + | Total_bilayer_SA: | ||
| + | |||
| + | Weighted average across leaflets (by N_lip): | ||
| + | resn N_lip_total | ||
| + | AIPE 218 58.2925 | ||
| + | AMPG 62 60.3571 | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ====Additional Info==== | ||
| + | At a high level, here's what the scripts are doing. Also, I highly recommend you watch a video on Voronoi tessellation so you can visually understand how the areas are computed. | ||
| + | |||
| + | **config.py** | ||
| + | System definition: segid/ | ||
| + | |||
| + | **0_setup.py** | ||
| + | Reads config.py, validates required CHARMM/dyn files, resolves marker atoms per lipid from marker_map, splits the dcd range into blocks, writes system_info.txt. Generates comp_sa.csh from src/ | ||
| + | |||
| + | **system_info.txt** | ||
| + | Generated configuration file consumed by all downstream steps: dcd range, marker dictionary, block assignments, | ||
| + | |||
| + | **CHARMM recentering** | ||
| + | Recenters raw dcds so the bilayer midplane sits at z=0; output written to recenter/. Runs outside this pipeline; all downstream steps assume it has already been done. | ||
| + | |||
| + | **1_comp_sa.scr** | ||
| + | SLURM submission wrapper. Reads block boundaries from system_info.txt, | ||
| + | |||
| + | **comp_sa.csh** | ||
| + | SLURM job script. Sets up the run environment (venv/ | ||
| + | |||
| + | **src/ | ||
| + | Core computation. Per dcd: loads marker atoms, splits into top/bot leaflets, runs periodic 2D Voronoi tessellation, | ||
| + | |||
| + | **2_analysis.py** | ||
| + | Final averaging step. Reads all raw_voronoi_*.dat files, block-averages each dcd, computes mean/ | ||
comp-sa.1787520222.txt.gz · Last modified: 2026/08/23 17:23 by edit