Description Usage Arguments Value Note See Also Examples
View source: R/hiReadsProcessor.R
Given a sampleInfo object, the function finds vector fragments following the
LTR piece for each sample per sector and adds the results back to the object.
This is a specialized function which depends on many other functions shown
in 'see also section' to perform specialized trimming of 5' viral LTRs found
in the sampleInfo object. The sequence itself is never trimmed but rather
coordinates of vector portion is added to LTR coordinates and recorded back
to the object and used subsequently by extractSeqs
function to
perform the trimming. This function heavily relies on blatSeqs
.
In order for this function to work, it needs vector sequence which is read in
using 'vectorFile' metadata supplied in the sample information file in
read.sampleInfo
1 2 | findVector(sampleInfo, showStats = FALSE, parallel = TRUE,
samplenames = NULL)
|
sampleInfo |
sample information SimpleList object outputted from
|
showStats |
toggle output of search statistics. Default is FALSE. |
parallel |
use parallel backend to perform calculation with
|
samplenames |
a vector of samplenames to process. Default is NULL, which processes all samples from sampleInfo object. |
a SimpleList object similar to sampleInfo paramter supplied with new data added under each sector and sample. New data attributes include: vectored
If parallel=TRUE, then be sure to have a parallel backend registered
before running the function. One can use any of the following
MulticoreParam
SnowParam
pairwiseAlignSeqs
, blatSeqs
,
extractFeature
, extractSeqs
,
findPrimers
, findLTRs
,
findLinkers
, findAndTrimSeq
,
findAndRemoveVector
1 2 3 | load(file.path(system.file("data", package = "hiReadsProcessor"),
"FLX_seqProps.RData"))
findVector(seqProps, showStats=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.