Syncs the parse-relevant DRAGEN outputs (any pipeline, incl. BCLConvert
Reports/) from src to dest. Include patterns come from the tool schemas
(see nemo::wf_sync_patterns()), followed by DRAGEN_SYNC_EXCLUDE.
Arguments
- src
(
character(1))
S3 source path.- dest
(
character(1))
Local destination path.- pats
(
tibble())
Patterns tibble withinex("in" or "ex") andpat(pattern) columns. IfNULLandworkflowis given, the workflow's schema-derived patterns are used (seewf_sync_patterns()); if both areNULL, everything is excluded.- dryrun
(
logical(1))
IfTRUE, passes--dryruntoaws s3 syncso operations are displayed without being executed.
Examples
if (FALSE) { # \dontrun{
src <- "s3://my-awesome-bucket/path/to/run1"
dest <- sub("s3:/", "~/s3", src)
s3sync(src, dest, dryrun = TRUE)
# inspect what would be pulled down
nemo::wf_sync_patterns("dragen")
# override with your own patterns
pats <- tibble::tribble(
~inex, ~pat,
"ex", "*",
"in", "*.mapping_metrics.csv"
)
s3sync(src, dest, pats)
} # }
