*
*/
public MoleculeDiffDeserialized(File file) throws IOException {
ZipFile zipFile = new ZipFile(file);
// PathNode zipRoot = new ZipPathNode(zipFile, "");
PathNode commonFgNodesPath = new ZipPathNode(zipFile,
"fgNodes/used-common/");// zipRoot.getSubPath("fgnodes/onlyIn1/");
deserializeFgNodes(zipFile, commonFgNodesPath,
commonFgNodesInDiffMolecules);
PathNode fgNodesOnlyIn1Path = new ZipPathNode(zipFile,
"fgNodes/onlyIn1/");// zipRoot.getSubPath("fgnodes/onlyIn1/");
deserializeFgNodes(zipFile, fgNodesOnlyIn1Path, fgNodesOnlyIn1);
PathNode fgNodesOnlyIn2Path = new ZipPathNode(zipFile,
"fgNodes/onlyIn2/");// zipRoot.getSubPath("fgnodes/onlyIn2/");
deserializeFgNodes(zipFile, fgNodesOnlyIn2Path, fgNodesOnlyIn2);
PathNode cgFgNodesPath = new ZipPathNode(zipFile,
"fgNodes/crossGraphFgNodes/");
deserializeCgFgNodes(zipFile, cgFgNodesPath);
functionallyGroundedBuilder.release();
PathNode moleculesOnlyIn1Path = new ZipPathNode(zipFile,
"contextual-molecules/onlyIn1/");
deserializeMolecules(moleculesOnlyIn1Path, contextualMoleculesOnlyIn1);
PathNode moleculesOnlyIn2Path = new ZipPathNode(zipFile,
"contextual-molecules/onlyIn2/");
deserializeMolecules(moleculesOnlyIn2Path, contextualMoleculesOnlyIn2);
PathNode terminalMoleculesOnlyIn1Path = new ZipPathNode(zipFile,
"terminal-molecules/onlyIn1/");
deserializeTerminalMolecules(terminalMoleculesOnlyIn1Path,
terminalMoleculesOnlyIn1);
PathNode terminalMoleculesOnlyIn2Path = new ZipPathNode(zipFile,
"terminal-molecules/onlyIn2/");
deserializeTerminalMolecules(terminalMoleculesOnlyIn2Path,
terminalMoleculesOnlyIn2);
fgNodesOnlyIn1 = new HashSet<FunctionallyGroundedNode>(fgNodesOnlyIn1);
fgNodesOnlyIn2 = new HashSet<FunctionallyGroundedNode>(fgNodesOnlyIn2);