Hello,
I am trying to run DSSP with Biopython. I have installed biopython 1.59 with python 2.7.2 in windows OS.
>>> from Bio.PDB.PDBParser import PDBParser
>>> pdbfn ='C://pdb//1B68.pdb'
>>> parser = PDBParser(PERMISSIVE=1)
>>> structure = parser.get_structure("1B68", pdbfn)
>>> model=structure[0]
>>>from Bio.PDB.DSSP import DSSP
>>>dssp = DSSP(model, "1B68.pdb")
Traceback (most recent call last):
File "<pyshell#10>", line 1, in <module>
dssp = DSSP(model, "1B68.pdb")
File "C:\Python27\lib\site-packages\Bio\PDB\DSSP.py", line 200, in __init_
dssp_dict, dssp_keys = dssp_dict_from_pdb_file(pdb_file, dssp)
File "C:\Python27\lib\site-packages\Bio\PDB\DSSP.py", line 101, in dssp_dict_from_pdb_file
out_dict, keys = make_dssp_dictout_file.name)
File "C:\Python27\lib\site-packages\Bio\PDB\DSSP.py", line 115, in make_dssp_dict
handle = open(filename, "r")
IOError: [Errno 13] Permission denied: 'c:\\users\\veena\\appdata\\local\\temp\\tmparkljc.dssp'
It seems like you do not have permissions for file. May be execute permissions. See here