my @arr = ("A[TCG]GG 3", "CTG[AA] 4"); for (@arr) { s/ .*//; s/\[[ATCG]+\]/S/g; } print join "\n", @arr;
In reply to Re: Multiple Transformations with "map"
by TedPride
in thread Multiple Transformations with "map"
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |