[Biopython] Problems with using Bio.PDB.NACCESS

Peter Cock p.j.a.cock at googlemail.com
Mon Apr 6 22:10:11 UTC 2015


On Mon, Apr 6, 2015 at 9:16 PM, Alaksh Choudhury
<Alaksh.Choudhury at colorado.edu> wrote:
> Hi,
>
> I am having trouble using Bio.PDB.NACCESS.
>
> The following is my code:
> import Bio.PDB.NACCES as nac
> data = nac.run_naccess(structure[0],"1BVU.pdb")

This defaults to run_naccess(..., temp_path='/tmp/') which appears
to cause a problem on Windows - likely the Unix style path. Try
setting this to r"C:\TEMP" or similar?

If that solves this, we can make the default more Windows friendly.

Thanks,

Peter


More information about the Biopython mailing list