Wrapper function for ctk's getMutationType
ctk_getMutationType(
filesToRun,
outFile = paste(file_path_sans_ext(fileToRun), mutationType, "bed", sep = "."),
sb = "getMutationType.pl",
perl = "perl",
PATHTOPERLLIB = NULL,
mutationType = "del",
summaryStat = FALSE,
stderr = file.path(dirname(fileToRun), paste0(basename(fileToRun),
"_getMutationType_stderr.txt")),
stdout = file.path(dirname(fileToRun), paste0(basename(fileToRun),
"_getMutationType_stdout.txt")),
useClipRConda = ifelse(is.null(getOption("CLIPflexR.condaEnv")), FALSE, TRUE),
additional_Args = NULL,
verbose = FALSE,
writelog = T
)
path to file to process (BED).
output file (BED).
path to ctk_getMutationType.pl from CTK toolkit.
path to PERL.
path to PERL5LIB.
mutation type, "del" (deletions; default),"ins" (insertions), "sub" (substitutions).
create summary file, TRUE or FALSE (default).
path to stdout file.
path to stdout file.
use conda environment installed by Herper, TRUE (default) or FALSE.
additional arguments to be passed to system call.
print messages, TRUE or FALSE (default).
write stderr/stdout logs, TRUE (default) or FALSE.
path to getMutationType bed file.
mutations <- system.file("extdata/BrdU.Fox.pool.tag.uniq.mutation.small.txt",package="CLIPflexR")
ctk_getMutationType(mutations)
#> [1] "/Users/runner/work/_temp/Library/CLIPflexR/extdata/BrdU.Fox.pool.tag.uniq.mutation.small.del.bed"