
write fasta file
fa_write(x, outfile, type = "interleaved")
None
XStringSet object
output file
one of interleaved and sequential
Guangchuang Yu
phy_file <- system.file("extdata/HA.phy", package="seqmagick")
x <- phy_read(phy_file)
fa_file <- tempfile(fileext = '.fas')
fa_write(x, fa_file)
Run the code above in your browser using DataLab