public Alignment<S> invert(S sequence2) {
        return new Alignment<>(sequence2, getRelativeMutations().invert().move(sequence2Range.getFrom()),
                sequence2Range, sequence1Range, score);
    }
public Alignment < S > invert ( S sequence2 ) { return new Alignment < > ( sequence2 , getRelativeMutations ( ) . invert ( ) . move ( sequence2Range . getFrom ( ) ) , sequence2Range , sequence1Range , score ) ; }
Having sequence2 creates alignment from sequence2 to sequence1

@param sequence2 sequence2
@return inverted alignment