* complementary type if !direct
*/
{
- boolean isDna = Comparison
- .isNucleotide(new SequenceI[] { nxt });
+ boolean isDna = !nxt.isProtein();
if (direct ? (isDna != fromDna) : (isDna == fromDna))
{
// skip this sequence because it is wrong molecule type