YosefLab / epitome

Pipeline for predicting ChIP-seq peaks in novel cell types using chromatin accessibility
10 stars 5 forks source link

cannot update pyranges to 0.0.92 #52

Closed akmorrow13 closed 3 years ago

akmorrow13 commented 3 years ago

Fails with error:

ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'int'

Issue is in pyranges, loading bed files

akmorrow13 commented 3 years ago

Fix: setint64=True in bed2Pyranges in functions.py

akmorrow13 commented 3 years ago

Fixed in https://github.com/YosefLab/epitome/pull/48

RK900 commented 3 years ago

Whenever joining two pyranges objects, make sure both have been initialized with int64=True.