Moving a method from AACon to SequenceUtil