This function will take a guide sequence and subset it based on custom start
and stop positions. The sequence will then be converted to the
reverse-complement DNAString
of the input RNAString
sequence. The start
and stop positions are 1-based indexes.
Usage
.get_custom_sequence(guide.seq, start.pos, stop.pos, allow_wobbles = FALSE)
Arguments
- guide.seq
The input RNA string as a character vector
- start.pos
Start position index. 1-based index
- stop.pos
Stop position index.
- allow_wobbles
If true, all positions for a G:U wobble are considered.
Value
A DNAString
of the customized search sequence
Examples
guide.seq = "UUAUAGAGCAAGAACACUGUUUU"
custom.seq = SeedMatchR:::.get_custom_sequence(guide.seq, start.pos = 1,
stop.pos = 23)