ContactMatrixI matrix = new PAEContactMatrix(sm.getSequence(),
(Map<String, Object>) pae_obj);
-
+ ((PAEContactMatrix) matrix).makeGroups(5f, true);
AlignmentAnnotation cmannot = sm.getSequence().addContactList(matrix);
- // sm.getSequence().addAlignmentAnnotation(cmannot);
- sm.transfer(cmannot);
- // return true;
-
- StructureSelectionManager ssm = StructureSelectionManager
- .getStructureSelectionManager(Desktop.instance);
- List<AlignedCodonFrame> acfList = ssm.getSequenceMappings();
+ sm.getSequence().addAlignmentAnnotation(cmannot);
return true;
}