From Genome Analysis Wiki
Jump to navigationJump to search
340 bytes added
, 16:32, 12 June 2015
Line 40: |
Line 40: |
| Some other useful options in Make are -k for running the analyses as far as possible without | | Some other useful options in Make are -k for running the analyses as far as possible without |
| terminating the entire pipeline and -t for generating all the target files chronologically. | | terminating the entire pipeline and -t for generating all the target files chronologically. |
| + | |
| + | For commands that involves a series of pipes, you can use "set pipefail" in a bash environment |
| + | to ensure that the an error is returned if any stage of the pipe fails. If this is not done, the return |
| + | code of the last process in the pipe will be returned and Make will think that this series of commands |
| + | has completed successfully. |
| | | |
| = Example = | | = Example = |