\Amelaye\BioPHP\Domain\Sequence\Interfaces ProteinInterface

Defines protein-specific sequence operations.

Summary

Methods
Constants
setProtein()
seqlen()
molwt()
No public constants found

Methods

setProtein()

setProtein(\Amelaye\BioPHP\Domain\Sequence\Entity\Protein  $oProtein) : mixed

Sets the protein sequence to operate on.

Parameters

\Amelaye\BioPHP\Domain\Sequence\Entity\Protein $oProtein

Returns

mixed —

seqlen()

seqlen() : int

Returns the length of a protein sequence().

Returns

int —

An integer representing the number of amino acids in the protein.

molwt()

molwt() : bool|array

Computes the molecular weight of a protein sequence.

Returns

bool|array —

An array of the form: ( lower_molwt, upper_molwt )