lrl1997 has asked for the wisdom of the Perl Monks concerning the following question:
I would like to use perl script to convert all ambiguous letters (R, Y, K, M, S etc) in a DNA sequence to all possible non-ambiguous letters.
For example,
to convert sequence "ARGBCTC" to:
AAGCCTC
AAGGCTC
AAGTCTC
AGGCCTC
AGGGCTC
AGGTCTC
However, there are so many different combinations (let's say only 2 ambiguous letter maximum in one sequence, how to do this in an efficient way??????????// Could anyone point me to the right direction?
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: convert ambiguous letters in a DNA sequence to all possible non-ambiguous letters
by BrowserUk (Patriarch) on Feb 16, 2013 at 01:29 UTC | |
by 7stud (Deacon) on Feb 16, 2013 at 02:55 UTC | |
by lrl1997 (Novice) on Feb 18, 2013 at 23:49 UTC | |
|
Re: convert ambiguous letters in a DNA sequence to all possible non-ambiguous letters
by AnomalousMonk (Archbishop) on Feb 16, 2013 at 04:28 UTC |