JAL-2629 (probably not right issue) JAL-1950 - make a new alignment sequence version...
authorJim Procter <jprocter@issues.jalview.org>
Thu, 31 May 2018 16:34:56 +0000 (17:34 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 31 May 2018 16:34:56 +0000 (17:34 +0100)
src/jalview/hmmer/HMMSearch.java

index a3ac034..409ef80 100644 (file)
@@ -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);