Reverse Complement

ReverseComplement #

[[step]]
    action = "ReverseComplement"
    segment = "read1" # Any of your input segments (default: read1)

Reverse-complements the read sequence (and reverses the quality).

This supports IUPAC codes (U is complemented to A, so it’s not strictly reversible). Unknown letters are output verbatim.

Useful to combine with SwapConditional.