Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: merge sequences with new sequence insertion

by Kenosis (Priest)
on Nov 26, 2013 at 20:41 UTC ( #1064472=note: print w/replies, xml ) Need Help??


in reply to merge sequences with new sequence insertion

Perhaps the following will be helpful:

perl -ne 'chomp; $x=0; print if /^(?<!>)\S+$/' input_file.txt >output_ +file.txt

Output on your dataset:

tttgctcggaggggatcgaaaacacttccttattatacaggtaaaccgtatttggataaagctcggaggg +gatcccct

Edit: Sorry... Didn't notice the "insert" spec.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1064472]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-02-24 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (353 votes). Check out past polls.