119 int seqlen = strlen(LinearSeq),
124 while(ptr-LinearSeq < seqlen)
126 star = strchr(ptr,
'*');
130 seqs[NSeq] = (
char *)malloc((1+strlen(ptr)) *
sizeof(char));
131 if(seqs[NSeq] ==
NULL)
134 for(i=0; i<=NSeq; i++)
if(seqs[i] !=
NULL) free(seqs[i]);
137 strcpy(seqs[NSeq],ptr);
143 if(ptr < LinearSeq+seqlen)
145 seqs[NSeq] = (
char *)malloc((1+strlen(ptr)) *
sizeof(char));
146 if(seqs[NSeq] ==
NULL)
149 for(i=0; i<=NSeq; i++)
if(seqs[i] !=
NULL) free(seqs[i]);
152 strcpy(seqs[NSeq],ptr);
int blSplitSeq(char *LinearSeq, char **seqs)