Name

\s-1SWISS::GN\s0.pm

Description

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

Inherits from

SWISS::BaseClass.pm

Attributes

One gene name.

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 \s-1ORF\s0 numbers to mixed case. E.g. the E.coli gene \*(L"B1563\*(R" converted with the regexp '(b(\d{4}(\.\d)?))' will yield the gene name \*(L"b1563\*(R". The method also supports fused gene names, e.g. \*(L"B0690/B0691\*(R" is converted to \*(L"b0690/b0691\*(R". The method changes the text of the \s-1SWISS::GN\s0 object and also returns the new text value.