Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: merge sequences with new sequence insertion

by boftx (Deacon)
on Nov 26, 2013 at 20:22 UTC ( #1064465=note: print w/ replies, xml ) Need Help??


in reply to merge sequences with new sequence insertion

Not sure if it can be done as a one-liner, but I would slurp the input file into an array, then use join to do the concatenation (with the boundary sequence as the join expression.)

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.


Comment on Re: merge sequences with new sequence insertion
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2014-11-29 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (201 votes), past polls