\Amelaye\BioPHP\Domain\Sequence\ServiceProteinManager

We can have manipulation with proteins

Summary

Methods
Properties
Constants
__construct()
setProtein()
seqlen()
molwt()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$protein
$aminos
$aminoApi
N/A

Properties

$protein

$protein : \Amelaye\BioPHP\Domain\Sequence\Entity\Protein

Type

normal

$aminos

$aminos : array

Type

normal

$aminoApi

$aminoApi : \Amelaye\BioPHP\Api\Interfaces\AminoApiAdapter

Type

normal

Methods

__construct()

__construct(\Amelaye\BioPHP\Api\Interfaces\AminoApiAdapter  $aminoApi) : mixed

Constructor

Parameters

\Amelaye\BioPHP\Api\Interfaces\AminoApiAdapter $aminoApi

Returns

mixed

setProtein()

setProtein( $oProtein) : mixed

Parameters

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