twoPatternReadFilter: Filter input sequences for two patterns

View source: R/utilityFunctions_NGS.r

twoPatternReadFilterR Documentation

Filter input sequences for two patterns

Description

Filter input sequences for two patterns

Usage

twoPatternReadFilter(reads, leftPattern, rightPattern, maxMismatch,
  prevPatternPos = NULL)

Arguments

reads

input sequences

leftPattern

left pattern motive.

rightPattern

right pattern motive.

maxMismatch

maximal number of miss matches.

prevPatternPos

prev pattern posiotion; default is set to NULL.

Value

list object

Examples

reads <- DNAStringSet(c('ACTGGGTTT','ACCCTGGGTTT'))
leftPattern <- 'CT'
rightPattern <- 'TTT'
maxMismatch <- 0
twoPatternReadFilter(reads, leftPattern, rightPattern, maxMismatch)

cpanse/NestLink documentation built on May 16, 2022, 2:33 a.m.