# Reverse complement all the sequences in a fasta file.
# This is an example of combining the tools in this directory.

awk -f fasta2seq.awk $1 |\
tr "acgtumrykvhdbnACGTUMRYKVHDBN" "tgcaakyrmbdhvxTGCAAKYRMBDHVX" |\
rev |\
awk -f seq2fasta.awk definitions="`grep "^>" $1 | sed 's/\n//g'`"

