public void calMFBPCCsize(GoSet aGoSet) { this.MFOsize = 0; this.BPOsize = 0; this.CCOsize = 0; for (int node : this.Annotation) { if (aGoSet.getSpace(node) == 'F') this.MFOsize++; if (aGoSet.getSpace(node) == 'P') this.BPOsize++; if (aGoSet.getSpace(node) == 'C') this.CCOsize++; } }
public void OutputType3Annotation(PrintWriter Fout, GoSet aGoSet) { ArrayList<Integer> Ann = new ArrayList<Integer>(); for (Integer i : Annotation) { Ann.add(i); } Collections.sort(Ann); for (Integer i : Ann) { if (this.getStoreAnnotationSize(aGoSet.getSpace(i)) == 0) Fout.println(this.access + "\t" + proteinCommon.GOInt2Str(i)); } }