Class RelatedGenesOfInteractionsMiner

java.lang.Object
org.biopax.paxtools.pattern.miner.MinerAdapter
org.biopax.paxtools.pattern.miner.RelatedGenesOfInteractionsMiner
All Implemented Interfaces:
Miner

public class RelatedGenesOfInteractionsMiner extends MinerAdapter
Miner for the related genes (participant or controller) of interactions.
Author:
Ozgun Babur
  • Constructor Details

    • RelatedGenesOfInteractionsMiner

      public RelatedGenesOfInteractionsMiner()
      Constructor that sets name and description.
  • Method Details

    • constructPattern

      public Pattern constructPattern()
      Constructs the pattern.
      Specified by:
      constructPattern in class MinerAdapter
      Returns:
      pattern
    • writeResult

      public void writeResult(Map<BioPAXElement,List<Match>> matches, OutputStream out) throws IOException
      Writes the IDs of interaction, then gene symbols of related proteins in a line.
      Parameters:
      matches - pattern search result
      out - output stream
      Throws:
      IOException - when there's a problem writing to the output stream