DNAseq: Build a DNAseq object from a DNA sequence string.
Description
This can optionally include the DNA sequence's corresponding PHRED quality values and a sequencer identifier as well.
Usage
DNAseq(x = character(), name = character(), phred = NULL)
Arguments
x
a nucleotide string.
Valid characters within the nucleotide string are: a,t,g,c,-,n.
The nucleotide string can be input as upper case, but will be automatically converted to lower case.
name
an optional character string. Identifier for the sequence.
phred
an optional character string. The phred score string corresponding to the nucleotide string.
If passed then the input phred scores will be modified along with the nucleotides and carried through
to the sequence output. Default = NULL.