gbHeader-class: Generator object for the '"gbHeader"' reference class

Description Arguments Methods Methods Fields Extends Examples

Description

Generator object for the "gbHeader" reference class

Generates an object representing a GenBank/GenPept-format file header.

Arguments

...

List of arguments; must be named arguments corresponding to the fields of a gbHeader object

Methods

to_string(write_to_file = FALSE)

Generate a character string representation of a GenBank file header

write(file = "", append = FALSE, sep = "\n")

Write a GenBank file header to file.

Methods

#new(...):

Create a new gbHeader object.

#to_string(write_to_file = FALSE):

Generate a character string representation of a GenBank file header.

#write(file = "", append = FALSE, sep = "\n":

Write a GenBank header to file.

Fields

locus:

A "gbLocus" object.

definition:

character; Description of the sequence.

accession:

character; The primary accession number. A unique, unchanging identifier assigned to each GenBank sequence record.

version:

character; The primary accession number and a numeric version number

seqid:

character; Gene Identifier ("GI"); An integer key assigned to the sequence by NCBI.

dblink:

character; Cross-references to resources that support the existence a sequence record, such as the Project Database and the NCBI Trace Assembly Archive.

dbsource:

character; GenPept files only

keywords:

codecharacter; Short description of gene products and other information about an entry.

source:

character; Common name of the organism.

organism:

character; Formal scientific name of the organism.

taxonomy:

character; Taxonomic classification levels.

references:

Citations for all articles containing data reported in the entry.A gbReferenceList object.

comment:

character; Remarks.

Extends

All reference classes extend and inherit methods from "envRefClass".

Examples

1
showClass("gbHeader")

biofiles documentation built on May 2, 2019, 3:31 p.m.