}
}
// this will overwrite any existing t-coffee scores for the alignment
- AlignmentAnnotation aa=al.findOrCreateAnnotation(TCOFFEE_SCORE,false,s,null);
+ AlignmentAnnotation aa=al.findOrCreateAnnotation(TCOFFEE_SCORE,TCOFFEE_SCORE,false,s, null);
if (s!=null)
{
aa.label="T-COFFEE";
aa.annotations=annotations;
aa.visible=false;
aa.belowAlignment=false;
+ aa.setScore(header.getScoreFor(id.getKey()));
aa.createSequenceMapping(s, s.getStart(),true);
s.addAlignmentAnnotation(aa);
aa.adjustForAlignment();
aa.annotations=annotations;
aa.belowAlignment=true;
aa.visible=true;
+ aa.setScore(header.getScoreAvg());
}
aa.showAllColLabels=true;
aa.validateRangeAndDisplay();
added=true;
}
+
return added;
}