disambiguate: Convert oligonucleotide sequences into regular expressions.

Description Usage Arguments Value Author(s) Examples

View source: R/disambiguate.R

Description

This function is used to convert an oligonucleotide sequence into a regular expression that can be used to query a sequence dataset. This is generally used for finding and removing primer, adapter and/or index sequences.

Usage

1

Arguments

z

a concatenated string representing a DNA oligonucleotide sequence, possibly with IUPAC ambiguity codes (all in upper case).

Value

a regular expression.

Author(s)

Shaun Wilkinson

Examples

1
disambiguate("GGWACWGGWTGAACWGTWTAYCCYCC")

shaunpwilkinson/insect documentation built on Nov. 13, 2018, 4:28 p.m.