in reply to finding and deleting repeated lines in a file
Your unique peptides will now be in @uniqueopen(FILE,"peptides.txt"); @peptides=<FILE>; %seen=(); @unique=grep{! $seen{$_} ++} @peptides;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: finding and deleting repeated lines in a file
by Becky (Beadle) on Jun 21, 2002 at 15:56 UTC | |
by insensate (Hermit) on Jun 21, 2002 at 17:02 UTC |