Read sequences in an unknown format. This is meant to parse the sequence
input arguments of functions like primersearch
.
parse_seq_input(
input = NULL,
file = NULL,
output_format = "character",
u_to_t = FALSE
)
A named character vector of sequences
(character
) One of the following:
See the example below for what this
looks like. The parser read_fasta
produces output like this.
Each vector should have one base per element.
This is the result of parsers like
read.FASTA
.
This is the result of parsers like
read.fasta
.
Either "input" or "file" must be supplied but not both.
The path to a FASTA file containing sequences to use. Either "input" or "file" must be supplied but not both.
The format of the sequences returned. Either "character" or "DNAbin".
If `TRUE`, then "U" in the sequence will be converted to "T".