R/make_storm_trimmer.R

Defines functions make_storm_trimmer

Documented in make_storm_trimmer

#' simple function to emit a trimming script for STORM-seq preps
#' 
#' @param stub  the shared part of the fastq filenames 
#' 
#' @export 
make_storm_trimmer <- function(stub) { 

  message("# launch trim_galore to remove illumina adapters")
  message("trim_galore --illumina \\")
  message("  --trim-n \\")
  message("  --length 36 \\")
  message("  --paired \\")
  message("  --clip_R2 3 \\")
  message("  --fastqc \\")
  message("  ", stub, "_L000_R1_001.fastq.gz \\")
  message("  ", stub, "_L000_R2_001.fastq.gz")

}
trichelab/velocessor documentation built on Jan. 5, 2022, 6:27 p.m.