Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: seperate/extract only annotations from genbank (gbk) file.

by duelafn (Vicar)
on Jul 01, 2011 at 17:54 UTC ( #912391=note: print w/replies, xml ) Need Help??

in reply to seperate/extract only annotations from genbank (gbk) file.

perl -ne 'print unless /^ORIGIN$/../^\/\/$/' myfile.gbk

See also: Flipin good, or a total flop?

Good Day,

Replies are listed 'Best First'.
Re^2: seperate/extract only annotations from genbank (gbk) file.
by (Initiate) on Jul 07, 2011 at 05:39 UTC
    Hi Dean, The regex you gave is not working :( I have tried replacing ".." with other dots combination, but its not working..can you suggest something?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912391]
[LanX]: moritz, no ... jsut copy one line of my code
[moritz]: I'm still using the CB, because ambrus's #cbstream makes it bearable
[LanX]: ... the rest is loaded from a node
[holli]: the best course of action would be to transfer the data to something well tested. even if it isnt perl based
[moritz]: but even if I had all the time in the world, I wouldn't spend much on perlmonks
[LanX]: holli: LOL
[LanX]: moritz: why ? family?
[LanX]: or other language?
[moritz]: LanX because of usability issues, and the lack of evolvement
[holli]: lol to the robust charme or to the data transfer?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-11-20 19:24 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (291 votes). Check out past polls.