Renamer | R Documentation |
Rename reads name in fastq with increasing integer
atacRenamer( atacProc, fastqOutput1 = NULL, fastqOutput2 = NULL, fastqInput1 = NULL, fastqInput2 = NULL, interleave = FALSE, threads = getThreads(), ... ) ## S4 method for signature 'ATACProc' atacRenamer( atacProc, fastqOutput1 = NULL, fastqOutput2 = NULL, fastqInput1 = NULL, fastqInput2 = NULL, interleave = FALSE, threads = getThreads(), ... ) renamer( fastqInput1 = NULL, fastqInput2 = NULL, fastqOutput1 = NULL, fastqOutput2 = NULL, interleave = FALSE, threads = getThreads(), ... )
atacProc |
|
fastqOutput1 |
|
fastqOutput2 |
|
fastqInput1 |
|
fastqInput2 |
|
interleave |
|
threads |
|
... |
Additional arguments, currently unused. |
The parameter related to input and output file path
will be automatically
obtained from ATACProc-class
object(atacProc
) or
generated based on known parameters
if their values are default(e.g. NULL
).
Otherwise, the generated values will be overwrited.
If you want to use this function independently,
you can use renamer
instead.
An invisible ATACProc-class
object scalar for downstream analysis.
Zheng Wei
atacUnzipAndMerge
unzipAndMerge
atacQCReport
atacRemoveAdapter
ignoreCheck() # warnning: run this for fast test only library(magrittr) td <- tempdir() setTmpDir(td) # Identify adapters prefix<-system.file(package="esATAC", "extdata", "uzmg") (reads_1 <-file.path(prefix,"m1",dir(file.path(prefix,"m1")))) (reads_2 <-file.path(prefix,"m2",dir(file.path(prefix,"m2")))) reads_merged_1 <- file.path(td,"reads1.fastq") reads_merged_2 <- file.path(td,"reads2.fastq") atacproc <- atacUnzipAndMerge(fastqInput1 = reads_1,fastqInput2 = reads_2) %>% atacRenamer dir(td)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.