Skip to content

ValueError: Window (25) cannot be longer than the sequences #131

@Aria-D

Description

@Aria-D

Hi,

I am trying to run tfmodisco-lite on my one-hot encoded sequences and calculated attributions but am getting this error with "-w" argument to "modisco motifs".

In this error message, I tried it with a window size of 25, but even with a size of 1 the error message persists. The size of my attrs and seqs are:
SEQ: (46542, 4, 200)
ATTR: (46542, 4, 200)

which I believe is consistent with the tutorial? Even if I try transposing or swapping the 4-channel dimension, I get the same error. I was able to run modisco-lite with no issues a couple of months ago. I started getting this error ~2 weeks ago.

Any help with this issue would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions