Michael Yasayko wrote:
>> I've discovered a potentially fatal bug in the Feb 1 1993 release of
> "ReadSeq". ReadSeq, authored by Don Gilbert of Indiana University,
> conveniently converts between most of the major sequence file types that
> people have developed over the years. ReadSeq is available at:
>>ftp://ftp.bio.indiana.edu/molbio/readseq/With Readseq I couldn't read files of raw format with only one line
so I changed the code a little. I hope it won't affect any other
functionality.
---cut here for the patch file----------------
*** ureadseq.c.orig Fri Apr 4 13:27:19 1997
--- ureadseq.c Fri Apr 4 14:09:30 1997
*************** short seqFileFormatFp(
*** 1330,1336 ****
else if (foundFitch) format= kFitch;
/* no format chars: */
else if (otherlines > 0) format= kUnknown;
! else if (dnalines > 1) format= kPlain;
else if (aminolines > 1) format= kPlain;
else format= kUnknown;
--- 1330,1336 ----
else if (foundFitch) format= kFitch;
/* no format chars: */
else if (otherlines > 0) format= kUnknown;
! else if (dnalines >= 1) format= kPlain;
else if (aminolines > 1) format= kPlain;
else format= kUnknown;
----------cut--------------------------------------
save this file and run:
patch < patchfile
make all
Yours
--
***************************Jan Hellings*********************************
* Academic hospital of the Phone: (+31) 20 5667371 *
* University of Amsterdam/AMC/G02-209 FAX : (+31) 20 5664440 *
* Meibergdreef 9 *
* 1105 AZ Amsterdam/Holland Email : j.f.hellings at amc.uva.nl *
************************************************************************