Vector<SequenceI> sequences;
+ private String alignmentOutput;
+
/**
* Creates a new PairwiseAlignPanel object.
*
super();
this.av = viewport;
+ StringBuilder sb = new StringBuilder(1024);
+
sequences = new Vector<SequenceI>();
SequenceGroup selectionGroup = viewport.getSelectionGroup();
{
System.out.println(DASHES);
textarea.append(DASHES);
+ sb.append(DASHES);
}
first = false;
as.printAlignment(System.out);
totscore = totscore + scores[i][j];
textarea.append(as.getOutput());
+ sb.append(as.getOutput());
sequences.add(as.getAlignedSeq1());
sequences.add(as.getAlignedSeq2());
}
{
printScoreMatrix(seqs, scores, totscore);
}
+
+ alignmentOutput = sb.toString();
}
public float[][] getScores()
return this.alignmentScores;
}
+ public String getAlignmentOutput()
+ {
+ return this.alignmentOutput;
+ }
+
/**
* Prints a matrix of seqi-seqj pairwise alignment scores to sysout
*