Learn R Programming

seqRFLP (version 1.0.1)

findprobe: Find probes matching sites

Description

This function could be used to search probes (primer) matching sites. Users may lower the tol value to get more precise match result.

Usage

findprobe(dna, probe, tol = 3)

Arguments

dna
The input DNA sequence.
probe
The probe(primer) to match the DNA sequence.
tol
The number of sites that do not match

Value

Returns a vector containing the matched sites.

Details

dna should be a character string. tol is used to adjust the matching precision and should be integer. The smaller the number, the more precise the matching results. This function is called by clipprobe() for searching the sequences that could be used in PCR.

References

None.

See Also

See Also clipprobe

Examples

Run this code
### findprobe() example
data(fil.phy)
fas <- ConvFas(fil = fil.phy, type = "phy")
findprobe(dna = fas[2], probe = "TATTTAAC", tol = 1)

Run the code above in your browser using DataLab