Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
tilt_angle
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tilt_angle [2016/09/20 21:43] – external edit 127.0.0.1 | tilt_angle [2025/01/17 09:46] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [[Analysis]] | ||
| + | |||
| **Brief instruction to obtain tilt angle distribution** \\ | **Brief instruction to obtain tilt angle distribution** \\ | ||
| - | Xiaohong Zhuang, Viviana Monje, Dr.Jefferry B. Klauda, 9/18/2015\\ | + | Authors: |
| + | Updated: | ||
| - | This brief instruction is used to calculate tilt angle distribution of sterols/ | + | This brief instruction is used to calculate tilt angle distribution of sterols/ |
| - | Or DT2 path: **/ | + | |
| ** | ** | ||
| + | or using zip file: {{ :tilt.gz |}} | ||
| - | The example of the outputs is in the DT2 path: **/ | + | In each sbatch file, the ZT1 charmm are provided. |
| - | + | ||
| - | + | ||
| - | In each sbatch file, the DT1 and DT2 charmm are provided. | + | |
| Copy the scripts folder “tilt” from path highlighted above to your directory that have all the dyn files. | Copy the scripts folder “tilt” from path highlighted above to your directory that have all the dyn files. | ||
| + | 1. Update the // | ||
| - | The following scripts are the example setup used to calculate | + | Copy the toppar.str and the toppar subdirectory from the CHARMM-GUI build directory |
| - | + | ||
| - | + | ||
| - | ====== 1. ====== | + | |
| - | 1.1 Update the // | + | |
| - | Update the path for the topology stream file and the psf and pdb files | + | |
| - | + | ||
| - | + | ||
| - | e.g. | + | |
| - | 1.1 In // | + | |
| - | + | ||
| - | + | ||
| - | 1.2 In the // | + | |
| - | | + | |
| - | by the full path to your CHARMM toppar folder | + | |
| - | e.g. **/ | + | |
| - | + | ||
| - | + | ||
| - | Note: | + | |
| - | “Replace” command in WinSCP would save time to replace the short paths by full path. Since the toppar.str is streamed in the current path, the system will try to find the toppar folder from the current path. So in order to let system to use the correct path of the *rtf and *prm files, | + | |
| 2. Update the // | 2. Update the // | ||
| <code commend> | <code commend> | ||
| - | set top1 = 145 ! first resid of lipid of interest on the top leaflet | + | set rnc = CHL1 ! Update |
| - | set top2 = 165 ! last resid of lipid of interest on the top leaflet | + | set ti = 10 |
| - | set bot1 = 166 ! first resid of lipid of interest on the bottom leaflet | + | set tf = 11 |
| - | set bot2 = 186 ! last resid of lipid of interest on the bottom leaflet | + | set tra = 18 ! Update the value of (first trajectory plus 8) to define unit# to be read |
| - | set lip = 21 ! total number | + | |
| - | set ti = 41 | + | |
| - | set tf = 75 | + | |
| - | set tra = 49 | + | |
| </ | </ | ||
| - | Note: | + | Note:\\ |
| - | a. The resid range can be found in the // | + | a. Choose ti and tf based on the equilibrated data. So if SA/lipid shows that you have equilbration at dyn10 and higher then use ti=10 and tf is the number of DCD files.\\ |
| - | + | b. In this example the sterol | |
| - | + | c. We use @tra=@ti+8 because in tilt.inp, the first unit number is calculated | |
| - | b. The lipid of interest | + | |
| - | c. We use @tra=@ti+8 because in tilt.inp, the first unit number is cacluated | + | |
| … \\ | … \\ | ||
| '' | '' | ||
| Line 62: | Line 37: | ||
| 3. Update the // | 3. Update the // | ||
| - | 1.1 Update the data points per DYN/dcd file\\ | + | 3.1 Update the data points per DYN/dcd file\\ |
| <code commend> | <code commend> | ||
| calc mxs = 10 + 16*100 ! TIME SERIES PER MOLECULE +10 | calc mxs = 10 + 16*100 ! TIME SERIES PER MOLECULE +10 | ||
| - | calc mxt = 1000 * @N ! update first number to data points per DYN file | + | calc mxt = 500 * @N ! update first number to data points per DYN file |
| </ | </ | ||
| - | Note: | + | Note:\\ |
| - | For mxs, it is just used to save space, it depends on the lines of calculation performed (in 1.2 below). It does not need to be exact. Can increase the number | + | For mxs, it depends on the lines of calculation performed (in 1.2 below) |
| - | For mxt, 1000 is # of data points/ | + | For mxt, 500 is # of data points/ |
| - | 1.2 Update the reference atoms to calculate the tilt angles | + | 3.2 Update the reference atoms to calculate the tilt angles |
| Line 85: | Line 60: | ||
| - | Note: | + | Note:\\ |
| MEMB is segid @t is resid (which is based on the resid range of top1, | MEMB is segid @t is resid (which is based on the resid range of top1, | ||
| + | 3.3 Update location of DCD file if needed. | ||
| + | |||
| + | <code commend> | ||
| + | calc u = 8 + @i | ||
| + | open unit @u file read name ../ | ||
| + | incr i by 1 | ||
| + | </ | ||
| + | |||
| + | Update the path for the DCD file if needed. | ||
| 4. Update the //top.inp// and //bot.inp// | 4. Update the //top.inp// and //bot.inp// | ||
| Line 98: | Line 82: | ||
| </ | </ | ||
| - | The variable values in top.inp are the following (which can be found in dist.c file):\\ | + | The variable values in top.inp are the following (which can be found in dist.c file): |
| - | 35000 ! # of total data points/ | + | <code commend> |
| - | 90.10 ! Maximum (value, which is the one step larger than the real maximum (90+0.10)\\ | + | 1000 ! # of total data points/ |
| - | 0 ! Minimum (angle) value\\ | + | 90.10 ! Maximum (value, which is the one step larger than the real maximum (90+0.10) |
| - | t-all-nc1.dat | + | 0 ! Minimum (angle) value |
| - | t-tilt.dat | + | t-all-nc1.dat |
| + | t-tilt.dat | ||
| + | </ | ||
| Note:\\ | Note:\\ | ||
| - | // | + | The only change you likely need is the fist line based on the number of frames per DCD and number of DCD file. The other lines are described here. // |
| Line 117: | Line 103: | ||
| - | 5.1 Update the charm location | + | 5.1 Update the charm location |
| - | # In DT1\\ | + | |
| - | # set chm = **/ | + | <code commend> |
| # In DT2\\ | # In DT2\\ | ||
| - | set chm = **/lustre/xzhuang/ | + | set chm = **/homes/jbklauda/charmm/c43b1/exec/gnu/charmm** \\ |
| + | </ | ||
| + | 5.2 Update the path to where you want to save your final tilt distributions file, it can be a common folder than you want to save all your tilt angle data, or it can be current folder path. | ||
| - | 5.2Update the path to where you want to save your final tilt distributions file, it can be a common folder than you want to save all your tilt angle data, or it can be current folder path. | ||
| - | + | '' | |
| - | '' | + | |
| Line 133: | Line 119: | ||
| - | Note: \\ | + | Note:\\ |
| - | In the following commands, \\ | + | In the following commands: |
| - | # INVOKE CHARMM\\ | + | |
| - | $'' | + | <code commend> |
| - | # GET DISTRIBUTION | + | # INVOKE CHARMM |
| - | # especify last and first tilt data file \\ | + | $'' |
| + | # GET DISTRIBUTION | ||
| + | # especify last and first tilt data file | ||
| '' | '' | ||
| + | </ | ||
| Line 155: | Line 144: | ||
| - | '' | + | '' |
| Line 161: | Line 150: | ||
| - | As shown in the get.scr file, the four variables are \\ | + | As shown in the 1_get.scr file, the four variables are \\ |
| - | 75: Total number of dcd files, which will be value of N in // | + | 2: Total number of dcd files to be read, which will be value of N in // |
| - | 21: last tilt file # which is the # of lipid of interest, \\ | + | 20: last tilt file number, |
| - | 1: first tilt file # \\ | + | 1: first tilt file number |
| - | hypo-b1: name to copy final dat file to common directory \\ | + | chl1: name to copy final dat file to common directory \\ |
| - | After you run '' | + | 7. Submit the job by command: |
| - | 7. Submit the job by command: '' | ||
| //T1.dat …t#.dat and b1.dat … b#.dat// will be obtained, and the final top and bottom leaflet averaged tilt angle distribution is provided in // | //T1.dat …t#.dat and b1.dat … b#.dat// will be obtained, and the final top and bottom leaflet averaged tilt angle distribution is provided in // | ||
| Line 178: | Line 166: | ||
| - | 8.Plot the // | + | 8.Plot the // |
| + | |||
| + | |||
| + | //**Some additional details of the codes here:**// | ||
| - | Additonal note: | + | This section |
| - | (This section | + | |
| Line 192: | Line 182: | ||
| </ | </ | ||
| - | 2. The numbers of 21 and 1 in //get.scr// are defined as the variables | + | 2. The numbers of 20 and 1 in //get.scr// are defined as the variables |
| $2 $3 in the command line in the // | $2 $3 in the command line in the // | ||
| '' | '' | ||
| Line 204: | Line 194: | ||
| because the variable number are defined based on the order of specification when a script is executed. Since 4 variables are specified when gettilt.csh is excecuted by command | because the variable number are defined based on the order of specification when a script is executed. Since 4 variables are specified when gettilt.csh is excecuted by command | ||
| - | '' | + | '' |
tilt_angle.1474422226.txt.gz · Last modified: 2016/11/16 15:42 (external edit)