Class RelatedGenesOfInteractionsMiner
java.lang.Object
org.biopax.paxtools.pattern.miner.MinerAdapter
org.biopax.paxtools.pattern.miner.RelatedGenesOfInteractionsMiner
- All Implemented Interfaces:
Miner
Miner for the related genes (participant or controller) of interactions.
- Author:
- Ozgun Babur
-
Field Summary
Fields inherited from class org.biopax.paxtools.pattern.miner.MinerAdapter
blacklist, description, idFetcher, idMap, name -
Constructor Summary
ConstructorsConstructorDescriptionConstructor that sets name and description. -
Method Summary
Modifier and TypeMethodDescriptionConstructs the pattern.voidwriteResult(Map<BioPAXElement, List<Match>> matches, OutputStream out) Writes the IDs of interaction, then gene symbols of related proteins in a line.Methods inherited from class org.biopax.paxtools.pattern.miner.MinerAdapter
concat, 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, writeSIFsUsingSIFFramework
-
Constructor Details
-
RelatedGenesOfInteractionsMiner
public RelatedGenesOfInteractionsMiner()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 IDs of interaction, then gene symbols of related proteins in a line.- Parameters:
matches- pattern search resultout- output stream- Throws:
IOException- when there's a problem writing to the output stream
-