phy2fas {seqmagick}R 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)

[Package seqmagick version 0.1.7 Index]