Description Usage Arguments Details Value Author(s) See Also Examples
This function is used to convert SAM file to BED file and merge interleave paired end reads, shift reads, filter reads according to chromosome, filter reads according to fragment size, sort, remove duplicates reads before generating BED file.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | atacSamToBed(
atacProc,
reportOutput = NULL,
merge = c("auto", "yes", "no"),
posOffset = +4,
negOffset = -5,
chrFilterList = "chrM",
samInput = NULL,
bedOutput = NULL,
sortBed = TRUE,
minFragLen = 0,
maxFragLen = 100,
saveExtLen = FALSE,
uniqueBed = TRUE,
...
)
## S4 method for signature 'ATACProc'
atacSamToBed(
atacProc,
reportOutput = NULL,
merge = c("auto", "yes", "no"),
posOffset = +4,
negOffset = -5,
chrFilterList = "chrM",
samInput = NULL,
bedOutput = NULL,
sortBed = TRUE,
minFragLen = 0,
maxFragLen = 100,
saveExtLen = FALSE,
uniqueBed = TRUE,
...
)
samToBed(
samInput,
reportOutput = NULL,
merge = c("auto", "yes", "no"),
posOffset = +4,
negOffset = -5,
chrFilterList = "chrM",
bedOutput = NULL,
sortBed = TRUE,
minFragLen = 0,
maxFragLen = 100,
saveExtLen = FALSE,
uniqueBed = TRUE,
...
)
|
atacProc |
|
reportOutput |
|
merge |
|
posOffset |
|
negOffset |
|
chrFilterList |
|
samInput |
|
bedOutput |
|
sortBed |
|
minFragLen |
|
maxFragLen |
|
saveExtLen |
|
uniqueBed |
|
... |
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 samToBed
instead.
An invisible ATACProc-class
object scalar for downstream analysis.
Zheng Wei
atacBowtie2Mapping
bowtie2Mapping
atacFragLenDistr
atacExtractCutSite
atacPeakCalling
atacBedUtils
atacTSSQC
atacBedToBigWig
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.