Package org.biopax.paxtools.pattern
Class PatternBox
java.lang.Object
org.biopax.paxtools.pattern.PatternBox
This class contains several pattern samples.
- Author:
- Ozgun Babur
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PatternactChange(boolean activating, Map<EntityReference, Set<ModificationFeature>> activityFeat, Map<EntityReference, Set<ModificationFeature>> inactivityFeat) Pattern for the activity of an EntityReference is changed through a Conversion.static PatternbindsTo()Finds two Protein that appear together in a Complex.static PatterncatalysisPrecedes(Blacklist blacklist) Pattern for detecting two EntityReferences are controlling consecutive reactions, where output of one reaction is input to the other.static PatternchemicalAffectsProteinThroughBinding(Blacklist blacklist) A small molecule is in a complex with a protein.static PatternA small molecule controls an interaction of which the protein is a participant.static PatternFinds cases where protein A changes state of B, and B is then degraded.static PatternFinds the cases where transcription relation is shown using a Conversion instead of a TemplateReaction.static PatternFinds transcription factors that trans-activate or trans-inhibit an entity.static PatterncontrolsMetabolicCatalysis(Blacklist blacklist, boolean consumption) Pattern for a Protein controlling a reaction whose participant is a small molecule.static Patternstatic PatternPattern for a EntityReference has a member PhysicalEntity that is controlling a state change reaction of another EntityReference.static PatternPattern for a EntityReference has a member PhysicalEntity that is controlling a state change reaction of another EntityReference.static PatternPattern for a EntityReference has a member PhysicalEntity that is controlling a state change reaction of another EntityReference.static PatternPattern for an entity is producing a small molecule, and the small molecule controls state change of another molecule.static PatternPattern for an entity is producing a small molecule, and the small molecule controls state change of another molecule.static PatternFinds cases where proteins affect their degradation.static PatternPattern for a ProteinReference has a member PhysicalEntity that is controlling a transportation of another ProteinReference.static PatterncontrolsTransportOfChemical(Blacklist blacklist) Pattern for a ProteinReference has a member PhysicalEntity that is controlling a reaction that changes cellular location of a small molecule.static PatternPattern for detecting PhysicalEntity that controls a Conversion whose participants are not associated with the EntityReference of the initial PhysicalEntity.static PatternTwo proteins have states that are members of the same complex.static PatternPattern for two different EntityReference have member PhysicalEntity in the same Complex, and the Complex has an activity.static PatternPattern for two different EntityReference have member PhysicalEntity in the same Complex.static PatternPattern for two different EntityReference have member PhysicalEntity in the same Complex, and the Complex is controlling a Conversion.static PatternPattern for two different EntityReference have member PhysicalEntity in the same Complex, and the Complex has transcriptional activity.static PatternPattern for an EntityReference has distinct PhysicalEntities associated with both left and right of a Conversion.static PatternPattern for finding Conversions that an EntityReference is participating.static PatternConstructs a pattern where first and last molecules are participants of a MolecularInteraction.static PatternConstructs a pattern where first and last proteins are related through an interaction.static PatternpeInOut()static PatternreactsWith(Blacklist blacklist) Constructs a pattern where first and last small molecules are substrates to the same biochemical reaction.static PatternrelatedProteinRefOfInter(Class<? extends Interaction>... seedType) Finds ProteinsReference related to an interaction.static PatternstateChange(Pattern p, String ctrlLabel) Pattern for a Conversion has an input PhysicalEntity and another output PhysicalEntity that belongs to the same EntityReference.static PatternusedToProduce(Blacklist blacklist) Constructs a pattern where first small molecule is an input a biochemical reaction that produces the second small molecule.
-
Constructor Details
-
PatternBox
public PatternBox()
-
-
Method Details
-
controlsStateChange
Pattern for a EntityReference has a member PhysicalEntity that is controlling a state change reaction of another EntityReference.- Returns:
- the pattern
-
controlsTransport
Pattern for a ProteinReference has a member PhysicalEntity that is controlling a transportation of another ProteinReference.- Returns:
- the pattern
-
controlsTransportOfChemical
Pattern for a ProteinReference has a member PhysicalEntity that is controlling a reaction that changes cellular location of a small molecule.- Parameters:
blacklist- a skip-list of ubiquitous molecules- Returns:
- the pattern
-
controlsStateChangeBothControlAndPart
Pattern for a EntityReference has a member PhysicalEntity that is controlling a state change reaction of another EntityReference. In this case the controller is also an input to the reaction. The affected protein is the one that is represented with different non-generic physical entities at left and right of the reaction.- Returns:
- the pattern
-
controlsStateChangeButIsParticipant
Pattern for a EntityReference has a member PhysicalEntity that is controlling a state change reaction of another EntityReference. This pattern is different from the original controls-state-change. The controller in this case is not modeled as a controller, but as a participant of the conversion, and it is at both sides.- Returns:
- the pattern
-
stateChange
Pattern for a Conversion has an input PhysicalEntity and another output PhysicalEntity that belongs to the same EntityReference.- Parameters:
p- pattern to updatectrlLabel- label- Returns:
- the pattern
-
controlsStateChangeThroughControllerSmallMolecule
Pattern for an entity is producing a small molecule, and the small molecule controls state change of another molecule.- Parameters:
blacklist- a skip-list of ubiquitous molecules- Returns:
- the pattern
-
controlsStateChangeThroughBindingSmallMolecule
Pattern for an entity is producing a small molecule, and the small molecule controls state change of another molecule.- Parameters:
blacklist- a skip-list of ubiquitous molecules- Returns:
- the pattern
-
controlsStateChangeThroughDegradation
Finds cases where proteins affect their degradation.- Returns:
- the pattern
-
controlsPhosphorylation
-
controlsMetabolicCatalysis
Pattern for a Protein controlling a reaction whose participant is a small molecule.- Parameters:
blacklist- a skip-list of ubiquitous moleculesconsumption- true/false (TODO explain)- Returns:
- the pattern
-
catalysisPrecedes
Pattern for detecting two EntityReferences are controlling consecutive reactions, where output of one reaction is input to the other.- Parameters:
blacklist- to detect ubiquitous small molecules- Returns:
- the pattern
-
controlsExpressionWithTemplateReac
Finds transcription factors that trans-activate or trans-inhibit an entity.- Returns:
- the pattern
-
controlsExpressionWithConversion
Finds the cases where transcription relation is shown using a Conversion instead of a TemplateReaction.- Returns:
- the pattern
-
controlsDegradationIndirectly
Finds cases where protein A changes state of B, and B is then degraded. NOTE: THIS PATTERN DOES NOT WORK. KEEPING ONLY FOR HISTORICAL REASONS.- Returns:
- the pattern
-
inComplexWith
Two proteins have states that are members of the same complex. Handles nested complexes and homologies. Also guarantees that relationship to the complex is through different direct complex members.- Returns:
- pattern
-
chemicalAffectsProteinThroughBinding
A small molecule is in a complex with a protein.- Parameters:
blacklist- a skip-list of ubiquitous molecules- Returns:
- pattern
-
chemicalAffectsProteinThroughControl
A small molecule controls an interaction of which the protein is a participant.- Returns:
- pattern
-
neighborOf
Constructs a pattern where first and last proteins are related through an interaction. They can be participants or controllers. No limitation.- Returns:
- the pattern
-
reactsWith
Constructs a pattern where first and last small molecules are substrates to the same biochemical reaction.- Parameters:
blacklist- a skip-list of ubiquitous molecules- Returns:
- the pattern
-
usedToProduce
Constructs a pattern where first small molecule is an input a biochemical reaction that produces the second small molecule. biochemical reaction.- Parameters:
blacklist- a skip-list of ubiquitous molecules- Returns:
- the pattern
-
molecularInteraction
Constructs a pattern where first and last molecules are participants of a MolecularInteraction.- Returns:
- the pattern
-
inSameComplex
Pattern for two different EntityReference have member PhysicalEntity in the same Complex. Complex membership can be through multiple nesting and/or through homology relations.- Returns:
- the pattern
-
inSameActiveComplex
Pattern for two different EntityReference have member PhysicalEntity in the same Complex, and the Complex has an activity. Complex membership can be through multiple nesting and/or through homology relations.- Returns:
- the pattern
-
inSameComplexHavingTransActivity
Pattern for two different EntityReference have member PhysicalEntity in the same Complex, and the Complex has transcriptional activity. Complex membership can be through multiple nesting and/or through homology relations.- Returns:
- the pattern
-
inSameComplexEffectingConversion
Pattern for two different EntityReference have member PhysicalEntity in the same Complex, and the Complex is controlling a Conversion. Complex membership can be through multiple nesting and/or through homology relations.- Returns:
- the pattern
-
peInOut
-
modifiedPESimple
Pattern for an EntityReference has distinct PhysicalEntities associated with both left and right of a Conversion.- Returns:
- the pattern
-
actChange
public static Pattern actChange(boolean activating, Map<EntityReference, Set<ModificationFeature>> activityFeat, Map<EntityReference, Set<ModificationFeature>> inactivityFeat) Pattern for the activity of an EntityReference is changed through a Conversion.- Parameters:
activating- desired changeactivityFeat- modification features associated with activityinactivityFeat- modification features associated with inactivity- Returns:
- the pattern
-
modifierConv
Pattern for finding Conversions that an EntityReference is participating.- Returns:
- the pattern
-
hasNonSelfEffect
Pattern for detecting PhysicalEntity that controls a Conversion whose participants are not associated with the EntityReference of the initial PhysicalEntity.- Returns:
- the pattern
-
bindsTo
Finds two Protein that appear together in a Complex.- Returns:
- the pattern
-