Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Hexamer combination from 3mers.

by choroba (Canon)
on Oct 10, 2012 at 15:47 UTC ( #998243=note: print w/ replies, xml ) Need Help??


in reply to Hexamer combination from 3mers.

#!/usr/bin/perl use strict; use warnings; use feature 'say'; my @trimers = <>; chomp @trimers; say for glob +('{' . join(',', @trimers) . '}' ) x 2;
Update: Using glob is safe only if the data do not contain any special characters like ? * [] {} , or whitespace.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Hexamer combination from 3mers.
Select or Download Code
Re^2: Hexamer combination from 3mers.
by oxydeepu (Novice) on Oct 10, 2012 at 15:54 UTC

    Hi,
    Thanks alot. That works.
    Best,
    Deepak

Re^2: Hexamer combination from 3mers.
by daxim (Chaplain) on Oct 10, 2012 at 15:57 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2015-07-06 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (81 votes), past polls