Flagstats file parsing and manipulation.
Super class
nemo::Tool
-> Flagstats
Methods
Method new()
Create a new Flagstats object.
Usage
Flagstats$new(path = NULL, files_tbl = NULL)
Arguments
path
(
character(1)
)
Output directory of tool. Iffiles_tbl
is supplied, this basically gets ignored.files_tbl
(
tibble(n)
)
Tibble of files fromnemo::list_files_dir()
.
Examples
cls <- Flagstats
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "flagstats_run1"
obj <- cls$new(indir)
obj$nemofy(odir = odir, format = "parquet", id = id)
#> NULL
(lf <- list.files(odir, pattern = "parquet", full.names = FALSE))
#> character(0)
#TODO: add flagstats test data