code: def samtools_view(self, file_name, param, postpend=""):
          cmd = "{} view {} {} {}".format(
                  self.tools.samtools, param, file_name, postpend)
          return subprocess.check_output(cmd, shell=True)