💎 add changes in API motivated by feedback
This refactor was motivated by feedback from DataBiosphere/toil#2064 (comment):
- use subprocess32
- use
docker.from_env(version='auto')
- fix the way
workdir
was mapped to/tmp
on singularity containers - avoid shadowing of subprocess names
def check_output
anddef check_call
- avoid use of
/dev/null