toil.lib.bioio

Module Contents

Functions

system(command)

A convenience wrapper around subprocess.check_call that logs the command before passing it

getLogLevelString([logger])

setLoggingFromOptions(options)

getTempFile([suffix, rootDir])

toil.lib.bioio.system(command)[source]

A convenience wrapper around subprocess.check_call that logs the command before passing it on. The command can be either a string or a sequence of strings. If it is a string shell=True will be passed to subprocess.check_call. :type command: str | sequence[string]

toil.lib.bioio.getLogLevelString(logger=None)[source]
toil.lib.bioio.setLoggingFromOptions(options)[source]
toil.lib.bioio.getTempFile(suffix='', rootDir=None)[source]