Enum Class ReactionNamePatterns
- All Implemented Interfaces:
Serializable
,Comparable<ReactionNamePatterns>
,Constable
Defines an enumeration for regex patterns that are used to categorize reactions based on their ID strings.
Each enum constant represents a specific type of reaction and is associated with a regex pattern that matches
reaction IDs corresponding to that type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPattern for ATP maintenance reactions, which are typically denoted by IDs containing 'ATPM' in any case.Case-insensitive pattern for biomass reactions, matching IDs that include the word 'biomass' in any case.Case-sensitive pattern for biomass reactions, matching IDs that specifically contain 'BIOMASS'.Pattern for default flux bound reactions, matching IDs that typically start with a prefix followed by 'default_'.Pattern for demand reactions, identified by IDs starting with 'DM_'.Pattern for exchange reactions, identified by IDs starting with 'EX_'.Pattern for sink reactions, which are reactions that remove metabolites from the system, identified by IDs starting with 'SK_' or 'SINK_'. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the compiled Pattern object for this enum constant.static ReactionNamePatterns
Returns the enum constant of this class with the specified name.static ReactionNamePatterns[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATP_MAINTENANCE
Pattern for ATP maintenance reactions, which are typically denoted by IDs containing 'ATPM' in any case. -
BIOMASS_CASE_INSENSITIVE
Case-insensitive pattern for biomass reactions, matching IDs that include the word 'biomass' in any case. -
BIOMASS_CASE_SENSITIVE
Case-sensitive pattern for biomass reactions, matching IDs that specifically contain 'BIOMASS'. -
DEFAULT_FLUX_BOUND
Pattern for default flux bound reactions, matching IDs that typically start with a prefix followed by 'default_'. -
DEMAND_REACTION
Pattern for demand reactions, identified by IDs starting with 'DM_'. -
EXCHANGE_REACTION
Pattern for exchange reactions, identified by IDs starting with 'EX_'. -
SINK_REACTION
Pattern for sink reactions, which are reactions that remove metabolites from the system, identified by IDs starting with 'SK_' or 'SINK_'.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPattern
Retrieves the compiled Pattern object for this enum constant.- Returns:
- The compiled Pattern object.
-