Menu

#49 bbduk: 'rename' doesn't work if 'mincovfraction' is set

1.0
open
nobody
None
2021-10-16
2021-10-16
jdv
No

It seems using bbduk.sh that the option rename does not work if mincovfraction is set to any value > 0. Referencing the source of the latest release 38.94, the issue appears to happen in the if/else block starting at line 2715 of BBDuk.java. The renaming happens in the function findBestMatch(), and that is only called from within the else block indicated if the condition minCoveredFraction>0 is false.

I'm not entirely sure if this is intended behavior or not, but I don't see why it would be. For now we will have to use minkmerfraction since we need to know which reference sequence was matched.

Discussion


Log in to post a comment.