DOKK / manpages / debian 12 / libgo-perl / GO::Model::Seq.3pm.en
GO::Model::Seq(3pm) User Contributed Perl Documentation GO::Model::Seq(3pm)

  GO::Model::Seq - biological sequence

    print $gene_product->seq->seq;

represents a biological sequence; uses the bioperl Bio::PrimarySeq class

any call that you can do on a bioperl sequence object, you can do here, with the addition of the calls below

to get bioperl, see http://www.bioperl.org

  Usage   -
  Returns - Bio::PrimarySeq
  Args    -

  Usage   - my $md5 = $seq->md5checksum() OR $seq->md5checksum($md5)
  Returns - 32 char hex string
  Args    - 32 char hex string [optional]

checksum for seq - easy way to check if it has been changed etc

(requires Digest::MD5 module from CPAN)

  Usage   -
  Returns -
  Args    -

  - Usage : $term->add_xref($xref);
  - Args  : GO::Term::Xref
2021-01-09 perl v5.32.0