Class UbiquitousIDMiner
java.lang.Object
org.biopax.paxtools.pattern.miner.MinerAdapter
org.biopax.paxtools.pattern.miner.UbiquitousIDMiner
- All Implemented Interfaces:
Miner
Miner for getting ubiquitous small molecules in a model.
- Author:
- Ozgun Babur
-
Field Summary
Fields inherited from class org.biopax.paxtools.pattern.miner.MinerAdapter
blacklist, description, idFetcher, idMap, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstructs the pattern.Gets header of the result file.Gets the ids of the small molecule reference and its physical entities.voidwriteResult(Map<BioPAXElement, List<Match>> matches, OutputStream out) Writes the result as "A B", where A and B are gene symbols, and whitespace is tab.Methods inherited from class org.biopax.paxtools.pattern.miner.MinerAdapter
concat, createSIFInteraction, fetchIDs, getCellularLocations, getChain, getCompoundName, getDeltaCompartments, getDeltaModifications, getDescription, getGeneSymbol, getGeneSymbol, getIdentifiers, getIdMap, getMediatorLabels, getModifications, getModifications, getModificationTerm, getName, getPattern, getPositionInString, getPositionStart, getRelationType, getSourcePELabels, getTargetPELabels, getUniprotNameForHuman, getUniprotNameForHuman, isInhibition, labeledInactive, removeCommon, setBlacklist, setDescription, setIDFetcher, setIdMap, setName, sign, sign, toString, toStringSet, writeResultAsSIF, writeResultDetailed, writeSIFsUsingSIFFramework
-
Constructor Details
-
UbiquitousIDMiner
public UbiquitousIDMiner()Constructor that sets name and description.
-
-
Method Details
-
constructPattern
Constructs the pattern.- Specified by:
constructPatternin classMinerAdapter- Returns:
- pattern
-
writeResult
public void writeResult(Map<BioPAXElement, List<Match>> matches, OutputStream out) throws IOExceptionWrites the result as "A B", where A and B are gene symbols, and whitespace is tab.- Parameters:
matches- pattern search resultout- output stream- Throws:
IOException- when there's a problem writing to the output stream
-
getHeader
Gets header of the result file.- Overrides:
getHeaderin classMinerAdapter- Returns:
- header
-
getValue
Gets the ids of the small molecule reference and its physical entities.- Overrides:
getValuein classMinerAdapter- Parameters:
m- current matchcol- current column- Returns:
- ubique IDs
-