-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python int too large to convert to C long #142
Comments
Hi Tao, my OS is ubuntu 16.04.1 LTS. But I'm not sure the version of my C library. I've tried to run the ldd (Ubuntu GLIBC 2.23-0ubuntu3) 2.23 Otherwise I've also tried the commend: apt-cache show libc6, then the Package: libc6 I hope it'll be useful to you. Kind regards. 2016-08-18 22:10 GMT+02:00 Tao Liu (τν) notifications@github.com:
|
Hi Junxi, I noticed that the 'architecture' is i386 which means the library is for 32bit system. This might be the main reason why it said 'Python int too large'. I recommend you re-install MACS2 in a 64bit system and try again. As for Ubuntu, it means the 'amd64' version. Best, |
Hi Tao, You're right. I've reinstalled MACS2 in the 64bit system. Now everything is If it's possible, please tell the other Ubuntu-users that MACS2 is just for Kind regards, 2016-08-19 18:14 GMT+02:00 Tao Liu (τν) notifications@github.com:
|
Hi, all,
Just ran MACS2 (2.1.1.20160309) using -f BAM and got this error:
WARNING @ Thu, 18 Aug 2016 17:07:57: #2 Since the d (85) calculated from paired-peaks are smaller than 2*tag length, it may be influenced by unknown sequencing problem!
WARNING @ Thu, 18 Aug 2016 17:07:57: #2 You may need to consider one of the other alternative d(s): 85,488,546
WARNING @ Thu, 18 Aug 2016 17:07:57: #2 You can restart the process with --nomodel --extsize XXX with your choice or an arbitrary number. Nontheless, MACS will continute computing.
INFO @ Thu, 18 Aug 2016 17:07:57: #3 Call peaks...
Traceback (most recent call last):
File "/home/junxi/.local/bin/macs2", line 617, in
main()
File "/home/junxi/.local/bin/macs2", line 57, in main
run( args )
File "/home/junxi/.local/lib/python2.7/site-packages/MACS2/callpeak_cmd.py", line 264, in run
peakdetect.call_peaks()
File "MACS2/PeakDetect.pyx", line 105, in MACS2.PeakDetect.PeakDetect.call_peaks (MACS2/PeakDetect.c:1632)
File "MACS2/PeakDetect.pyx", line 157, in MACS2.PeakDetect.PeakDetect.__call_peaks_w_control (MACS2/PeakDetect.c:1942)
OverflowError: Python int too large to convert to C long
Have you any thoughts? Thanks!
PS: the version of python is 2.7.12.
The text was updated successfully, but these errors were encountered: