How to resolve IndexError: too many indices for array?
0
0
Entering edit mode
2.1 years ago

Dear all,

I am running pool-HMM on my pooled-seq data The command that I am running is:

python pool-hmm.py -n 24 -f Sample -c 3 -C 50 -P 8 -e sanger -R CM004562.1 --theta 0.005 -p -P 8 -k 0.0000000001

But it's giving the following error:

  Selective sweep prediction : started
    HMM parameters loaded
    Traceback (most recent call last):
      File "pool-hmm.py", line 311, in <module>
        prediction(k,prefix)
      File "/media/tania/TM/WG_pooled_seq_analysis/PoolHMM-master/Modules/pred.py", line 19, in prediction
        post = hmm_posterior(T,E,mu0)
      File "/media/tania/TM/WG_pooled_seq_analysis/PoolHMM-master/Modules/hmm_posterior.py", line 18, in hmm_posterior
        alpha[j,0] = E[j+1,0] * mu0[j]
    IndexError: too many indices for array

Kindly help me out in resolving the issue. Any help would be highly appreciated.

Thanks in advance

pool-HMM python pooled-seq • 297 views
ADD COMMENT

Login before adding your answer.

Traffic: 2545 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6