001package org.biopax.paxtools.pattern.miner;
002
003import org.biopax.paxtools.pattern.Pattern;
004import org.biopax.paxtools.pattern.PatternBox;
005
006/**
007 * Miner for the controls-production-of pattern.
008 * @author Ozgun Babur
009 */
010public class ControlsProductionOfMiner extends ConsumptionControlledByMiner
011{
012        /**
013         * Constructor that sets name, description and type.
014         */
015        public ControlsProductionOfMiner()
016        {
017                super(SIFEnum.CONTROLS_PRODUCTION_OF);
018        }
019
020        /**
021         * Constructs the pattern.
022         * @return pattern
023         */
024        @Override
025        public Pattern constructPattern()
026        {
027                return PatternBox.controlsMetabolicCatalysis(blacklist, false);
028        }
029
030        @Override
031        public String getSourceLabel()
032        {
033                return "controller ER";
034        }
035
036        @Override
037        public String getTargetLabel()
038        {
039                return "part SMR";
040        }
041}