---
name: "GO::Model::Seq"
section: "3pm"
platform: "linux"
package: "libgo-perl"
version: "0.15-10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/GO::Model::Seq"
---

# 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
```
