Teal file parsing and manipulation.
Super class
nemo::Tool -> Teal
Methods
Method new()
Create a new Teal object.
Usage
Teal$new(path = NULL, files_tbl = NULL)Arguments
path(
character(1))
Output directory of tool. Iffiles_tblis supplied, this is ignored.files_tbl(
tibble(n))
Tibble of files fromnemo::list_files_dir().
Examples
cls <- Teal
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "teal_run1"
obj <- cls$new(indir)
obj$run(output_dir = odir, format = "parquet", input_id = id)
(lf <- list.files(odir, pattern = "teal_.*parquet", full.names = FALSE))
#> [1] "sample1_teal_breakend.parquet" "sample1_teal_tellength.parquet"
