seqme.models.HydrophobicMoment#
- class seqme.models.HydrophobicMoment(scale='eisenberg', window=11, angle=100, modality='mean')[source]#
Hydrophobic moment (i.e., amphiphilicity) for one or more amino acid sequences using a sliding-window approach.
Installation:
pip install "seqme[aa_descriptors]"- __init__(scale='eisenberg', window=11, angle=100, modality='mean')[source]#
Initialize the hydrophobic moment.
- Parameters:
scale (
Literal['eisenberg','hopp-woods','janin','kytedoolittle']) – Name of the hydrophobicity scale to use.window (
int) – Size of windowangle (
int) – Angle in which to calculate the moment. 100 for alpha helices, 180 for beta sheets.modality (
Literal['max','mean']) – Method to compute statistic
Methods