open.fasta {bioseq.fasta} R Documentation

open the fasta sequence file

Description

Usage

open.fasta(file,
    read = TRUE,
    line.break = -1,
    delimiter = "|");

Arguments

file

the file path of the target fasta sequence file for open. [as string]

read

load a set of fasta sequence data in lazy mode? default is yes. [as boolean]

line.break

the sequence length in one line of the generated fasta document when this function is used for open a fasta file in write mode, a negative value means that all of the sequence data will be written in a single line. [as integer]

delimiter

the delimiter character for merge the fasta headers title when this function is used for open a fasta file in write mode. [as string]

env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a lazy collection of the fasta sequence data(a pipeline object of the FastaSeq sequence data) when the read parameter is TRUE, or a fasta stream writer(StreamWriter) object for write the sequence data into the target file in a stream manner when the read parameter is FALSE.

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]