in reply to Re^4: Read, match string and print
in thread Read, match string and print
In the other code posted here, I see that you're reading the file line by line. You can't match more than one line if you're reading/processing each line separately. You will need to either set a flag or collect all information up to a point where you know that the current set of data has ended (for example because you hit the start of the next gene or EOF), and then process the accumulated data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Read, match string and print
by sophix (Sexton) on Feb 08, 2010 at 09:47 UTC | |
by Corion (Patriarch) on Feb 08, 2010 at 10:06 UTC | |
by sophix (Sexton) on Feb 08, 2010 at 10:23 UTC | |
by Corion (Patriarch) on Feb 08, 2010 at 10:26 UTC | |
by sophix (Sexton) on Feb 08, 2010 at 10:38 UTC | |
|