hardware no change required, simple rerun: rerun(x=flow_wd)
software either a change to flowmat or flowdef has been made: rerun(x=flow_wd, mat = new_flowmat, def = new_flowdef)
NOTE:
flow_wd: flow working directory, same input as used for status
rerun(x, ...)# S3 method for character
rerun(x, ...)
# S3 method for flow
rerun(
x,
mat,
def,
start_from,
samplename,
execute = TRUE,
kill = TRUE,
select,
ignore,
verbose = opts_flow$get("verbose"),
...
)
flow working directory
passed onto to_flow
(optional) flowmat fetched from previous submission if missing. For more information regarding the format refer to to_flowmat
(optional) flowdef fetched from previous submission if missing. For more information regarding the format refer to to_flowdef
(required) which job to start from, this is a job name.
(optional) If flowmat contains multiple samples, provide the samplename, corresponding to the flow working directory provided.
[logical] whether to execute or not
(optional) logical indicating whether to kill the jobs from the previous execution of flow.
(optional) select a subset of jobs to rerun [character vector]
(optional) ignore a subset of jobs to rerun [character vector]
A numeric value indicating the amount of messages to produce.
Values are integers varying from 0, 1, 2, 3, .... Please refer to the verbose page for more details.
opts_flow$get("verbose")
This function fetches details regarding the previous execution from the flow working directory (flow_wd).
It reads the flow object from the flow_details.rds file, and extracts flowdef and flowmat from it using to_flowmat and to_flowdef functions.
Using new flowmat OR flowdef for re-run:
Optionally, if either of flowmat or flowdef are supplied; supplied ones are used instead of those extracted from previous submission.
This functions efficiently updates job details of the latest submission into the previous file; thus information regarding previous job ids and their status is not lost.
# NOT RUN {
#
rerun(wd = wd, fobj = fobj, execute = TRUE, kill = TRUE)
# }
Run the code above in your browser using DataLab