Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Hexamer combination from 3mers.

by daxim (Chaplain)
on Oct 10, 2012 at 15:53 UTC ( #998245=note: print w/ replies, xml ) Need Help??


in reply to Hexamer combination from 3mers.

use 5.010; use Algorithm::Combinatorics qw(variations_with_repetition); say join q(), @{ $_ } for variations_with_repetition [qw(ABC EFG KLM XYZ)], 2; __END__ ABCABC ABCEFG ABCKLM ABCXYZ EFGABC EFGEFG EFGKLM EFGXYZ KLMABC KLMEFG KLMKLM KLMXYZ XYZABC XYZEFG XYZKLM XYZXYZ


Comment on Re: Hexamer combination from 3mers.
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998245]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-10-02 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls