Class AbstractSIFMiner
java.lang.Object
org.biopax.paxtools.pattern.miner.MinerAdapter
org.biopax.paxtools.pattern.miner.AbstractSIFMiner
- Direct Known Subclasses:
CatalysisPrecedesMiner,ChemicalAffectsThroughBindingMiner,ChemicalAffectsThroughControlMiner,ConsumptionControlledByMiner,ControlsDegradationIndirectMiner,ControlsExpressionMiner,ControlsStateChangeOfMiner,ControlsTransportOfChemicalMiner,CSCOBothControllerAndParticipantMiner,CSCOThroughDegradationMiner,InComplexWithMiner,InteractsWithMiner,NeighborOfMiner,ReactsWithMiner,UsedToProduceMiner
Base class for SIF Miners.
- Author:
- Ozgun Babur
-
Field Summary
Fields inherited from class org.biopax.paxtools.pattern.miner.MinerAdapter
blacklist, description, idFetcher, idMap, name -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSIFMiner(SIFType type) Constructor with interaction type.AbstractSIFMiner(SIFType type, String supplName, String supplDesc) Constructor with interaction type, supplementary name, supplementary description, and ubiquitous IDs. -
Method Summary
Modifier and TypeMethodDescriptionGets the type of the interaction.protected voidSets the SIF typevoidwriteResult(Map<BioPAXElement, List<Match>> matches, OutputStream out) Writes the result as "A used-for-production-of B", where A and B are small molecule names, and whitespace is tab.Methods inherited from class org.biopax.paxtools.pattern.miner.MinerAdapter
concat, constructPattern, createSIFInteraction, fetchIDs, getCellularLocations, getChain, getCompoundName, getDeltaCompartments, getDeltaModifications, getDescription, getGeneSymbol, getGeneSymbol, getHeader, getIdentifiers, getIdMap, getMediatorLabels, getModifications, getModifications, getModificationTerm, getName, getPattern, getPositionInString, getPositionStart, getRelationType, getSourcePELabels, getTargetPELabels, getUniprotNameForHuman, getUniprotNameForHuman, getValue, isInhibition, labeledInactive, removeCommon, setBlacklist, setDescription, setIDFetcher, setIdMap, setName, sign, sign, toString, toStringSet, writeResultAsSIF, writeResultDetailed, writeSIFsUsingSIFFrameworkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.pattern.miner.Miner
getDescription, getName, getPatternMethods inherited from interface org.biopax.paxtools.pattern.miner.SIFMiner
createSIFInteraction, getSourceLabel, getTargetLabel, setBlacklist, setIDFetcher
-
Constructor Details
-
AbstractSIFMiner
Constructor with interaction type.- Parameters:
type- SIF type
-
AbstractSIFMiner
Constructor with interaction type, supplementary name, supplementary description, and ubiquitous IDs. Supplementary name and description are sometimes needed, because there can be multiple miners for the same binary interaction type. In that case these supplementary data is augmented to the name and description of the interaction type.- Parameters:
type- SIF typesupplName- supplementary namesupplDesc- supplemantary description
-
-
Method Details
-
writeResult
public void writeResult(Map<BioPAXElement, List<Match>> matches, OutputStream out) throws IOExceptionWrites the result as "A used-for-production-of B", where A and B are small molecule names, and whitespace is tab.- Specified by:
writeResultin interfaceMiner- Parameters:
matches- pattern search resultout- output stream- Throws:
IOException- when there's a problem writing to the output stream
-
getSIFType
Description copied from interface:SIFMinerGets the type of the interaction.- Specified by:
getSIFTypein interfaceSIFMiner- Returns:
- interaction type
-
setType
Sets the SIF type- Parameters:
type- interaction type
-