I am trying to use Supergnova (https://github.com/YiliangTracyZhang/SUPERGNOVA) to calculate local genetic correlations from multiple GWAS summary statistics. To start with, I'm trying to run the tutorial they provide, but the final command:
python3 supergnova.py ./data/sumstats/ASD.txt.sumstats.gz ./data/sumstats/CP.txt.sumstats.gz \
--N1 46351 \
--N2 257828 \
--bfile data/bfiles/eur_chr@_SNPmaf5 \
--partition data/partition/eur_chr@.bed \
--out results.txt
gets stuck without showing any error after it has been running for more than 24 hours. From what I have read, the expected process time is between 30 min and 1 hour, which clearly suggests that something is not working properly.
I have created a conda environment with the packages required to use Supergnova (Python 3, numpy scipy, pandas, sklearn, bitarray) but since there are no previous steps and I am simply following all the steps in the tutorial, I don't know what might be going on. I would appreciate if someone could suggest me something I could try to do to solve it.
Thanks.
Without an error it would be difficult to diagnose this. Kill the process if it has not produced any output for 24 h. You may want to specify a value for threads
--threads 2
and see if that helps.Thanks for your answer and suggestion.
I am copying the message that the terminal returned after I manually stopped it if it can be helpful:
I forgot to mention that I have already tried to use a different number of threads but the problem persisted.
Which version of python3 are you using on your system? It appears based on the message above that the job was possibly stuck on threading step. Can you try to run using a single thread
--threads 1
and see if that allows the job to proceed.I am using Python 3.9.13.
I also thought that the error was coming from the use of several threads, but I tried to run it using only one and the job didn't proceed either.
You can try creating an issue (with this error) https://github.com/YiliangTracyZhang/SUPERGNOVA/issues to see if the developer would be able to help.