Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
secondary_structure_vs_time
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| secondary_structure_vs_time [2021/11/07 19:37] – [Steps] edit | secondary_structure_vs_time [2025/11/06 07:20] (current) – [Python Version] edit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **Secondary Structure using DSSP** | + | **Secondary Structure using STRIDE** |
| + | |||
| + | Update 2025: An alternate version using Python is available at the end of the page - Abhi Senthilkumar | ||
| The code is adopted and changed from the following script for secondary structure calculation in VMD. | The code is adopted and changed from the following script for secondary structure calculation in VMD. | ||
| Line 15: | Line 17: | ||
| - this will give you multiple .dat files containing the secondary structure in each trajectory. you can combine these into a single secondary_structure file for further analysis.This can be done by the following code: | - this will give you multiple .dat files containing the secondary structure in each trajectory. you can combine these into a single secondary_structure file for further analysis.This can be done by the following code: | ||
| - | for i in {1..40};do | + | for i in {1..40};do |
| + | sed ' | ||
| + | | ||
| + | |||
| + | the line sed ' | ||
| + | |||
| + | |||
| + | To visualize the secondary structure you can use the Matlab file ss_content.m you need to change a few things in this file: num_residues, | ||
| - | sed ' | ||
| - | done | + | {{: |
| + | ===== Python Version ===== | ||
| + | - Download {{ : | ||
| + | - Install MDAnalysis, matplotlib, and pandas packages for Python if you haven' | ||
| + | - Run '' | ||
| + | - Edit '' | ||
| + | - Run '' | ||
| + | | ||
secondary_structure_vs_time.1636331832.txt.gz · Last modified: 2021/11/07 19:37 by edit