Wrapper function for ctk's CITS
ctk_cits(
filesToRun,
outFile = paste(file_path_sans_ext(fileToRun), "CITS", "bed", sep = "."),
sb = "CITS.pl",
perl = "perl",
PATHTOPERLLIB = NULL,
bigFile = FALSE,
pCutOff = 0.01,
multiTest = TRUE,
gap = 25,
cacheDir = paste0(filesToRun, "_cache", paste(sample(letters, 10), collapse = "")),
stderr = file.path(dirname(fileToRun), paste0(basename(fileToRun), "_cits_stderr.txt")),
stdout = file.path(dirname(fileToRun), paste0(basename(fileToRun), "_cits_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 CITS.pl from CTK.
path to PERL.
path to PERL5LIB.
big file, TRUE or FALSE (default).
p-value cut off (default is 0.01).
perform multiple testing correction, TRUE (default) or FALSE.
gap size (default is 25).
name for cache directory.
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 CITS bed file.
testFQ <- system.file("extdata/Fox3_Std_small.fq.gz",package="CLIPflexR")
FqFile <- decompress(testFQ,overwrite=TRUE)
FqFile_QF <- fastq_quality_filter(FqFile)
FqFile_Col<- fastx_collapser(FqFile_QF)
FqFile_QFColStripped <- ctk_stripBarcode(FqFile_Col,linkerlength=5,inputFormat="fastq")