identifyTirMatches: Identify Terminal Inverted Repeat Matches

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/identifyTirMatches.R

Description

Searches a DNAStringSet for potential TIRs based on sequence similarity.

Usage

1
identifyTirMatches(tirSeq, Genome, mismatch = 0, strand = "*", tsdLength)

Arguments

tirSeq

A DNAString object to be searched for.

Genome

A DNAStringSet object containing the DNAString objects to be searched.

mismatch

The allowable mismatch between tirSeq and a given slice of Genome. Includes indels.

strand

The directionality of the search string ("+" or "-"). Note that this does affect the search for tirSeqs, if you wish to search the reverse strand you should use the reverse complement of your sequence.

tsdLength

Integer referring to the length of the flanking TSD region.

Details

Called by packSearch. Used by packSearch as an initial filtering stage. matchPattern from Biostrings is used for pattern matching. It is recommended to use the general pipeline function packSearch for identification of potential pack elements, however each stage may be called individually.

Value

A dataframe, tirMatches, containing identified matches. The dataframe is in the format generated by packSearch.

Author(s)

Jack Gisby

See Also

DNAStringSet, packSearch, matchPattern, DNAString

Examples

1
2
3
4
5
6
7
8
data(arabidopsisThalianaRefseq)

forwardMatches <- identifyTirMatches(
    Biostrings::DNAString("CACTACAA"),
    arabidopsisThalianaRefseq,
    tsdLength = 3,
    strand = "+"
)

packFinder documentation built on Nov. 8, 2020, 5:24 p.m.