AllocationConfig

class VmaxBuilder.config.dataclasses.AllocationConfig(enabled: bool = True, method: str | None = None, options: dict[str, ~typing.Any]=<factory>, field_validation_modes: dict[str, ~VmaxBuilder.config.enums.ValidationMode]=<factory>, trim_entities: bool = True, trim_assesment_method: str = 'M_value', trim_minimum_entities_threshold: int = 3, impute_expressionless_reactions: bool = True)[source]

Generated: validation needed.

Description:

Configuration for IFP allocation and reaction capacity staging.

Parameters:
  • trim_entities (bool) – Enable gene/transcript trimming before allocation.

  • trim_assesment_method (str) – Method for determining trimmable entities, defaults to “M_value”.

  • impute_expressionless_reactions (bool) – Enable fallback imputation.

  • trim_minimum_entities_threshold (int) – Minimum number of entities required in an IFP for iterative lowest-abundance trimming to proceed. Trimming inspects lowest-abundance entity and, if marked trimmable, removes it and repeats. If a non-trimmable entity is encountered or remaining entity count would fall below this threshold, trimming stops.

Public Methods

trim_entities

trim_assesment_method

trim_minimum_entities_threshold

impute_expressionless_reactions

enabled

field_validation_modes

method

options