.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "GO::Model::GeneProduct 3pm" .TH GO::Model::GeneProduct 3pm "2021-01-09" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" .Vb 1 \& GO::Model::GeneProduct \- gene product in a particular species .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" represents a gene product in a particular species (this will effectively always be referred to implicitly by the gene symbol even though a gene may have >1 product) .SS "acc" .IX Subsection "acc" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .SS "symbol" .IX Subsection "symbol" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .SS "type" .IX Subsection "type" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .SS "full_name" .IX Subsection "full_name" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .SS "as_str" .IX Subsection "as_str" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .SS "add_synonym" .IX Subsection "add_synonym" .SS "synonym_list" .IX Subsection "synonym_list" accessor: gets/set list of synonyms [array reference] .SS "speciesdb" .IX Subsection "speciesdb" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .SS "add_seq" .IX Subsection "add_seq" .Vb 3 \& Usage \- \& Returns \- \& Args \- GO::Model::Seq .Ve .SS "seq_list" .IX Subsection "seq_list" .Vb 3 \& Usage \- \& Returns \- GO::Model::Seq listref \& Args \- .Ve .SS "seq" .IX Subsection "seq" .Vb 3 \& Usage \- \& Returns \- GO::Model::Seq \& Args \- .Ve .PP returns representative sequence object for this product .SS "properties" .IX Subsection "properties" .Vb 3 \& Usage \- \& Returns \- hashref \& Args \- hashref .Ve .SS "set_property" .IX Subsection "set_property" .Vb 3 \& Usage \- $sf\->set_property("wibble", "on"); \& Returns \- \& Args \- property key, property scalar .Ve .PP note: the property is assumed to be multivalued, therefore \f(CW$sf\fR\->set_property($k, \f(CW$scalar\fR) will add to the array, and \f(CW$sf\fR\->set_property($k, \f(CW$arrayref\fR) will set the array .SS "get_property" .IX Subsection "get_property" .Vb 3 \& Usage \- \& Returns \- first element of the property \& Args \- property key .Ve .SS "get_property_list" .IX Subsection "get_property_list" .Vb 3 \& Usage \- \& Returns \- the property arrayref \& Args \- property key .Ve .SS "to_fasta" .IX Subsection "to_fasta" .Vb 3 \& Usage \- \& Returns \- \& Args \- .Ve .PP returns the longest seq by default