Description Usage Arguments Value Note See Also Examples
View source: R/hiReadsProcessor.R
Given a sampleInfo object, the function finds 5' primers 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' primer/adaptor found in the sampleInfo
object. The sequence itself is never trimmed but rather coordinates of primer
portion is recorded back to the object and used subsequently by
extractSeqs
function to perform the trimming.
1 2 3 |
sampleInfo |
sample information SimpleList object outputted from
|
alignWay |
method to utilize for detecting the primers. One of
following: "slow" (Default), or "fast". Fast, calls
|
showStats |
toggle output of search statistics. Default is FALSE. |
doRC |
perform reverse complement search of the defined pattern/primer. Default is FALSE. |
parallel |
use parallel backend to perform calculation . Defaults to TRUE.
If no parallel backend is registered, then a serial version is ran using
|
samplenames |
a vector of samplenames to process. Default is NULL, which processes all samples from sampleInfo object. |
bypassChecks |
skip checkpoints which detect if something was odd with the data? Default is FALSE. |
parallel2 |
perform parallelization is sequence level. Default is FALSE. Useful in cases where each sector has only one sample with numerous sequences. |
... |
extra parameters to be passed to either |
a SimpleList object similar to sampleInfo paramter supplied with new data added under each sector and sample. New data attributes include: primed
For paired end data, qualityThreshold for pair 2 is decreased by 0.10 to increase chances of matching primer sequence.
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
, vpairwiseAlignSeqs
,
extractFeature
, extractSeqs
,
primerIDAlignSeqs
, findLTRs
,
findLinkers
, findAndTrimSeq
1 2 3 | load(file.path(system.file("data", package = "hiReadsProcessor"),
"FLX_seqProps.RData"))
findPrimers(seqProps, showStats=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.