Description Usage Arguments Details Value Author(s) See Also Examples
Rename reads name in fastq with increasing integer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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.