From: Thomas <170013569@dundee.ac.uk> Date: Thu, 11 Jul 2019 14:11:52 +0000 (+0100) Subject: JAL-2629 hmmer searches include seqs past inclusion threshold in output X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a3bed79406073da41d03e8278733e4beae172e6e;p=jalview.git JAL-2629 hmmer searches include seqs past inclusion threshold in output --- diff --git a/src/jalview/hmmer/Search.java b/src/jalview/hmmer/Search.java index 24bd6b7..2fad426 100644 --- a/src/jalview/hmmer/Search.java +++ b/src/jalview/hmmer/Search.java @@ -69,9 +69,13 @@ public abstract class Search extends HmmerCommand int index = 0; - while (!" ------ inclusion threshold ------".equals(line) - && !"".equals(line)) + while (!"".equals(line) && line != null) { + if (" ------ inclusion threshold ------".equals(line)) + { + line = br.readLine(); + continue; + } Scanner scanner = new Scanner(line); String evalue = scanner.next(); @@ -81,6 +85,7 @@ public abstract class Search extends HmmerCommand evalue = scanner.next(); } + String score = scanner.next(); checkSequenceOrder(index, scanner); SequenceI seq = seqs[index];