writeStockholmMultipleAlignment: Write an annotated alignment in Stockholm format

View source: R/write_stockholm_msa.R

writeStockholmMultipleAlignmentR Documentation

Write an annotated alignment in Stockholm format

Description

Write an annotated alignment in Stockholm format

Usage

writeStockholmMultipleAlignment(x, connection)

Arguments

x

(StockholmMultipleAlignment) the object to write to the file

connection

(connection object or file name) the file to write the alignment to

Value

the connection, invisibly

Examples

# read an example rRNA alignment
msafile <- sample_rRNA_stk()
msa <- read_stockholm_msa(msafile)
msa

# write to another file
temp <- tempfile(fileext=".stk")
writeStockholmMultipleAlignment(msa, temp)

brendanf/inferrnal documentation built on Sept. 30, 2024, 6:40 a.m.