P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks, all the replies are helping me get there but it's still a bit of a nightmare to code. Here's some example inputs etc.
R = A or G
my $seq1 = "CAG GTR CAG CTG AAG SAG TCA GG"; The gaps between sets of 3 letters aren't important - it just signifies DNA codons. So, both seq 1 and seq 2 have 4 possible resulting sequences. I need to store the 4 seqs associated with seq 1 separately e.g. in a different array to those of seq 2. If you have any ideas about the best way to do this I'd be very grateful! Speed isn't a big consideration, as long as it works! Thanks for your help. In reply to Re^4: How to expand a string
by Anonymous Monk
|
|