Open reskejak opened 6 years ago
I have the same issue. I think maybe it has been fixed in the master code but not in the "release" versions available on github and/or PyPi. see https://github.com/taoliu/MACS/commit/1b5f37a5c93102eede9112bd1b6eed2a53b6da74
@taoliu - any plans to put out a new release on github and/or PyPi? it looks like you've fixed quite a few issues since the last release. I think our sysadmin people here prefer to install release versions.
What's strange is that I have already noted that correction and fixed the typo in Parser.cyx, however the bug still persists. I think there must be some other duplicate file from another build being called somewhere in my system. Perhaps it's an artifact from trying to reinstall MACS2. I'll have to figure out how to deeply clean any file relics from previous builds.
Solved the issue by editing Parser.pyx
as stated above prior to installation (from source; cannot use PyPi or conda!), in addition to installing MACS2 with Cython to regenerate the .c
files (using setup_w_cython.py
).
Note: for others with troubles successfully installing, make sure Python2.7 is firstly configured for UCS2 encoding, e.g. ./configure --enable-unicode=ucs2
.
Edit: I was going to close this issue, but as @jayoung mentioned, this fix really should be pushed to PyPi and source releases to avoid hassle.
Will upload a new release soon. Sorry I was swamped and didn't spend enough time to maintain MACS2 source code.
I've tried installing MACS2 with both pip and from source, but neither will satisfy this command. MACS2 successfully calls peaks with single samples, but I have not been able to successfully supply control samples in the same command.
Example:
Here's an example of the output error:
I appreciate any suggestions. Thank you.