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 choroba (Chancellor)
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
Replies are listed 'Best First'.
Re^2: Hexamer combination from 3mers.
by daxim (Chaplain) on Oct 10, 2012 at 15:57 UTC
Re^2: Hexamer combination from 3mers.
by oxydeepu (Novice) on Oct 10, 2012 at 15:54 UTC

    Hi,
    Thanks alot. That works.
    Best,
    Deepak

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 perusing the Monastery: (5)
As of 2016-04-30 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.