From b0521a7e15e87f87e6caec2ab89b5eb507e4c85c Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 13 May 2009 07:33:39 +0000 Subject: [PATCH] Accept to deal with sequence in lower case git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPrimers/trunk@214 60f365c0-8329-0410-b2a4-ec073aeeaa1d --- src/libecoPCR/ecoseq.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libecoPCR/ecoseq.c b/src/libecoPCR/ecoseq.c index 10bb68a..1368be9 100644 --- a/src/libecoPCR/ecoseq.c +++ b/src/libecoPCR/ecoseq.c @@ -100,6 +100,8 @@ ecoseq_t *readnext_ecoseq(FILE *f) int32_t comp_status; unsigned long int seqlength; int32_t rs; + char *c; + int32_t i; raw = read_ecorecord(f,&rs); @@ -144,6 +146,9 @@ ecoseq_t *readnext_ecoseq(FILE *f) if (comp_status != Z_OK) ECOERROR(ECO_IO_ERROR,"I cannot uncompress sequence data"); + for (c=seq->SQ,i=0;iDE,seq->SQ_length); return seq; }