SWISS::GN


Name

SWISS::GN.pm

Back to Top


Description

SWISS::GN represents one gene name from the GN line. The container object for several synonym gene names is SWISS::GeneGroup.

Back to Top


Inherits from

SWISS::BaseClass.pm

Back to Top


Attributes

text

One gene name.

Back to Top


Methods

Standard methods

new
fromText
toText

Reading/Writing methods

toMixedCase(@regexps)

Convert gene names to mixed case, according to one or more regular expressions. This is typically useful for converting uppercase ORF numbers to mixed case. E.g. the E.coli gene "B1563" converted with the regexp '(b(\d{4}(\.\d)?))' will yield the gene name "b1563". The method also supports fused gene names, e.g. "B0690/B0691" is converted to "b0690/b0691". The method changes the text of the SWISS::GN object and also returns the new text value.

Back to Top

 SWISS::GN