- StringBuffer out = new StringBuffer();
-
- out.append("START PRED\n");
- for (int i = 0; i < s[0].sequence.length(); i++)
- {
- out.append(s[0].sequence.substring(i, i + 1) + " ");
- out.append(s[1].sequence.substring(i, i + 1) + " ");
- out.append(s[1].score[0].elementAt(i) + " ");
- out.append(s[1].score[1].elementAt(i) + " ");
- out.append(s[1].score[2].elementAt(i) + " ");
- out.append(s[1].score[3].elementAt(i) + " ");
-
- out.append("\n");
- }
- out.append("END PRED\n");
- return out.toString();
- }
-
- public static void main(String[] args)
- {
- try
- {
- BLCFile blc = new BLCFile(args[0], "File");
- DrawableSequence[] s = new DrawableSequence[blc.seqs.size()];
- for (int i = 0; i < blc.seqs.size(); i++)
- {
- s[i] = new DrawableSequence( (Sequence) blc.seqs.elementAt(i));
- }
- String out = BLCFile.print(s);
-
- AlignFrame af = new AlignFrame(null, s);
- af.resize(700, 500);
- af.show();
- System.out.println(out);
- }
- catch (java.io.IOException e)
- {
- System.out.println("Exception " + e);
- }
- }
-
- }
+ * StringBuffer out = new StringBuffer();
+ *
+ * out.append("START PRED\n"); for (int i = 0; i < s[0].sequence.length(); i++)
+ * { out.append(s[0].sequence.substring(i, i + 1) + " ");
+ * out.append(s[1].sequence.substring(i, i + 1) + " ");
+ * out.append(s[1].score[0].elementAt(i) + " ");
+ * out.append(s[1].score[1].elementAt(i) + " ");
+ * out.append(s[1].score[2].elementAt(i) + " ");
+ * out.append(s[1].score[3].elementAt(i) + " ");
+ *
+ * out.append("\n"); } out.append("END PRED\n"); return out.toString(); }
+ *
+ * public static void main(String[] args) { try { BLCFile blc = new
+ * BLCFile(args[0], "File"); DrawableSequence[] s = new
+ * DrawableSequence[blc.seqs.size()]; for (int i = 0; i < blc.seqs.size(); i++)
+ * { s[i] = new DrawableSequence( (Sequence) blc.seqs.elementAt(i)); } String
+ * out = BLCFile.print(s);
+ *
+ * AlignFrame af = new AlignFrame(null, s); af.resize(700, 500); af.show();
+ * System.out.println(out); } catch (java.io.IOException e) {
+ * System.out.println("Exception " + e); } } }