Alistair Miles
Alistair Miles
Yes maybe. Possibly this means that the version of pysam that is currently installed is different from the version that pysamstats was compiled against. Did you install pysamstats from pypi...
I'd suggest to uninstall both pysam and pysamstats, running the uninstall command several times for each to make sure definitely gone (sometimes there can be multiple installations present, don't understand...
Thanks @fkokocinski.
Thanks for the feedback. I'm tied up with other work at the moment, but if anyone wants to have a crack at this, happy to discuss and/or review a PR....
Hi @gtonkinhill, yes it sounds like the C code needs to be regenerated. IIRC that involves setting up a virtual environment with numpy, pysam and latest cython installed, then running...
Hi @douym, this type of error is usually due to a version mismatch between pysamstats and pysam. The current release version of pysamstats (1.0.1) needs to be installed together with...
Closing but feel free to re-open if problem is not resolved.
Apologies @frabanal this got lost in my email backlog. Did you solve this problem, or is it still relevant?
Yes apologies, the cython source file is missing from the current distribution of pysamsats on PyPI. Workaround is to uninstall cython, install pysamstats (which will then compile from the generated...
Thanks! Looks like I forgot to add a license file, I'll do that, it will be standard MIT license, same as pysam.