get_primer_position: Get primer position on sequence set

Description Usage Arguments Value Examples

View source: R/bioinfo.R

Description

Returns start end end of the primer. If there are more than one matches, return the first match and the number of matches

Usage

1
2
3
4
5
6
get_primer_position(
  primer_seq,
  target_seq,
  orientation = "fwd",
  mismatches = 0
)

Arguments

primer_seq

primer sequence

target_seq

target sequences (vector)

orientation

"fwd" or "rev"

mismatches

Number of mismatches allowed

Value

data frame with four columns:

Examples

1
get_primer_position("ATT",c("ATTTTCGGG", "AGTTTCGGG"), orientation="fwd", mismatches=0)

vaulot/dvutils documentation built on Nov. 20, 2021, 11:01 a.m.