From dc768c72d1aeffd0184dc6da80bc00cddb921e70 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 31 May 2018 17:34:56 +0100 Subject: [PATCH] =?utf8?q?JAL-2629=20(probably=20not=20right=20issue)=20JAL-?= =?utf8?q?1950=20-=20make=20a=20new=20alignment=20sequence=20version=20of=20?= =?utf8?q?HMM=20that=20was=20used=20to=20search=20the=20database=20before=20?= =?utf8?q?adding=20to=20results=20to=20avoid=20breaking=20jalview=E2=80=99s=20?= =?utf8?q?alignment=20data=20model!?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/hmmer/HMMSearch.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/hmmer/HMMSearch.java b/src/jalview/hmmer/HMMSearch.java index a3ac034..409ef80 100644 --- a/src/jalview/hmmer/HMMSearch.java +++ b/src/jalview/hmmer/HMMSearch.java @@ -362,6 +362,7 @@ public class HMMSearch extends HmmerCommand int seqCount = Math.min(seqs.length, seqsToReturn); SequenceI[] hmmAndSeqs = new SequenceI[seqCount + 1]; + hmmSeq = hmmSeq.deriveSequence(); // otherwise all bad things happen hmmAndSeqs[0] = hmmSeq; System.arraycopy(seqs, 0, hmmAndSeqs, 1, seqCount); -- 1.7.10.2