seqme.models.Hydrophobicity#

class seqme.models.Hydrophobicity(scale='eisenberg')[source]#

Hydrophobicity using a selected scale.

Installation: pip install "seqme[aa_descriptors]"

__init__(scale='eisenberg')[source]#

Initialize the hydrophobicity.

Parameters:

scale (Literal['eisenberg', 'hopp-woods', 'janin', 'kytedoolittle']) – Name of the hydrophobicity scale to use.

__call__(sequences)[source]#

Compute hydrophobicity.

Parameters:

sequences (list[str]) – Amino acid sequences.

Return type:

ndarray

Returns:

Hydrophobicity score for each sequence.

Methods

__init__([scale])

Initialize the hydrophobicity.

__call__(sequences)

Compute hydrophobicity.