Description Usage Arguments Value Note See Also Examples
View source: R/hiReadsProcessor.R
This function facilitates finding and trimming of a short pattern sequence from a collection of subject sequences. The trimming is dictated by side parameter. For more information on the trimming process see the 'side' parameter documentation in trimSeqs
. For information regarding the pattern alignment see the documentation for pairwiseAlignSeqs
. This function is meant for aligning a short pattern onto large collection of subjects. If you are looking to align a vector sequence to subjects, then please use BLAT.
1 2 3 4 5 6 7 8 | findAndTrimSeq(
patternSeq,
subjectSeqs,
side = "left",
offBy = 0,
alignWay = "slow",
...
)
|
patternSeq |
DNAString object or a sequence containing the query sequence to search. |
subjectSeqs |
DNAStringSet object containing sequences to be searched for the pattern. |
side |
which side of the sequence to perform the search & trimming: left, right or middle. Default is 'left'. |
offBy |
integer value dictating if the trimming base should be offset by X number of bases. Default is 0. |
alignWay |
method to utilize for detecting the primers. One of following: "slow" (Default), "fast", or "blat". Fast, calls |
... |
parameters to be passed to |
DNAStringSet object with pattern sequence removed from the subject sequences.
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
, findPrimers
, findLinkers
1 2 3 4 | findAndTrimSeq(patternSeq="AGACCCTTTT",
subjectSeqs=DNAStringSet(c("AGACCCTTTTGAGCAGCAT","AGACCCTTGGTCGACTCA",
"AGACCCTTTTGACGAGCTAG")), qualityThreshold=.85, doRC=FALSE, side="left",
offBy=1, alignWay = "slow")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.