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
Hi, apparently dnase_wig_tracks.py python3 version crushes. Python says the reason is that GenomicInterval objects canot be compared to each other. Indeed I can't find any internal method for such comaprison in pyDNase package. In package for python2 it works however but I can't figure where it's defined. Could you give me a hint on that?
Thx!
>>> import pyDNase
>>> regions = pyDNase.GenomicIntervalSet("some.bed")
Reading BED File...
[################################] 39169/39169 - 00:00:01
>>> for each in [item for sublist in sorted(regions.intervals.values()) for item in sorted(sublist, key=lambda peak: peak.startbp)]:
... continue
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unorderable types: GenomicInterval() < GenomicInterval()
The text was updated successfully, but these errors were encountered:
Hi, apparently dnase_wig_tracks.py python3 version crushes. Python says the reason is that
GenomicInterval
objects canot be compared to each other. Indeed I can't find any internal method for such comaprison in pyDNase package. In package for python2 it works however but I can't figure where it's defined. Could you give me a hint on that?Thx!
The text was updated successfully, but these errors were encountered: