private jalview.datamodel.Sequence[] getVamsasAlignment(
vamsas.objects.simple.Alignment valign)
{
+ // TODO: refactor to helper class for vamsas.objects.simple objects
vamsas.objects.simple.Sequence[] seqs = valign.getSeqs().getSeqs();
jalview.datamodel.Sequence[] msa = new jalview.datamodel.Sequence[seqs.
length];
Vector alorders = new Vector();
SequenceI[][] results = new SequenceI[jobs.length][];
AlignmentOrder[] orders = new AlignmentOrder[jobs.length];
-
for (int j = 0; j < jobs.length; j++)
{
if (jobs[j].hasResults())
alorders.add(res[1]);
results[j] = (SequenceI[]) res[0];
orders[j] = (AlignmentOrder) res[1];
+
// SequenceI[] alignment = input.getUpdated
}
else
SequenceI[] alignment = (SequenceI[]) newview[0];
ColumnSelection columnselection = (ColumnSelection) newview[1];
Alignment al = new Alignment(alignment);
-
+ // TODO: add 'provenance' property to alignment from the method notes accompanying each subjob
if (dataset != null)
{
al.setDataset(dataset);
else
{
System.out.println("MERGE WITH OLD FRAME");
-
+ // TODO: modify alignment in original frame, replacing old for new alignment using the commands.EditCommand model to ensure the update can be undone
}
}