-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self.seqlet_aggregator return empty list #6
Comments
Hi @s6juncheng, You'll notice that it says "skipped 39 seqlets". A seqlet is skipped when, after the network tries to expand the seqlet on either side, the seqlet coordinates end up going off the sequence. Can you give me a bit more context such as the lengths of the regions you are running MoDISco on? The original size of the seqlets is give by I think you can alleviate this by either supplying importance scores for wider regions, or reducing the size of the seqlets. Basically, |
Hi @AvantiShri thanks for elaborating. The issue arise become many of the motifs are on the edge of the sequence. I'm wondering whether N padding the sequence will solve the problem. |
Hi @s6juncheng, Padding the importance score tracks with zeros (which I guess would be the array equivalent of padding with Ns) would indeed likely get rid of the error, but it's a less-than-ideal solution since I don't think you'd want to include the zeros when you are doing the averaging. However, it's worth trying to get an initial set of results, and if the zero padding isn't cutting it, let me know and I can look into modifying the code. |
Hi @AvantiShri
When debuging,
len(motifs)
is 0.cluster_to_seqlets
looks normal butseqlet_aggregator
gives a empty list.The text was updated successfully, but these errors were encountered: