write_fasta: Write sequences to a fasta file.

View source: R/read-fasta.R

write_fastaR Documentation

Write sequences to a fasta file.

Description

overwrite

Usage

write_fasta(fasta, path, width)

Arguments

fasta

tibble. see Value of read_fasta().

path

string. Path to the fasta file which you want write to.

width

logical scalar. NotYetUsed.

Value

the input invisibly

Examples

{
    input_file  <- system.file('extdata', 'example.fasta', package = 'rutil')
    output_file <- tempfile()
    write_fasta(read_fasta(input_file), output_file)
}


dongzhuoer/biozhuoer documentation built on May 15, 2022, 6:38 a.m.