Parses and tidies Illumina InterOp run-QC summaries. Not a DRAGEN output, so it inherits nemo::Tool rather than DragenTool; housed here since it's typically co-located with BCLConvert outputs.
Super class
nemo::Tool -> Interop
Methods
Method new()
Create a new Interop object.
Usage
Interop$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().
Method parse_imagingtable()
Parse imaging_table.csv[.gz] positionally, skipping its
header: grouped columns (e.g. Corrected<A;C;G;T>) have one label for
4 data columns.
Examples
cls <- Interop; tool <- "interop"
# imaging_tables/ holds a .csv and a .csv.gz copy, so its run also
# exercises nemo's `_2` same-table disambiguation.
odir <- tempdir()
obj_sum <- cls$new(system.file("extdata", tool, "summaries", package = "tidydragen"))
obj_sum$run(output_dir = odir, format = "parquet", input_id = "run1")
obj_it <- cls$new(system.file("extdata", tool, "imaging_tables", package = "tidydragen"))
obj_it$run(output_dir = odir, format = "parquet", input_id = "run1")
(lf <- list.files(odir, pattern = "interop_.*parquet", full.names = FALSE))
#> [1] "interop_imagingtable.parquet"
#> [2] "interop_imagingtable_2.parquet"
#> [3] "runA_interop_indexsummarydetail.parquet"
#> [4] "runA_interop_indexsummarymain.parquet"
#> [5] "runA_interop_summarymain.parquet"
#> [6] "runA_interop_summaryreadlane.parquet"
