Learn R Programming

rphast (version 1.6.9)

is.format.msa: Check an MSA Format String

Description

Returns TRUE if the argument is a valid string describing a multiple sequence alignment (MSA) format.

Usage

is.format.msa(format)

Arguments

format

a character vector of strings to test

Value

a logical vector indicating whether each element of the input parameter is a valid format string.

Details

Valid formats include "FASTA", "PHYLIP", "SS" (Sufficient statistics format used by PHAST), "MPM" (format used by MultiPipMaker), "LAV" (used by blastz), or "MAF" (Multiple Alignment Format used by MULTIZ and TBA.

Examples

Run this code
# NOT RUN {
is.format.msa(c("MAF", "SS", "PHYLIP", "MPM", "LAV", "FASTA",
                "BAD_FORMAT_STRING"))
# }

Run the code above in your browser using DataLab