Learn R Programming

seqmagick (version 0.1.7)

fas2phy: fas2phy

Description

convert fasta (aligned sequences) to phylip format

Usage

fas2phy(fasfile, outfile = "out.phy", type = "sequential")

Value

None

Arguments

fasfile

aligned sequences in fasta format

outfile

output file

type

one of interleaved and sequential

Author

Guangchuang Yu fa_file <- system.file("extdata/HA.fas", package="seqmagick") phy_file <- tempfile(fileext = ".phy") fas2phy(fa_file, phy_file)