AlignViewport viewport;
+ boolean multiJob = false;
AlignmentI alignment;
SequenceGroup group;
List<ArgumentI> params;
{
alignment = viewport.getAlignment();
groups.addAll(viewport.getAlignment().getGroups());
+ if (groups.size() > 0)
+ {
+ multiJob = true;
+ }
break;
}
else if ("All groups".equals(value))
{
alignment = null;
groups = viewport.getAlignment().getGroups();
+ if (groups.size() > 0)
+ {
+ multiJob = true;
+ }
break;
}
else if ("Selected group".equals(value))
}
}
}
- else
+ else if (viewport != null)
{
- if (viewport != null && alignment == null)
- {
- alignment = viewport.getAlignment();
- }
+ alignment = viewport.getAlignment();
}
if (alignment != null)
}
}
+ if (forGroup && multiJob)
+ {
+ name = group.getName() + "_HMM";
+ }
if (name == null || "".equals(name))
{
- if (forGroup)
- {
- name = group.getName();
- }
- else
- {
if (af != null)
{
name = af.getTitle();
{
name = "Alignment";
}
- }
+
}
command += "-n " + name.replace(' ', '_') + cmds.SPACE;