RE: A loop to parse a large text file--output is empty!

2006-06-23 Thread Michael Oldham
t done -Original Message- From: Muma W. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 12:20 AM To: Beginners List Subject: Re: A loop to parse a large text file--output is empty! Michael Oldham wrote: > Dear all, > > I am a Perl newbie struggling to accomplish

RE: A loop to parse a large text file--output is empty!

2006-06-13 Thread Michael Oldham
ent: Tuesday, June 13, 2006 6:59 PM To: Michael Oldham; [EMAIL PROTECTED] Org Subject: RE: A loop to parse a large text file--output is empty! One problem is that you are using the $_ variable twice. "while()" assigns $_ to the current line being read, and "foreach(@array)" as

A loop to parse a large text file--output is empty!

2006-06-13 Thread Michael Oldham
Dear all, I am a Perl newbie struggling to accomplish a conceptually simple bioinformatics task. I have a single large file containing about 200,000 DNA probe sequences (from an Affymetrix microarray), each of which is accompanied by a header, like so (this is in FASTA format): >probe:HG_U95Av2: