/*
* verify that mapping sets for dna and cds alignments are different
*/
+ // select -> subselect type to test.
Assert.assertNotSame(dna.getCodonFrames(), cds.getCodonFrames());
assertEquals(4, dna.getCodonFrames());
assertEquals(4, cds.getCodonFrames());
* execute method under test
*/
AlignmentI cdsal = AlignmentUtils.makeCdsAlignment(
- new SequenceI[] { dna1 }, dna);
+ new SequenceI[] { dna1 }, dna.getDataset());
/*
* Verify we have 3 cds sequences, mapped to pep1/2/3 respectively
dna.addCodonFrame(acf);
AlignmentI cds = AlignmentUtils.makeCdsAlignment(new SequenceI[] {
- dna1, dna2, dna3 }, dna);
+ dna1, dna2, dna3 }, dna.getDataset());
List<SequenceI> cdsSeqs = cds.getSequences();
assertEquals(2, cdsSeqs.size());
assertEquals("GGGCCCTTTGGG", cdsSeqs.get(0).getSequenceAsString());