I had seen people having trouble with do_dssp and that Error line 471 error. <br><pre style="margin: 0em;">Fatal error:<br>Failed to execute command: /usr/local/bin/dssp -na ddS7CWeR dd48KVro /dev/null 2&gt; /dev/null<br></pre>
<br>So I would like to spill some light on the issue and make documentation better to understand after hours fiddling with source code.<br><br>If you have this error this means that dssp executable was not found even though the PATH was set correctly (i.e. DSSP path variable)<br>
<br>If you look at the source code the fexist funciton checks if there is any file in directory and returns true, so if you have any file there the code will run through and fail on line:<br><br>sprintf(dssp,&quot;%s %s %s %s &gt; /dev/null %s&quot;,<br>
      dptr,bDoAccSurf?&quot;&quot;:&quot;-na&quot;,pdbfile,tmpfile,bVerbose?&quot;&quot;:&quot;2&gt; /dev/null&quot;);<br><br>where dssp is the buffer of charcters and dptr is the pointer to the dssp executable file (not the folder!)<br>
<br><br>And that is the main source of errors, improper definition of directory pointer to the executable. <br><br>Solution: To correct this mistake add to the path the name of the dssp exectutable. <br><br>E.g. if you named it dssp and put it in your home folder. Add to .bash_profile<br>
<br>DSSP=/home/dssp   (where dssp is not a FOLDER but name of executable)<br><br>If you named executable dsspmbi<br><br>DSSP=/home/dsspmbi   (and again dsspmbi is the name of executable)<br><br>This will define the location of dssp executable properly and you would not see any weird complicated errors coming up. <br>
<br>Hope it helps<br><br><br> <br>