Printsmy $dna = 'TAgc'; my $rc = uc reverse $dna =~ tr/ATGCatgc/TUCGtucg/r; print "$dna\n$rc";
TAgc GCTU
In reply to Re: Trying to use substring to find a reverse complement in DNA,
by Anonymous Monk
in thread Trying to use substring to find a reverse complement in DNA,
by tryingnottofailmytes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |