Class SIFSearcher
java.lang.Object
org.biopax.paxtools.pattern.miner.SIFSearcher
Searches a model and generates SIF network using the pattern matches.
- Author:
- Ozgun Babur
-
Constructor Summary
ConstructorsConstructorDescriptionSIFSearcher(IDFetcher idFetcher, SIFMiner... miners) Constructor with ID fetcher and miners.SIFSearcher(IDFetcher idFetcher, SIFType... types) Constructor with ID fetcher and binary interaction types.SIFSearcher(SIFMiner... miners) Constructor with miners.SIFSearcher(SIFType... types) Constructor with binary interaction types. -
Method Summary
Modifier and TypeMethodDescriptionSearches the given model with the contained miners.booleansearchSIF(Model model, OutputStream out) Searches the given model with the contained miners.booleansearchSIF(Model model, OutputStream out, SIFToText stt) Searches the given model with the contained miners.searchSIFGetMatrix(Model model) Searches the given model with the contained miners.voidsetBlacklist(Blacklist blacklist) Sets the blacklist that manages IDs of ubique molecules.
-
Constructor Details
-
SIFSearcher
Constructor with binary interaction types.- Parameters:
types- sif types
-
SIFSearcher
Constructor with miners.- Parameters:
miners- sif miners
-
SIFSearcher
Constructor with ID fetcher and binary interaction types.- Parameters:
idFetcher- ID fetchertypes- sif types
-
SIFSearcher
Constructor with ID fetcher and miners.- Parameters:
idFetcher- ID fetcherminers- sif miners
-
-
Method Details
-
setBlacklist
Sets the blacklist that manages IDs of ubique molecules. This is not mandatory but need if ubiquitous small molecules are needed to be handled.- Parameters:
blacklist- for identifying ubiquitous small molecules
-
searchSIFGetMatrix
Searches the given model with the contained miners.- Parameters:
model- model to search- Returns:
- sif interactions
-
searchSIF
Searches the given model with the contained miners.- Parameters:
model- model to search- Returns:
- sif interactions
-
searchSIF
Searches the given model with the contained miners. Writes the textual result to the given output stream. Closes the stream at the end. Produces the simplest version of SIF format.- Parameters:
model- model to searchout- stream to write- Returns:
- true if any output produced successfully
-
searchSIF
Searches the given model with the contained miners. Writes the textual result to the given output stream. Closes the stream at the end.- Parameters:
model- model to searchout- stream to writestt- sif to text converter- Returns:
- true if any output produced successfully
-