http://www.perlmonks.org?node_id=653873


in reply to How to expand a string

perlcheat and perlrequick will gladly answer how to substitute either A or G in this position


Replies are listed 'Best First'.
Re^2: How to expand a string
by Anonymous Monk on Nov 29, 2007 at 15:33 UTC
    Thanks, but I don't just want to substitute, what I need to get and store is all the possible sequences from such a string. The real strings are DNA sequences 24 letters long and any of these letters may actually represent 2 or more possibilities.