X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FSequenceAnnotationReport.java;fp=src%2Fjalview%2Fio%2FSequenceAnnotationReport.java;h=d3191f93bf9b90ebc749c1a0c6d9ec51e27c3432;hb=ed581b841fe9361bfe80bb006df190a29df264fb;hp=5ada3554e45fee13d1dff040e8bd785ab3a000f3;hpb=940b13e266be76ac186330c615c39989cce654c7;p=jalview.git diff --git a/src/jalview/io/SequenceAnnotationReport.java b/src/jalview/io/SequenceAnnotationReport.java index 5ada355..d3191f9 100644 --- a/src/jalview/io/SequenceAnnotationReport.java +++ b/src/jalview/io/SequenceAnnotationReport.java @@ -63,7 +63,7 @@ public class SequenceAnnotationReport * Comparator to order DBRefEntry by Source + accession id (case-insensitive), * with 'Primary' sources placed before others, and 'chromosome' first of all */ - private static Comparator comparator = new Comparator() + private static Comparator comparator = new Comparator<>() { @Override @@ -394,7 +394,23 @@ public class SequenceAnnotationReport maxWidth = Math.max(maxWidth, sz); } } + + sb.append("
"); + if (sequence.getAnnotation("Search Scores") != null) + { + String eValue = " E-Value: " + + sequence.getAnnotation("Search Scores")[0].getEValue(); + String bitScore = " Bit Score: " + + sequence.getAnnotation("Search Scores")[0].getBitScore(); + sb.append(eValue); + sb.append("
"); + sb.append(bitScore); + maxWidth = Math.max(maxWidth, eValue.length()); + maxWidth = Math.max(maxWidth, bitScore.length()); + } + sb.append("
"); sb.append(""); + return maxWidth; }