ProteinInterface
in
Defines protein-specific sequence operations.
Tags
Table of Contents
Methods
- molwt() : bool|array<string|int, mixed>
- Computes the molecular weight of a protein sequence.
- seqlen() : int
- Returns the length of a protein sequence().
- setProtein() : mixed
- Sets the protein sequence to operate on.
Methods
molwt()
Computes the molecular weight of a protein sequence.
public
molwt() : bool|array<string|int, mixed>
Return values
bool|array<string|int, mixed> —An array of the form: ( lower_molwt, upper_molwt )
seqlen()
Returns the length of a protein sequence().
public
seqlen() : int
Return values
int —An integer representing the number of amino acids in the protein.
setProtein()
Sets the protein sequence to operate on.
public
setProtein(Protein $oProtein) : mixed
Parameters
- $oProtein : Protein