LucasFVoges / GRADA

simple GRep ADapter Analyser
MIT License
1 stars 0 forks source link

Check for Mismmatch greater than shortest adapter? #32

Closed LucasFVoges closed 3 years ago

LucasFVoges commented 3 years ago

This can be a mistake (rarely a use case scenario)

if adapter seq is 2 bases and mismatch is set to 3, it will break the agrep, it will break the position detection. But in the position detection it will give an error?

after length(adapter) this can be checked very easily. and then this could be skipped with stop("massage")?

LucasFVoges commented 3 years ago

This is fixed in the initial grada_analyze() function. If an adapter is shorter ort equal the mismatch maximum, it will be skipped!