From 6ae704607182f1213b9736380f272026e0bec4f6 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 30 Mar 2018 10:37:40 +0100 Subject: [PATCH] JAL-2939 simplified way of getting hmm consensus residue --- src/jalview/analysis/AAFrequency.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.7.10.2