pybedtools.helpers.set_tempdir

pybedtools.helpers.set_tempdir(tempdir)[source]

Set the directory for temp files.

Useful for clusters that use a /scratch partition rather than a /tmp dir. Convenience function to simply set tempfile.tempdir.