Optimised sequence parsing (from previous commit)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user