Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Hexamer combination from 3mers.

by choroba (Abbot)
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 pondering the Monastery: (8)
As of 2014-12-27 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls