it includes IUPAC consensus characters:
sub reverse_complement () {
my $new = $_[0];
$new =~ tr/acgtrymkbdhvACGTRYMKBDHV/tgcayrkmvhdbTGCAYRKMVHDB/;
$new = reverse ($new);
return ($new); }
Write comment (0 Comments)
Reverse complement function in PERLit includes IUPAC consensus characters: sub reverse_complement () {
Write comment (0 Comments)
|
||
|
||
|
|
||