From: gmungoc Date: Fri, 30 Mar 2018 09:37:40 +0000 (+0100) Subject: JAL-2939 simplified way of getting hmm consensus residue X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6ae704607182f1213b9736380f272026e0bec4f6;p=jalview.git JAL-2939 simplified way of getting hmm consensus residue --- diff --git a/src/jalview/analysis/AAFrequency.java b/src/jalview/analysis/AAFrequency.java index 1553021..11c8f72 100755 --- a/src/jalview/analysis/AAFrequency.java +++ b/src/jalview/analysis/AAFrequency.java @@ -385,8 +385,8 @@ public class AAFrequency String description = isNaN ? null : String.format("%.4f bits", value); information.annotations[column] = new Annotation( - Character.toString(Character - .toUpperCase(hmm.getConsensusAtAlignColumn(column))), + Character.toString( + Character.toUpperCase(hmmSeq.getCharAt(column))), description, ' ', value); }