http://www.perlmonks.org?node_id=912391


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?