-
Notifications
You must be signed in to change notification settings - Fork 5
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
segfault in alignment module #1
Comments
Hi, That error suggests that you are running out of RAM running minimap2. Can I ask how much RAM you have on the machine you are using? RAM usage of minimap2 (as I understand it) depends on the genome reference size so it's pretty much fixed and most often >30GB. |
Thanks, increased memory, problem solved....until I reach the P module. Looks like a spawn error....Mac OS 14.2 py 3.9.18, also tried with pyenv 3.8.18, some result Mandalorion - Isoform identification and quantification
|
That's an error I haven't seen before... It's definitely a multiprocessing error in emtrey.py and I'm researching the error now. I'm asking because a lot of pages mention this error to be a Windows thing which I have much less experience with... I'll see whether I can reproduce and fix this somehow. I have some ideas. |
Mac OSX 14.2
This might be helpful to you:
https://stackoverflow.com/questions/60691363/runtimeerrorfreeze-support-on-mac
Thanks,
I have finished some smaller analysis on a Linux server, but that is currently down and my big job was in the queue for three days! So this is a mac problem…and maybe windows too.
Peter
From: christopher-vollmers ***@***.***>
Date: Friday, February 9, 2024 at 1:38 PM
To: christopher-vollmers/Mandalorion ***@***.***>
Cc: Doris, Peter A ***@***.***>, Author ***@***.***>
Subject: Re: [christopher-vollmers/Mandalorion] segfault in alignment module (Issue #1)
External: Increase caution when handling links and attachments.
That's an error I haven't seen before...
What operating system are you using to run this?
It's definitely a multiprocessing error in emtrey.py and I'm researching the error now.
I'm asking because a lot of pages mention this error to be a Windows thing which I have much less experience with...
I'll see whether I can reproduce and fix this somehow. I have some ideas.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUEQOHF67MVBLQBJLP47RVLYSZ3KFAVCNFSM6AAAAABC26XI6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGQ4TONRRGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It's a spawn vs fork issue for sure. We aren't testing this on MacOS so there might be other spots this will break as well... I'll need a few days to figure out how to force fork over spawn in macOS and then find a Mac to test this on. But there is a lot more multiprocessing happening later in Mandalorion and all of that will break probably as well. A quick thing to try is to make python3.7 your default python3 and try to run Mandalorion that way for now. |
Doing this now and will let you know
A quick thing to try is to make python3.7 your default python3 and try to run Mandalorion that way for now.
From: christopher-vollmers ***@***.***>
Date: Friday, February 9, 2024 at 1:56 PM
To: christopher-vollmers/Mandalorion ***@***.***>
Cc: Doris, Peter A ***@***.***>, Author ***@***.***>
Subject: Re: [christopher-vollmers/Mandalorion] segfault in alignment module (Issue #1)
External: Increase caution when handling links and attachments.
It's a spawn vs fork issue for sure. We aren't testing this on MacOS so there might be other spots this will break as well...
My guess is this will run fine on a Linux machine.
I'll need a few days to figure out how to force fork over spawn in macOS and then find a Mac to test this on.
But there is a lot more multiprocessing happening later in Mandalorion and all of that will break probably as well.
A quick thing to try is to make python3.7 your default python3 and try to run Mandalorion that way for now.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUEQOHBEX5QVXSO2DGZH57DYSZ5QDAVCNFSM6AAAAABC26XI6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGUZDCNZRGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It is running OK under py 3.7.17
***@***.*** Mandalorion % python3 Mando.py -p results -g UCSC2GRCr8.sorted.gtf -G GRCr8.fasta -f Consensus_reads.fofn -M P
…----------------------------------------------------------------
Mandalorion - Isoform identification and quantification
Version - v4.3.0 - That's no moon. It's an isoform
----------------------------------------------------------------
------------------------------------------------------
Module P - .sam to .clean.sorted.psl conversion
------------------------------------------------------
converting sam output to psl format
processing read 300000
From: christopher-vollmers ***@***.***>
Date: Friday, February 9, 2024 at 1:56 PM
To: christopher-vollmers/Mandalorion ***@***.***>
Cc: Doris, Peter A ***@***.***>, Author ***@***.***>
Subject: Re: [christopher-vollmers/Mandalorion] segfault in alignment module (Issue #1)
External: Increase caution when handling links and attachments.
It's a spawn vs fork issue for sure. We aren't testing this on MacOS so there might be other spots this will break as well...
My guess is this will run fine on a Linux machine.
I'll need a few days to figure out how to force fork over spawn in macOS and then find a Mac to test this on.
But there is a lot more multiprocessing happening later in Mandalorion and all of that will break probably as well.
A quick thing to try is to make python3.7 your default python3 and try to run Mandalorion that way for now.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUEQOHBEX5QVXSO2DGZH57DYSZ5QDAVCNFSM6AAAAABC26XI6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGUZDCNZRGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
My command is
python3 Mando.py -p /work2/06127/pdoris/frontera/Mandalorion/Mandalorion/ -g UCSC2GRCr8.sorted.gtf -G GRCr8.fasta -f Consensus_reads.fofn -M A
Mandalorion - Isoform identification and quantification
Version - v4.3.0 - That's no moon. It's an isoform
this produces a very big combined fasta file. 35541118333 Feb 5 16:39 Combined.fasta
sh: line 1: 36889 Segmentation fault /work2/06127/pdoris/frontera/Mandalorion/Mandalorion/minimap2/minimap2 -G 400k --secondary=no -ax splice:hq --cs=long -uf -t 8 GRCr8.fasta /work2/06127/pdoris/frontera/Mandalorion/Mandalorion///tmp//Combined.fasta > /work2/06127/pdoris/frontera/Mandalorion/Mandalorion///tmp//mm2Alignments.sam
The text was updated successfully, but these errors were encountered: