Comments (5)
I wonder, are you using macOS? I've spotted the same issue presenting for another tool GoogleCloudPlatform/gsutil#961. The consensus seems to be that the combination of multiprocessing, python3.8 and macOS can lead to this (with gsutil, anyway).
If you are using macOS, can you try to run the demo again using a conda env with python 3.9 to see if the issue persists?
from peaks2utr.
Another thing to try (either with python 3.8 or 3.9), as you are using a conda env, you might need to run pip install buildtools after activating it, and before running pip install peaks2utr. I believe some of the peaks2utr dependencies (such as MACS2) were failing to install due to the lack of buildtools. If this works for you, I'll add a note in the README.
from peaks2utr.
Thanks @haessar
Indeed I'm using macOS. Sorry for forgetting to mention this.
May I know if preferably it should be run on a linux-based machine?
I just tried to re-install by following the additional step (pip install buildtools
) before installing peaks2utr
. I also replaced Python with version 3.9 (3.9.16) this time. (I'm still trying with my macOS device though.)
But sadly I still got the error message (at the same step).
The error messages are exactly the same as the previous ones.
from peaks2utr.
Yes it's only been tested on Linux systems, and not on macOS (perhaps I should add that info to the README). If you need to continue using mac, can you try cloning the source code, and adding
multiprocessing.set_start_method("fork")
near the top of utils.py. Then build and install as described here https://github.com/haessar/peaks2utr#installation.
(from https://stackoverflow.com/a/73902878/6683132)
from peaks2utr.
Thank you so much @haessar
I tried to run the example code on my local (macOS) device just because my own mapped BAM files have all been transferred from the Linux server to my local harddisks.
I just tried to execute the example run on my Linux server and it worked perfectly fine! So the problem on my side was really because I was using macOS instead of a Linux system.
And thanks so much for your advice on the additional multiprocessing
code. I guess it would be useful to specify which line to add to the file instead of simply stating "near the top" of that file.
from peaks2utr.
Related Issues (18)
- Installation failure with Python 3.10 HOT 4
- Warning message: Genometools binary can't be called HOT 2
- Update genome annotation file with multiple samples? HOT 1
- Recommended way to convert output GFF file back to GTF? HOT 2
- Too many files open error HOT 14
- IndexError: list index out of range HOT 4
- Error "[E::idx_find_and_load] Could not retrieve index file HOT 2
- Questions about three_prime_utr annotation behavior HOT 1
- ERROR - abnormal 3' UTR HOT 2
- ValueError: Duplicate ID HOT 6
- Error in trying to run Demo HOT 4
- Use of bam file generated from Bulk RNA-seq alignment HOT 1
- sqlite3.IntegrityError HOT 2
- What is the default for the option '--max-distance'? HOT 3
- OSError: [Errno 39] Directory not empty: '/path/to/.cache' HOT 8
- Validation of matching seqids
- 'colour' variable added to GTF files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peaks2utr.