Scroll to navigation

GO::Model::Seq(3pm) User Contributed Perl Documentation GO::Model::Seq(3pm)

NAME

  GO::Model::Seq - biological sequence

SYNOPSIS

    print $gene_product->seq->seq;

DESCRIPTION

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

pseq

  Usage   -
  Returns - Bio::PrimarySeq
  Args    -

md5checksum

  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)

to_fasta

  Usage   -
  Returns -
  Args    -

add_xref

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