It might be that tr (see Quote and Quote like Operators) will perform your reverse complement.
knoppix@Microknoppix:~$ perl -E ' > $seq = q{ACTGTGGCGTCAACTG}; > say $seq; > ( $revSeq = $seq ) =~ tr{ATCG}{TAGC}; > say $revSeq;' ACTGTGGCGTCAACTG TGACACCGCAGTTGAC knoppix@Microknoppix:~$
I hope this is helpful.
Cheers,
JohnGG
In reply to Re: Another Reverse Complement Question...
by johngg
in thread Another Reverse Complement Question...
by lkenefic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |