-
Notifications
You must be signed in to change notification settings - Fork 6
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
Float point error in methratio.py #31
Comments
Python3 support is still on my wishlist, so I bet that's the cause of the issue you're experiencing. Can you try creating a new conda environment with python2 as follows:
I am hoping to solve this issue with my next major update, but will update the documentation in the meantime. |
Hi, thankyou for replying. I did make a bsmapz_env as you recommended but I am still getting an samtools processing error. [methratio] @mon Nov 2 13:52:33 2020 Using 90% of available memory (376 MB) as limit NOTE : We are using bsmapz 1.1.3 version of your releases. |
It looks like your system doesn't have enough free memory this time. It looks like it only gave samtools 5MB of memory and it created more than 70,000 files, which would probably overload a distributed filesystem. Can you try re-running when you have more memory available? |
Yes. I re-ran it with larger memory system and samtools sorting seemed to work. But I am still getting an OverFlow Error : [methratio] @mon Nov 2 18:49:59 2020 Presorting inputs I was reading about this error but I read in a post of yours that this error has been fixed in 1.1.2 release and I am using 1.1.3 version. Kindly help me this. |
Hi,
I tried running methratio.py using the following command:
methratio.py -o CN_2_N_methratio.txt -d hg19.fa --pair -z -m 5 CN_2_N.bam
I got the following type error :
[methratio] @Wed Oct 21 16:13:32 2020 Using 90% of available memory (11870 MB) as limit
[methratio] @Wed Oct 21 16:13:32 2020 Presorting inputs
[methratio] @Wed Oct 21 16:13:32 2020 Processing 5 chromosomes at a time
Traceback (most recent call last):
File "/usr/bin/methratio.py", line 565, in
main()
File "/usr/bin/methratio.py", line 125, in main
chromPool = ChromPool(maxChromProcs)
File "/MGMSTAR1/SHARED/ANALYSIS/APPS/external/anoconda/lib/python3.7/multiprocessing/pool.py", line 176, in init
self._repopulate_pool()
File "/MGMSTAR1/SHARED/ANALYSIS/APPS/external/anoconda/lib/python3.7/multiprocessing/pool.py", line 231, in _repopulate_pool
for i in range(self._processes - len(self._pool)):
TypeError: 'float' object cannot be interpreted as an integer
Could you please help me with this.
All dependencies like samtools and python modules are fulfilled.
The text was updated successfully, but these errors were encountered: