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

# GO::Model::GeneProduct(3pm)

## NAME

```
  GO::Model::GeneProduct - gene product in a particular species
```

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

### acc

```
  Usage   -
  Returns -
  Args    -
```

### symbol

```
  Usage   -
  Returns -
  Args    -
```

### type

```
  Usage   -
  Returns -
  Args    -
```

### full\_name

```
  Usage   -
  Returns -
  Args    -
```

### as\_str

```
  Usage   -
  Returns -
  Args    -
```

### add\_synonym

### synonym\_list

accessor: gets/set list of synonyms \[array reference\]

### speciesdb

```
  Usage   -
  Returns -
  Args    -
```

### add\_seq

```
  Usage   -
  Returns -
  Args    - GO::Model::Seq
```

### seq\_list

```
  Usage   -
  Returns - GO::Model::Seq listref
  Args    -
```

### seq

```
  Usage   -
  Returns - GO::Model::Seq
  Args    -
```

returns representative sequence object for this product

### properties

```
  Usage   -
  Returns - hashref
  Args    - hashref
```

### set\_property

```
  Usage   - $sf->set_property("wibble", "on");
  Returns -
  Args    - property key, property scalar
```

note: the property is assumed to be multivalued, therefore\
   `$sf`-\>set\_property($k, `$scalar`) will add to the array, and\
   `$sf`-\>set\_property($k, `$arrayref`) will set the array

### get\_property

```
  Usage   -
  Returns - first element of the property
  Args    - property key
```

### get\_property\_list

```
  Usage   -
  Returns - the property arrayref
  Args    - property key
```

### to\_fasta

```
  Usage   -
  Returns -
  Args    -
```

returns the longest seq by default
