# Reverse complement of nucleotide sequences including ambiguity codes.
tr "acgtumrykvhdbnACGTUMRYKVHDBN" "tgcaakyrmbdhvxTGCAAKYRMBDHVX" <$1 | rev

