ctk_getMutationType: Wrapper function for ctk's getMutationType

View source: R/wrapperFunctions_ctk.R

ctk_getMutationTypeR Documentation

Wrapper function for ctk's getMutationType

Description

Wrapper function for ctk's getMutationType

Usage

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
)

Arguments

filesToRun

path to file to process (BED).

outFile

output file (BED).

sb

path to ctk_getMutationType.pl from CTK toolkit.

perl

path to PERL.

PATHTOPERLLIB

path to PERL5LIB.

mutationType

mutation type, "del" (deletions; default),"ins" (insertions), "sub" (substitutions).

summaryStat

create summary file, TRUE or FALSE (default).

stderr

path to stdout file.

stdout

path to stdout file.

useClipRConda

use conda environment installed by Herper, TRUE (default) or FALSE.

additional_Args

additional arguments to be passed to system call.

verbose

print messages, TRUE or FALSE (default).

writelog

write stderr/stdout logs, TRUE (default) or FALSE.

Value

path to getMutationType bed file.

Author(s)

Kathryn Rozen-Gagnon

Examples

mutations <- system.file("extdata/BrdU.Fox.pool.tag.uniq.mutation.small.txt",package="CLIPflexR")
ctk_getMutationType(mutations)

kathrynrozengagnon/CLIPflexR documentation built on Dec. 8, 2022, 7:31 p.m.