origin_fasta {GenBank} R Documentation

get, add or replace the genome origin fasta sequence in the given genbank assembly file.

Description

Usage

origin_fasta(gb,
    nt = NULL,
    mol.type = "genomic DNA");

Arguments

gb

the File ncbi genbank assembly object for get, add or replace its genome origin sequence data. [as File]

nt

the fasta sequence object for update the genome origin sequence data. [as FastaSeq]

mol.type

the molecule type of the genome origin sequence, default value is genomic DNA. [as string]

Details

Authors

seqtoolkit

Value

if the **nt** parameter is nothing, means get fasta sequence, otherwise is add/update fasta sequence in the genbank assembly, the returns type of the api will change from the getted fasta sequence to the modified genbank assembly object.

clr value class

Examples


[Package GenBank version 1.0.0.0 Index]