TmCalculator (version 1.0.0)

check_filter: Check and filter valid base of nucleotide sequences

Description

In general, whitespaces and non-base characters are removed and characters are converted to uppercase in given method.

Usage

check_filter(ntseq, method)

Arguments

ntseq

The primer/probe sequence as string or vector of characters

method

TM_Wallace: check and return "A","B","C","D","G","H","I","K","M","N","R","S","T","V","W" and "Y"

TM_GC: check and return "A","B","C","D","G","H","I","K","M","N","R","S","T","V","W", "X" and "Y"

TM_NN: check and return "A","C","G","I" and "T"

Value

Return a sequence which fullfils the requirements of the given method.

Examples

Run this code
# NOT RUN {
ntseq <- c("ATCGBDHKMNRVYWSqq")
check_filter(ntseq,method='Tm_Wallace')
check_filter(ntseq,method='Tm_NN')
# }

Run the code above in your browser using DataCamp Workspace