fas2phy: fas2phy

View source: R/fas2phy.R

fas2phyR Documentation

fas2phy

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

Value

None

Author(s)

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


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