phy2fas: phy2fas

View source: R/phy2fas.R

phy2fasR Documentation

phy2fas

Description

convert phylip file to fasta file

Usage

phy2fas(phyfile, outfile = "out.fas", type = "interleaved")

Arguments

phyfile

phylip file

outfile

output file

type

one of interleaved and sequential

Value

None

Author(s)

Guangchuang Yu

Examples

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

seqmagick documentation built on July 9, 2023, 7:36 p.m.