Closed rfarouni closed 6 years ago
I wonder if this is a reproducible example of this https://github.com/deeptools/deepTools/issues/641
Thanks for reporting this issue, I'll have a look!
I can reproduce this with python 3.5 but not 2.7, I suspect it's a weird python 3 issue that I never took care of.
@dpryan79 Thanks! Can I use the validate=False flag for now if I know the the order of the chromosomes?
This is caused by the code incorrectly handling lists of python3 Unicode strings. Using validate=False
will result in largely useless results (you won't be able to query anything), so you'll need for me to push out a fix (hopefully today or tomorrow).
You've provided a nice test case, so version 0.3.10 with this fixed is likely to come out in a few hours.
@dpryan79 Thanks!
Version 0.3.10 is available via pip and I'm adding it to conda now.
When I try to create a bigwig file from numpy data, I get an error. Here is the code
and here is the error
I checked whether pyBigWig was installed with numpy
Now if I add validate false flag,
bw.addEntries(chroms, starts, ends=ends, values=values0, validate=False)
I get this warning but the file saves correctly
The version I am using is
pybigwig 0.3.9 np113py36_0 bioconda