FindAdapter | R Documentation |
Use AdapterRemoval to identify adapters for paired end data
atacFindAdapter( atacProc, fastqInput1 = NULL, fastqInput2 = NULL, reportPrefix = NULL, interleave = FALSE, findParamList = NULL, threads = getThreads(), ... ) ## S4 method for signature 'ATACProc' atacFindAdapter( atacProc, fastqInput1 = NULL, fastqInput2 = NULL, reportPrefix = NULL, interleave = FALSE, findParamList = NULL, threads = getThreads(), ... ) findAdapter( fastqInput1, fastqInput2 = NULL, reportPrefix = NULL, interleave = FALSE, findParamList = NULL, threads = getThreads(), ... )
atacProc |
|
fastqInput1 |
|
fastqInput2 |
|
reportPrefix |
|
interleave |
|
findParamList |
Additional arguments to be passed on to the binaries for identifying adapter. See below for details. |
threads |
The number of threads used in this step. |
... |
Additional arguments, currently unused. |
The parameter related to input and output file path
will be automatically
obtained from ATACProc-class
object 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 findAdapter
instead.
You can put all aditional
arguments in one Character
(e.g. "–threads 8") with white space
splited just like command line,
or put them in Character
vector(e.g. c("–threads","8")).
Note that some arguments(
"–file1","–file2","–adapter1","–adapter2","–output1","–output2",
"–basename","–interleaved","thread") to the
findParamList are invalid if they are already handled as explicit
function arguments. See the output of
adapterremoval_usage()
for details about available parameters.
An invisible ATACProc-class
object scalar for downstream analysis.
Zheng Wei
atacRenamer
renamer
atacUnzipAndMerge
unzipAndMerge
atacBowtie2Mapping
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 %>% atacFindAdapter dir(td)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.