[Bioperl-l] Linefeed mix-up (bug #903)

Brad Langhorst brad@langhorst.com
Thu, 22 Feb 2001 09:08:37 -0500


On Thursday 22 February 2001 02:46 am, you wrote:
> "Brad Langohrst (by way of Brad Langohrst )" wrote:
> > I've been a lurker for a really long while....
> >
> > It should be possible to do the parse without passing any extra
> > parameters. If you know the file you are reading is a relatively small
> > text file this method should be safe to use...
> >
> > 1 - read in the file to an array with EOL set to \r\n
>
> Well, in BioPerl the SeqIO system has to deal with files that
> easily exceed hundreds of MB :-)
>
> 	Hilmar

i realize that  - however - 
you don't have to read the whole file into an array, just a few lines is 
sufficient to determine the EOL.  Hopefully the EOL does not change in the 
same file.

brad