001package org.biopax.paxtools.pattern.miner; 002 003import org.biopax.paxtools.pattern.Pattern; 004import org.biopax.paxtools.pattern.PatternBox; 005 006/** 007 * Yet another miner for the controls-degradation pattern. This one searches two step relations. 008 * 009 * NOTE: THIS PATTERN DOES NOT WORK. KEEPING ONLY FOR HISTORICAL REASONS. 010 * 011 * @author Ozgun Babur 012 */ 013public class ControlsDegradationIndirectMiner extends AbstractSIFMiner 014{ 015 /** 016 * Constructor that sets name and description. 017 */ 018 public ControlsDegradationIndirectMiner() 019 { 020 super(SIFEnum.CONTROLS_STATE_CHANGE_OF, "-indirectly", "The control is to a previous " + 021 "reaction that produces the degraded state of the protein."); 022 } 023 024 /** 025 * Constructs the pattern. 026 * @return pattern 027 */ 028 @Override 029 public Pattern constructPattern() 030 { 031 return PatternBox.controlsDegradationIndirectly(); 032 } 033 034 @Override 035 public String getSourceLabel() 036 { 037 return "controller ER"; 038 } 039 040 @Override 041 public String getTargetLabel() 042 { 043 return "changed ER"; 044 } 045 046 @Override 047 public String[] getMediatorLabels() 048 { 049 return new String[]{"Control", "Conversion", "degrading Conv"}; 050 } 051}