| UnzipAndMerge {esATAC} | R Documentation |
Unzip and merge fastq files that are in format of bzip, gzip or fastq
atacUnzipAndMerge(fastqInput1, fastqInput2 = NULL, fastqOutput1 = NULL, fastqOutput2 = NULL, interleave = FALSE, ...) unzipAndMerge(fastqInput1, fastqInput2 = NULL, fastqOutput1 = NULL, fastqOutput2 = NULL, interleave = FALSE, ...)
fastqInput1 |
|
fastqInput2 |
|
fastqOutput1 |
|
fastqOutput2 |
|
interleave |
|
... |
Additional arguments, currently unused. |
An invisible ATACProc-class object scalar for downstream analysis.
Zheng Wei
td<-tempdir()
options(atacConf=setConfigure("tmpdir",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)
dir(td)