Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
2d_rdfs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 2d_rdfs [2022/11/07 08:44] – admin | 2d_rdfs [2026/09/24 00:24] (current) – [1) Edit Necessary Files] edit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | [[Analysis]] | + | {{: |
| - | **Brief instructions to obtain 2D radial distribution function (RDF)**\\ | + | =====Brief instructions to obtain 2D radial distribution function (RDF)===== |
| - | Authors: Xiaohong Zhuang, Viviana Monje, Dr. Jeffery B. Klauda | + | Authors: Xiaohong Zhuang, Viviana Monje, Dr. Jeffery B. Klauda\\ |
| + | Refactored by Eric Zhang (2026): handles any membrane system | ||
| - | This is the brief instructions to calculate the radial distribution function (RDF), also known as a pair correlation function. | + | These are the brief instructions to calculate the radial distribution function (RDF), also known as a pair correlation function. |
| - | + | ||
| - | Downloaded Scripts: {{ :2d-rdf.tar.gz |}} | + | |
| + | Legacy Scripts: {{ : | ||
| **Note**: The example is made in DT2. It is provided for reference purpose. | **Note**: The example is made in DT2. It is provided for reference purpose. | ||
| - | The scripts are on ZT1 path: **/ | + | The legacy |
| + | |||
| + | Modern Python Scripts: {{ : | ||
| + | =====Legacy Bilayer 2D RDF Workflow===== | ||
| === Part I. === | === Part I. === | ||
| Line 112: | Line 115: | ||
| 8. The final averaged RDF data are in rdf.dat file, Plot the data with RDF vs. radial distance r. | 8. The final averaged RDF data are in rdf.dat file, Plot the data with RDF vs. radial distance r. | ||
| + | =====Modern Python 2D RDF Workflow===== | ||
| + | This workflow automates the entire process and runs much faster. If any steps aren't clear, reach out to ezhang32@umd.edu. | ||
| + | |||
| + | ====1) Edit Necessary Files==== | ||
| + | a) Open '' | ||
| + | < | ||
| + | # Example config_dict: | ||
| + | config_dict = { | ||
| + | ' | ||
| + | ' | ||
| + | } | ||
| + | |||
| + | # corresponding custom_grouping_dict which handles non-memb lipids like LLL, where LLL is grouped under an arbitrary label called OL | ||
| + | custom_grouping_dict = { | ||
| + | ' | ||
| + | } | ||
| + | |||
| + | # Example of a simple POPE/POPG membrane which have segid MEMB because they are native lipids | ||
| + | config_dict = { | ||
| + | ' | ||
| + | } | ||
| + | |||
| + | # corresponding custom_grouping_dict which is empty since you only have normal memb lipids | ||
| + | custom_grouping_dict = { | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ====2) Run Scripts==== | ||
| + | a) Run '' | ||
| + | b) Run '' | ||
| + | c) Once the slurm job finishes, run '' | ||
2d_rdfs.1667828672.txt.gz · Last modified: 2022/11/07 08:44 by admin