in reply to Searching file and printing
It appears that you are intending to read through the file once for each protein in @acnumbers. You may be better off opening PFAMDB inside of your foreach $acnumbers... loop, or doing a seek to the beginning of the file prior to the inner foreach loop.
The way it is currently written, PFAMDB is being read once to the end of file, where it remains for every other protein in @acnumbers.
You may also want to explore BioPerl if you have not already.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Searching file and printing
by jemswira (Novice) on Dec 31, 2011 at 02:55 UTC |