# DSSP not running

**URL:** <https://gromacs.bioexcel.eu/t/dssp-not-running/3042>\
**Category:** User discussions\
**Tags:** analysis-tools\
**Created:** [October 27, 2021, 10:29am UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042 "2021-10-27T10:29:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![scinikhil](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/scinikhil/32/3483_2.png) [@scinikhil](https://gromacs.bioexcel.eu/u/scinikhil)\
**Post date:** [October 27, 2021, 10:29am UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/1 "2021-10-27T10:29:19Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question  
I am trying to perform DSSP calculation on my laptop with the following specification.  
Processor AMD ryzon 5 4600H. GROMACS Version 2021.2 and version 2020.6.  
Whenever I execute the command gmx do\_dssp it is not running and stays at 0 frame and 0 time. I have tried for the smaller system with less than 10 frames to rule out the possibility of a ‘bulk’ system. The same system running without any issues in another system. I have copied the dssp executable from that system and tried. This resulted in the same condition where it is not running.

Anyone can give me any suggestion, why it is so

---

<div class="post-metadata">

**Author:** ![scinikhil](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/scinikhil/32/3483_2.png) [@scinikhil](https://gromacs.bioexcel.eu/u/scinikhil)\
**Post date:** [October 29, 2021, 8:51am UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/2 "2021-10-29T08:51:27Z")

</div>

I even tried to run this on my nvme ssd, still no hope:  
There are 374 residues in your selected group  
dssp cmd=’/usr/bin/mkdssp -i ddi3musp 2\>/dev/null’  
Reading frame 0 time 0.000  
Back Off! I just backed up ddi3musp to ./#ddi3musp.1#

I can see temp files are generated

---

<div class="post-metadata">

**Author:** ![SSurya](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@SSurya](https://gromacs.bioexcel.eu/u/SSurya)\
**Post date:** [October 29, 2021, 9:36am UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/3 "2021-10-29T09:36:44Z")

</div>

What group you are selecting?  
for me Main-Chain group (my case “group 5”) works perfect.  
Surya

---

<div class="post-metadata">

**Author:** ![wrmartin](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@wrmartin](https://gromacs.bioexcel.eu/u/wrmartin)\
**Post date:** [October 29, 2021, 12:35pm UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/4 "2021-10-29T12:35:08Z")

</div>

Does the file /usr/bin/mkdssp exist? You may need to install DSSP; I personally use version 3 from conda. If you have already installed DSSP (but not in /usr/bin) you will also have to set the DSSP variable to point to the mkdssp executable.

Will

---

<div class="post-metadata">

**Author:** ![scinikhil](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/scinikhil/32/3483_2.png) [@scinikhil](https://gromacs.bioexcel.eu/u/scinikhil)\
**Post date:** [October 29, 2021, 1:03pm UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/5 "2021-10-29T13:03:43Z")

</div>

It is all set and mkdssp work for individual PDB file.

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [October 29, 2021, 1:18pm UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/6 "2021-10-29T13:18:31Z")

</div>

If you are seeing temporary files generated, that suggests the program is working. Are the files getting replaced (e.g. the time stamp is updated?)

---

<div class="post-metadata">

**Author:** ![scinikhil](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/scinikhil/32/3483_2.png) [@scinikhil](https://gromacs.bioexcel.eu/u/scinikhil)\
**Post date:** [October 29, 2021, 1:27pm UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/7 "2021-10-29T13:27:54Z")

</div>

that is where the problem, the files are not getting replaced. @jalemkul

---

<div class="post-metadata">

**Author:** ![ebriand](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/ebriand/32/2314_2.png) [@ebriand](https://gromacs.bioexcel.eu/u/ebriand)\
**Post date:** [October 29, 2021, 2:08pm UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/8 "2021-10-29T14:08:23Z")

</div>

Try running the command it is trying to run (`/usr/bin/mkdssp -i ddi3musp`, or whatever the temporary filename is) and report back what error if any is reported.

Check that the temp files are not empty (should contain PDB lines)

Check that your DSSP is not version 4 (not supported yet)

---

<div class="post-metadata">

**Author:** ![H3nrasouli](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/h3nrasouli/32/1373_2.png) [@H3nrasouli](https://gromacs.bioexcel.eu/u/H3nrasouli)\
**Post date:** [December 9, 2022, 2:46am UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/9 "2022-12-09T02:46:36Z")

</div>

@jalemkul Thanks in advance for your always support. This problem has a simple solution, as explained below:

1- First, the user should install DSSP using a Linux terminal:

```auto
sudo apt-get update
sudo apt-get install dssp

```

2- Change mkdssp to DSSP using the following command:

```auto
sudo ln -s /usr/bin/mkdssp /usr/local/bin/dssp

```

3- Next, run the below command to get the results. The user should not forget to add [-ver 4] flag when she/he runs the gmx do\_dssp command. It works fine, and immediately, gromacs calculates the results for this command.

```auto
gmx do_dssp -ver 4 -s md.tpr -f md.trr -o ss.xpm -sc scount.xvg

```

4- You can convert \*.xpm file to jpg or png using following commands:

```auto
mogrify -format jpg *.xpm (for jpg output)

```

or

```auto
mogrify -format png *.xpm )for png output)

```

5- Now, you can use the generated plot for your publication.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/b/b58ffabb02fb87adae799dc225e1c589a0640f34.png)

---

<div class="post-metadata">

**Author:** ![therealchrisneale](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@therealchrisneale](https://gromacs.bioexcel.eu/u/therealchrisneale)\
**Post date:** [December 9, 2022, 3:04am UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/10 "2022-12-09T03:04:22Z")

</div>

Or, for those without root access:  
conda install -c salilab dssp --yes

---

<div class="post-metadata">

**Author:** ![shivani8878](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@shivani8878](https://gromacs.bioexcel.eu/u/shivani8878)\
**Post date:** [June 1, 2023, 6:03pm UTC](https://gromacs.bioexcel.eu/t/dssp-not-running/3042/11 "2023-06-01T18:03:03Z")

</div>

Whic gromacs version you are using ? I am facing an error in 2022 version of gromacs -  
Error parsing PDB at line 9  
When validating \_exptl.method: Value ‘PURE PRODUCT OF COMPUTER SIMULATION’ is not in the list of allowed values.

please help.
