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

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,
    Dean

Replies are listed 'Best First'.
Re^2: seperate/extract only annotations from genbank (gbk) file.
by bees.world (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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912391]
help
Chatterbox?
[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
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (291 votes). Check out past polls.

    Notices?