Conversation
|
Thanks for the contribution. Would you mind undoing the formatting changes? It's making it challenging to see what the actual contribution is. |
acb32a2 to
d65afaf
Compare
|
Ah yes sorry it was ruff stuff I removed the formatting |
|
My recollection is that the number of gapped k-mers that could be considered for a sequence is not data-dependant. The only filtering being done here is to make sure that each considered gkmer is a valid gkmer. Why wouldn't you just reduce |
|
I went back to see the data that caused the bug, and I understand better now: I used a Yes it's possible get ride of the bug by decreasing So finally I'm wondering if there is much to do ^^. Maybe raising an Error explaining what parameters to change in order to avoid the bug ? |
|
Hi @thomasopsomer, tfmodisco-lite has been merged into the official TF-MoDISco repository. We encourage you to re-open your PR there. |
Hello @jmschrei,
I had issues in the function that computes scores for the gapped kmers:
_extract_gkmersin_seqlet_to_gkmers. It seems that if there is less gapped kmers extracted than the parametermax_entriesthere is a bug. It's just a quick fix that ensure we don't have size issues but I didn't really think this a lot :)