Commit 9f08b85e by Celine Mercier

Optimised sequence parsing (from previous commit)

parent d7cd7e26
......@@ -174,8 +174,8 @@ void seq_fillSeqOnlyATGC(char *seq, fastaSeqPtr seqElem, int seqLen)
c = seq[index++];
if (strchr(seqAlphabets, c) != NULL)
seqTemp[seqIndex++] = tolower(c);
else if ((c == '\n') && (seq[index+1]=='\0'))
goOnParsing = 0; //End of line character terminating the sequence has been reached.
else if (seq[index+1]=='\0')
goOnParsing = 0; // end of the sequence has been reached.
else if (c != '\n')
notAllATGC = 1;
if (index == len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment