This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to resolve IndexError: too many indices for array?

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

0 answers

No answers yet.

Log in to answer this question.