}
ContactMatrixI matrix = new PAEContactMatrix(sequence,
(Map<String, Object>) paeDict);
+ ((PAEContactMatrix) matrix).makeGroups(5f, true);
AlignmentAnnotation cmannot = sequence.addContactList(matrix);
if (label != null)
SequenceI seq = sm.getSequence();
Console.debug("##### SEQUENCE FOUND=" + seq.getName());
- Map<String, Object> paeObject = (Map<String, Object>) pae_obj;
-
- ContactMatrixI matrix = new PAEContactMatrix(seq, paeObject);
+ ContactMatrixI matrix = new PAEContactMatrix(seq,
+ (Map<String, Object>) pae_obj);
+ ((PAEContactMatrix) matrix).makeGroups(5f, true);
AlignmentAnnotation cmannot = seq.addContactList(matrix);
- if (label != null)
- {
- cmannot.label = label;
- }
+ seq.addAlignmentAnnotation(cmannot);
// seq.addAlignmentAnnotation(cmannot);
return true;