reversed method

AminoAcidSequence reversed()

(en) Gets a new reversed Sequence.

(ja) 反転した新しいSequenceを取得します。

Implementation

AminoAcidSequence reversed() {
  AminoAcidSequence r = deepCopy();
  r.sequence = r.sequence.reversed.toList();
  r.direction = r.direction.reversed();
  return r;
}