return pn;
}
private void runPhaseThree(final ProtoNetwork orthoPn)
throws ProtoNetworkError {
final Index resourceIndex = ResourceIndex.INSTANCE.getIndex();
final ResourceLocation pfResource = resourceIndex
.getProteinFamilyResource();
final Document pfdoc = readResource(pfResource);
p3.pruneFamilies(false, pfdoc, orthoPn);
p3.inferFamilies(pfdoc, orthoPn);
final ProtoNetwork pfpn = p3.compile(pfdoc);
p3.merge(orthoPn, pfpn);
final ResourceLocation ncResource = resourceIndex
.getNamedComplexesResource();
final Document ncdoc = readResource(ncResource);
p3.pruneComplexes(false, ncdoc, orthoPn);
final ProtoNetwork ncpn = p3.compile(ncdoc);
p3.merge(orthoPn, ncpn);
final ResourceLocation gsResource = resourceIndex
.getGeneScaffoldingResource();
final Document gsdoc = readResource(gsResource);
p3.pruneGene(gsdoc, orthoPn);
final ProtoNetwork gspn = p3.compile(gsdoc);
p3.merge(orthoPn, gspn);