Description Arguments Methods Fields Extends Note Examples
Generator object for the "gbLocus" reference class
Generates an object representing a GenBank LOCUS line.
| ... | List of arguments (see NOTE) | 
#new(lnm, len, mtp, div, top, mdt, cdt):Create a new gbLocus object
#to_string():Create a string representation of a GenBank LOCUS field.
lnm:Locus name. Usually the accession number.
len: Sequence length; In bp or aa, depending on mtp. 
mtp:Molecule type; NA, DNA, RNA, tRNA (transfer RNA), rRNA (ribosomal RNA), mRNA (messenger RNA), uRNA (small nuclear RNA), or AA (protein sequence). RNAs can be prefixes ss- (single-stranded), ds- (double-stranded), or ms- (mixed-stranded)
div:Genbank division.
top: Topology; linear, circular, or missing (NA). 
mdt:Modification date.
cdt:Create date.
All reference classes extend and inherit methods from
"envRefClass".
Arguments to the #new method must be named arguments:
lnm Locus name; stored in the lnm field. 
len Sequence lenght; stored in the len field. 
mtp Molecule type; stored in the mtp field). 
div Genbank division; stored in the div field. 
top Topology; stored in the top field. 
mdt Modification date; stored in the mdt field. 
cdt Create date; stored in the cdt field. 
| 1 | showClass("gbLocus")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.