The ruffus module is a lightweight way to add support for running computational pipelines.
Decorator | Syntax | |
---|---|---|
@originate (Manual) | @originate ( output_files, [extra_parameters,...] ) | |
@split (Manual) | @split ( tasks_or_file_names, output_files, [extra_parameters,...] ) | |
@transform (Manual) | ||
@merge (Manual) | @merge (tasks_or_file_names, output, [extra_parameters,...] ) | |
@posttask (Manual) | @posttask ( signal_task_completion_function )
|
For a graphical flowchart in jpg, svg, dot, png, ps, gif formats:
pipeline_printout_graph ( "flowchart.svg")
For a text printout of all jobs
pipeline_printout()
pipeline_run(multiprocess = N_PARALLEL_JOBS)