protein_seqs {GenBank} R Documentation

get or set fasta sequence of all CDS feature in the given genbank assembly file.

Description

Usage

protein_seqs(gb,
    proteins = NULL,
    title = NULL,
    filter.empty = TRUE);

Arguments

gb

the File ncbi genbank assembly object for get or set its CDS protein sequence data. [as File]

proteins

set the genbank feature CDS protein sequence if this value is existsed.

title

the fasta headers title template string for export of the protein sequence data. [as string]

filter.empty

Filter out the empty protein sequence when do export of the protein sequence data. [as boolean]

env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a collection of the FastaSeq protein sequence data or a lazy pipeline collection of this sequence data when the proteins parameter is not specified, or the modified File ncbi genbank assembly object when the proteins parameter is specified;

this function returns a R# error message object if the given protein sequence data can not be cast to a fasta sequence collection.

clr value class

Examples


[Package GenBank version 1.0.0.0 Index]