Contains methods for reading contents of
the replay.json
file output from DRAGEN, which contains the DRAGEN command
line, parameters and version for the specific run.
Super class
dracarys::File
-> ReplayFile
Methods
Method read()
Reads the replay.json
file.
Method write()
Writes a tidy version of the replay.json
file output
from DRAGEN.
Examples
x <- system.file("extdata/wgs/SEQC-II-replay.json.gz", package = "dracarys")
r <- ReplayFile$new(x)
d <- r$read() # or read(r)
r$write(d, out_dir = tempdir(), prefix = "seqc_replay", out_format = "tsv")