is.format.msa: Check an MSA Format String

Description Usage Arguments Details Value Author(s) Examples

View source: R/msa.R

Description

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

Usage

1

Arguments

format

a character vector of strings to test

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.

Value

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

Author(s)

Melissa J. Hubisz

Examples

1
2
is.format.msa(c("MAF", "SS", "PHYLIP", "MPM", "LAV", "FASTA",
                "BAD_FORMAT_STRING"))

rphast documentation built on May 1, 2019, 9:26 p.m.