Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2015-11-30 13:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (770 votes), past polls