예제 #1
0
 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++;
   }
 }
예제 #2
0
 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));
   }
 }