from Bio._py3k import getoutput
Use Bio._utils.run_doctest for SAM/BAM