This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error While running Hisat2: extract_splice_sites.py

Hi,

I am getting error while running extract_splice_sites.py from Hisat2:

/NGS_TOOLS/hisat2-2.1.0/extract_splice_sites.py transcript.gtf >transcript.ss
Traceback (most recent call last):
  /NGS_TOOLS/hisat2-2.1.0/extract_splice_sites.py", line 25, in <module>
    from collections import defaultdict as dd, Counter
ImportError: cannot import name Counter

Can anyone suggest how I can resolve it?

Thanks

rna-seq

What version of python are you using?

Hi, Actually I am running hisat2 on HPC cluster where we have all python version installed, I add particular python version in my path by using module add python3

So I tried with python3 also but it did not work>

Thanks Badribio,

I loaded pyhton 2.7.8 ,

module load apps/python/2.7.8/

And now script is working.

0 answers

No answers yet.

Log in to answer this question.