Name¶
SWISS::GN.pm
Description¶
SWISS::GN represents one gene name from the GN line. The container object
for several synonym gene names is SWISS::GeneGroup.
Inherits from¶
SWISS::BaseClass.pm
Attributes¶
- "text"
- 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 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.