Learn R Programming

seqmagick (version 0.1.7)

phy2fas: phy2fas

Description

convert phylip file to fasta file

Usage

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

Value

None

Arguments

phyfile

phylip file

outfile

output file

type

one of interleaved and sequential

Author

Guangchuang Yu

Examples

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

Run the code above in your browser using DataLab