Documentation

Protein

Class Protein - * This class represents the end-products of genetic processes of translation and transcription -- the proteins. While a protein's primary structure (its amino acid sequence) is ably represented as a Sequence object, its secondary and tertiary structures are not. This is the main rationale for creating a separate Protein class.

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Properties

$id  : string
A string that uniquely identifies a protein.
$name  : string
The long name used to refer to this protein.
$sequence  : string

Methods

getId()  : string
getName()  : string
getSequence()  : string
setId()  : void
setName()  : void
setSequence()  : void

Properties

$id

A string that uniquely identifies a protein.

private string $id = ""

$name

The long name used to refer to this protein.

private string $name = ""

$sequence

private string $sequence = ""

Methods

getId()

public getId() : string
Return values
string

getName()

public getName() : string
Return values
string

getSequence()

public getSequence() : string
Return values
string

setId()

public setId(string $id) : void
Parameters
$id : string

setName()

public setName(string $name) : void
Parameters
$name : string

setSequence()

public setSequence(string $sequence) : void
Parameters
$sequence : string
On this page

Search results