You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bases going in was {None} for me, but since a set contain None is True, it goes to the else statement. If I change the if statement to list(bases)[0] it seems to resolve the issue.
And then a final error -
KeyError: "Unable to open object (object '1000' doesn't exist)"
Ultimately I believe this is because my cooler file doesn't have a fixed bin width. Since many contigs were below the lowest bin size (1kb) it probably defaulted to a variable bin size and fails during zoomify.
Not really sure what the resolution might be, also I don't know if those particular lines are correct per se, but thought I would just point the issue out.
The text was updated successfully, but these errors were encountered:
@aakashsur thank you for reporting this - indeed the issue was with variable bin sizes - and sorry for not getting back sooner. Closing as this was fixed by @Phlya in #332
I'm have a lot of "chromosomes" (genome assembly), and it is causing me to hit this line during zoomify -
cooler/cooler/cli/zoomify.py
Line 197 in d6a7d19
In particular, the previous line seems to result in a series rather than a number -
cooler/cooler/cli/zoomify.py
Line 196 in d6a7d19
If I understand the code correctly, perhaps a line like this would work -
Then I hit another error -
Which stems from -
cooler/cooler/reduce.py
Line 462 in d6a7d19
bases
going in was{None}
for me, but since a set contain None is True, it goes to the else statement. If I change the if statement tolist(bases)[0]
it seems to resolve the issue.And then a final error -
Ultimately I believe this is because my cooler file doesn't have a fixed bin width. Since many contigs were below the lowest bin size (1kb) it probably defaulted to a variable bin size and fails during zoomify.
Here is the output of
cooler info
Not really sure what the resolution might be, also I don't know if those particular lines are correct per se, but thought I would just point the issue out.
The text was updated successfully, but these errors were encountered: