AlignmentI alpred = new Alignment(new SequenceI[] { al, s1, s2 });
JPredWSUtils.insertHiddenResidues(alpred, '.', new int[] { 5, 6, 7, 8,
9, 10, 11, 16, 17, 18, 19 }, orig);
- Assert.assertEquals(alpred.getSequenceAt(2).getSequenceAsString(),
- "....SSSSSSS-SS---S---SSSSSS---S....-S--SSSSSSSSS....");
- Assert.assertEquals(alpred.getSequenceAt(1).getSequenceAsString(),
- "....SSSSSSS-SSSSSSSSSSS----SSS-....S-SSS-----SSS....");
Assert.assertEquals(alpred.getSequenceAt(0).getSequenceAsString(),
"asdf-----P-P-P---P---P----P---Pasdf-P--PP---P---asdf");
+ Assert.assertEquals(alpred.getSequenceAt(1).getSequenceAsString(),
+ "....SSSSSSS-SS---S---SSSSSS---S....-S--SSSSSSSSS....");
+ Assert.assertEquals(alpred.getSequenceAt(2).getSequenceAsString(),
+ "....SSSSSSS-SSSSSSSSSSS----SSS-....S-SSS-----SSS....");
// result:
//