Description
convert fasta (aligned sequences) to phylip format
Usage
fas2phy(fasfile, outfile = "out.phy", type = "sequential")
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)