sbol3.interaction
¶
Module Contents¶
Classes¶
The Interaction class provides more detailed description of how the |
Functions¶
|
- class Interaction(types: Union[str, list[str]], *, participations: List[Participation] = None, name: str = None, description: str = None, derived_from: List[str] = None, generated_by: List[str] = None, measures: List[SBOLObject] = None, identity: str = None, type_uri: str = SBOL_INTERACTION)¶
Bases:
Identified
The Interaction class provides more detailed description of how the Feature objects of a Component are intended to work together. For example, this class can be used to represent different forms of genetic regulation (e.g., transcriptional activation or repression), processes from the central dogma of biology (e.g. transcription and translation), and other basic molecular interactions (e.g., non-covalent binding or enzymatic phosphorylation). Each Interaction includes type properties that refer to descriptive ontology terms and hasParticipation properties that describe which Feature objects participate in which ways in the Interaction.
- accept(visitor: Any) Any ¶
Invokes visit_interaction on visitor with self as the only argument.
- Parameters
visitor (Any) – The visitor instance
- Raises
AttributeError – If visitor lacks a visit_interaction method
- Returns
Whatever visitor.visit_interaction returns
- Return type
Any
- build_interaction(identity: str, *, type_uri: str = SBOL_INTERACTION) SBOLObject ¶