mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
Add the possibility to look for patterns allowing indels.
Former-commit-id: 0599c2b0ad16df086dbdb08e491503870d8904be
This commit is contained in:
@@ -337,7 +337,7 @@ int32_t delete_apatseq(SeqPtr pseq,
|
||||
return 1;
|
||||
}
|
||||
|
||||
PatternPtr buildPattern(const char *pat, int32_t error_max,
|
||||
PatternPtr buildPattern(const char *pat, int32_t error_max, uint8_t hasIndel,
|
||||
int *errno, char **errmsg)
|
||||
{
|
||||
PatternPtr pattern;
|
||||
@@ -355,7 +355,7 @@ PatternPtr buildPattern(const char *pat, int32_t error_max,
|
||||
errno,errmsg);
|
||||
|
||||
pattern->ok = true;
|
||||
pattern->hasIndel= false;
|
||||
pattern->hasIndel= hasIndel;
|
||||
pattern->maxerr = error_max;
|
||||
|
||||
pattern->cpat = (char*)pattern + sizeof(Pattern);
|
||||
|
||||
Reference in New Issue
Block a user