gt4sd.properties.proteins.core module

Summary

Classes:

AliphaticIndex

Computes the aliphatic index of a protein.

AmideConfiguration

AmidePhConfiguration

Aromaticity

Computes aromaticity of the protein (relative frequency of Phe+Trp+Tyr).

BomanIndex

Computes the Boman index of a protein (sum of solubility values of all residues).

Charge

Computes the charge of a protein.

ChargeDensity

Computes the charge density of a protein.

HydrophobicRatio

Computes the hydrophobicity of a protein, relative freq.

Instability

Calculates the protein instability.

IsoelectricPoint

Computes the isoelectric point of every residue and aggregates.

Length

Retrieves the number of residues of a protein.

MolecularWeight

Computes the molecular weight of a protein.

PhConfiguration

Reference

class AmideConfiguration(**data)[source]

Bases: PropertyPredictorParameters

amide: bool
__dict__
__pydantic_fields_set__: set[str]

The names of fields explicitly set during instantiation.

__pydantic_extra__: dict[str, Any] | None

A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

__pydantic_private__: dict[str, Any] | None

Values of private attributes set on the model instance.

__abstractmethods__ = frozenset({})
__annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[Dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[Dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator | PluggableSchemaValidator]', '__signature__': 'ClassVar[Signature]', 'amide': <class 'bool'>, 'model_computed_fields': 'ClassVar[Dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[Dict[str, FieldInfo]]'}
__class_vars__: ClassVar[set[str]] = {}

The names of the class variables defined on the model.

__doc__ = None
__module__ = 'gt4sd.properties.proteins.core'
__private_attributes__: ClassVar[Dict[str, ModelPrivateAttr]] = {}

Metadata about the private attributes of the model.

__pydantic_complete__: ClassVar[bool] = True

Whether model building is completed, or if there are still undefined fields.

__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'gt4sd.properties.proteins.core.AmideConfiguration'>, 'config': {'title': 'AmideConfiguration'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'gt4sd.properties.proteins.core.AmideConfiguration'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'gt4sd.properties.proteins.core.AmideConfiguration'>>]}, 'ref': 'gt4sd.properties.proteins.core.AmideConfiguration:94662814617824', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'amide': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'AmideConfiguration', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

__pydantic_custom_init__: ClassVar[bool] = False

Whether the model has a custom __init__ method.

__pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})

Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

__pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}

Metadata for generic models; contains data used for a similar purpose to __args__, __origin__, __parameters__ in typing-module generics. May eventually be replaced by these.

__pydantic_parent_namespace__: ClassVar[Dict[str, Any] | None] = None

Parent namespace of the model, used for automatic rebuilding of models.

__pydantic_post_init__: ClassVar[None | Literal['model_post_init']] = None

The name of the post-init method for the model, if defined.

__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005618677050e0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "amide": SerField {                         key_py: Py(                             0x00007f1dcdc9f070,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x000056185a463580,                                         ),                                     ),                                     serializer: Bool(                                         BoolSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 1,             },         ),         has_extra: false,         root_model: false,         name: "AmideConfiguration",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="AmideConfiguration", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "amide",                         lookup_key: Simple {                             key: "amide",                             py_key: Py(                                 0x00007f1dcadf3630,                             ),                             path: LookupPath(                                 [                                     S(                                         "amide",                                         Py(                                             0x00007f1dcadf35f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1dcdc9f070,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x000056185a463580,                                     ),                                 ),                                 on_error: Raise,                                 validator: Bool(                                     BoolValidator {                                         strict: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[bool]",                                 undefined: Py(                                     0x00007f1ea71db950,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "AmideConfiguration",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005618677050e0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1ea71db950,         ),         name: "AmideConfiguration",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

__signature__: ClassVar[Signature] = <Signature (*, amide: bool = False) -> None>

The synthesized __init__ [Signature][inspect.Signature] of the model.

_abc_impl = <_abc._abc_data object>
model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[Dict[str, FieldInfo]] = {'amide': FieldInfo(annotation=bool, required=False, default=False, description='whether the sequences are C-terminally amidated.', examples=[False])}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

This replaces Model.__fields__ from Pydantic V1.

class PhConfiguration(**data)[source]

Bases: PropertyPredictorParameters

ph: float
__dict__
__pydantic_fields_set__: set[str]

The names of fields explicitly set during instantiation.

__pydantic_extra__: dict[str, Any] | None

A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

__pydantic_private__: dict[str, Any] | None

Values of private attributes set on the model instance.

__abstractmethods__ = frozenset({})
__annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[Dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[Dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator | PluggableSchemaValidator]', '__signature__': 'ClassVar[Signature]', 'model_computed_fields': 'ClassVar[Dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[Dict[str, FieldInfo]]', 'ph': <class 'float'>}
__class_vars__: ClassVar[set[str]] = {}

The names of the class variables defined on the model.

__doc__ = None
__module__ = 'gt4sd.properties.proteins.core'
__private_attributes__: ClassVar[Dict[str, ModelPrivateAttr]] = {}

Metadata about the private attributes of the model.

__pydantic_complete__: ClassVar[bool] = True

Whether model building is completed, or if there are still undefined fields.

__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'gt4sd.properties.proteins.core.PhConfiguration'>, 'config': {'title': 'PhConfiguration'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'gt4sd.properties.proteins.core.PhConfiguration'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'gt4sd.properties.proteins.core.PhConfiguration'>>]}, 'ref': 'gt4sd.properties.proteins.core.PhConfiguration:94662814946928', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'ph': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 7.0, 'schema': {'type': 'float'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PhConfiguration', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

__pydantic_custom_init__: ClassVar[bool] = False

Whether the model has a custom __init__ method.

__pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})

Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

__pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}

Metadata for generic models; contains data used for a similar purpose to __args__, __origin__, __parameters__ in typing-module generics. May eventually be replaced by these.

__pydantic_parent_namespace__: ClassVar[Dict[str, Any] | None] = None

Parent namespace of the model, used for automatic rebuilding of models.

__pydantic_post_init__: ClassVar[None | Literal['model_post_init']] = None

The name of the post-init method for the model, if defined.

__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000561867755670,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "ph": SerField {                         key_py: Py(                             0x00007f1ea8cbacf0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1dcaf45b90,                                         ),                                     ),                                     serializer: Float(                                         FloatSerializer {                                             inf_nan_mode: Null,                                         },                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 1,             },         ),         has_extra: false,         root_model: false,         name: "PhConfiguration",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PhConfiguration", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "ph",                         lookup_key: Simple {                             key: "ph",                             py_key: Py(                                 0x00007f1dcae08330,                             ),                             path: LookupPath(                                 [                                     S(                                         "ph",                                         Py(                                             0x00007f1dcae082f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1ea8cbacf0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1dcaf45b90,                                     ),                                 ),                                 on_error: Raise,                                 validator: Float(                                     FloatValidator {                                         strict: false,                                         allow_inf_nan: true,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[float]",                                 undefined: Py(                                     0x00007f1ea71db950,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PhConfiguration",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000561867755670,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1ea71db950,         ),         name: "PhConfiguration",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

__signature__: ClassVar[Signature] = <Signature (*, ph: float = 7.0) -> None>

The synthesized __init__ [Signature][inspect.Signature] of the model.

_abc_impl = <_abc._abc_data object>
model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[Dict[str, FieldInfo]] = {'ph': FieldInfo(annotation=float, required=False, default=7.0)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

This replaces Model.__fields__ from Pydantic V1.

class AmidePhConfiguration(**data)[source]

Bases: PropertyPredictorParameters

amide: bool
ph: float
__dict__
__pydantic_fields_set__: set[str]

The names of fields explicitly set during instantiation.

__pydantic_extra__: dict[str, Any] | None

A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

__pydantic_private__: dict[str, Any] | None

Values of private attributes set on the model instance.

__abstractmethods__ = frozenset({})
__annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[Dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[Dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator | PluggableSchemaValidator]', '__signature__': 'ClassVar[Signature]', 'amide': <class 'bool'>, 'model_computed_fields': 'ClassVar[Dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[Dict[str, FieldInfo]]', 'ph': <class 'float'>}
__class_vars__: ClassVar[set[str]] = {}

The names of the class variables defined on the model.

__doc__ = None
__module__ = 'gt4sd.properties.proteins.core'
__private_attributes__: ClassVar[Dict[str, ModelPrivateAttr]] = {}

Metadata about the private attributes of the model.

__pydantic_complete__: ClassVar[bool] = True

Whether model building is completed, or if there are still undefined fields.

__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'gt4sd.properties.proteins.core.AmidePhConfiguration'>, 'config': {'title': 'AmidePhConfiguration'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'gt4sd.properties.proteins.core.AmidePhConfiguration'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'gt4sd.properties.proteins.core.AmidePhConfiguration'>>]}, 'ref': 'gt4sd.properties.proteins.core.AmidePhConfiguration:94662814927440', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'amide': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'ph': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 7.0, 'schema': {'type': 'float'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'AmidePhConfiguration', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

__pydantic_custom_init__: ClassVar[bool] = False

Whether the model has a custom __init__ method.

__pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})

Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

__pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}

Metadata for generic models; contains data used for a similar purpose to __args__, __origin__, __parameters__ in typing-module generics. May eventually be replaced by these.

__pydantic_parent_namespace__: ClassVar[Dict[str, Any] | None] = None

Parent namespace of the model, used for automatic rebuilding of models.

__pydantic_post_init__: ClassVar[None | Literal['model_post_init']] = None

The name of the post-init method for the model, if defined.

__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000561867750a50,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "amide": SerField {                         key_py: Py(                             0x00007f1dcdc9f070,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x000056185a463580,                                         ),                                     ),                                     serializer: Bool(                                         BoolSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "ph": SerField {                         key_py: Py(                             0x00007f1ea8cbacf0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1dcaf45b90,                                         ),                                     ),                                     serializer: Float(                                         FloatSerializer {                                             inf_nan_mode: Null,                                         },                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 2,             },         ),         has_extra: false,         root_model: false,         name: "AmidePhConfiguration",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="AmidePhConfiguration", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "amide",                         lookup_key: Simple {                             key: "amide",                             py_key: Py(                                 0x00007f1dcae09570,                             ),                             path: LookupPath(                                 [                                     S(                                         "amide",                                         Py(                                             0x00007f1dcae09530,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1dcdc9f070,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x000056185a463580,                                     ),                                 ),                                 on_error: Raise,                                 validator: Bool(                                     BoolValidator {                                         strict: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[bool]",                                 undefined: Py(                                     0x00007f1ea71db950,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "ph",                         lookup_key: Simple {                             key: "ph",                             py_key: Py(                                 0x00007f1dcae094f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "ph",                                         Py(                                             0x00007f1dcae094b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1ea8cbacf0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1dcaf45b90,                                     ),                                 ),                                 on_error: Raise,                                 validator: Float(                                     FloatValidator {                                         strict: false,                                         allow_inf_nan: true,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[float]",                                 undefined: Py(                                     0x00007f1ea71db950,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "AmidePhConfiguration",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000561867750a50,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1ea71db950,         ),         name: "AmidePhConfiguration",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

__signature__: ClassVar[Signature] = <Signature (*, amide: bool = False, ph: float = 7.0) -> None>

The synthesized __init__ [Signature][inspect.Signature] of the model.

_abc_impl = <_abc._abc_data object>
model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[Dict[str, FieldInfo]] = {'amide': FieldInfo(annotation=bool, required=False, default=False, description='whether the sequences are C-terminally amidated.', examples=[False]), 'ph': FieldInfo(annotation=float, required=False, default=7.0)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

This replaces Model.__fields__ from Pydantic V1.

class Length(parameters=PropertyPredictorParameters())[source]

Bases: CallablePropertyPredictor

Retrieves the number of residues of a protein.

__init__(parameters=PropertyPredictorParameters())[source]

Construct a PropertyPredictor using the related parameters. :type parameters: PropertyPredictorParameters :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Retrieves the number of residues of a protein.'
__module__ = 'gt4sd.properties.proteins.core'
class MolecularWeight(parameters)[source]

Bases: ConfigurableCallablePropertyPredictor

Computes the molecular weight of a protein.

__init__(parameters)[source]

Construct a PropertyPredictor using the related parameters. :type parameters: AmideConfiguration :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the molecular weight of a protein.'
__module__ = 'gt4sd.properties.proteins.core'
class BomanIndex(parameters=PropertyPredictorParameters())[source]

Bases: CallablePropertyPredictor

Computes the Boman index of a protein (sum of solubility values of all residues).

__init__(parameters=PropertyPredictorParameters())[source]

Construct a PropertyPredictor using the related parameters. :type parameters: PropertyPredictorParameters :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the Boman index of a protein (sum of solubility values of all residues).'
__module__ = 'gt4sd.properties.proteins.core'
class AliphaticIndex(parameters=PropertyPredictorParameters())[source]

Bases: CallablePropertyPredictor

Computes the aliphatic index of a protein. Measure of thermal stability.

__init__(parameters=PropertyPredictorParameters())[source]

Construct a PropertyPredictor using the related parameters. :type parameters: PropertyPredictorParameters :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the aliphatic index of a protein. Measure of thermal stability.'
__module__ = 'gt4sd.properties.proteins.core'
class HydrophobicRatio(parameters=PropertyPredictorParameters())[source]

Bases: CallablePropertyPredictor

Computes the hydrophobicity of a protein, relative freq. of A,C,F,I,L,M & V.

__init__(parameters=PropertyPredictorParameters())[source]

Construct a PropertyPredictor using the related parameters. :type parameters: PropertyPredictorParameters :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the hydrophobicity of a protein, relative freq. of **A,C,F,I,L,M & V**.'
__module__ = 'gt4sd.properties.proteins.core'
class Charge(parameters)[source]

Bases: ConfigurableCallablePropertyPredictor

Computes the charge of a protein.

__init__(parameters)[source]

Construct a PropertyPredictor using the related parameters. :type parameters: AmidePhConfiguration :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the charge of a protein.'
__module__ = 'gt4sd.properties.proteins.core'
class ChargeDensity(parameters)[source]

Bases: ConfigurableCallablePropertyPredictor

Computes the charge density of a protein.

__init__(parameters)[source]

Construct a PropertyPredictor using the related parameters. :type parameters: AmidePhConfiguration :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the charge density of a protein.'
__module__ = 'gt4sd.properties.proteins.core'
class IsoelectricPoint(parameters)[source]

Bases: ConfigurableCallablePropertyPredictor

Computes the isoelectric point of every residue and aggregates.

__init__(parameters)[source]

Construct a PropertyPredictor using the related parameters. :type parameters: AmideConfiguration :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes the isoelectric point of every residue and aggregates.'
__module__ = 'gt4sd.properties.proteins.core'
class Aromaticity(parameters=PropertyPredictorParameters())[source]

Bases: CallablePropertyPredictor

Computes aromaticity of the protein (relative frequency of Phe+Trp+Tyr).

__init__(parameters=PropertyPredictorParameters())[source]

Construct a PropertyPredictor using the related parameters. :type parameters: PropertyPredictorParameters :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Computes aromaticity of the protein (relative frequency of Phe+Trp+Tyr).'
__module__ = 'gt4sd.properties.proteins.core'
class Instability(parameters=PropertyPredictorParameters())[source]

Bases: CallablePropertyPredictor

Calculates the protein instability.

__init__(parameters=PropertyPredictorParameters())[source]

Construct a PropertyPredictor using the related parameters. :type parameters: PropertyPredictorParameters :param parameters: parameters to configure the predictor.

__annotations__ = {}
__doc__ = 'Calculates the protein instability.'
__module__ = 'gt4sd.properties.proteins.core'