Htseq-Count Error: Command Not Found
1
1
Entering edit mode
11.6 years ago
venks ▴ 740

I was trying to use

htseq-count --mode /home/user/test.sam home/homo_sapiens.GRCh37.70.gtf

I get

htseq-count: Command not found

error.

I have installed the HTSeq package and I am running this command from command line and not in python shell. Can somebody help me with this issue.

Thanks in advance.

htseq sam rna-seq rnaseq • 7.4k views
ADD COMMENT
3
Entering edit mode
11.6 years ago

htseq-count is probably a script that was installed into a location that is has not been added to your path.

find that script and run it directly or via python:

python htseq-count
ADD COMMENT
2
Entering edit mode

Thanks Albert. I still get an error that says "Python: Can't open file 'htseq-count' : [Errno 2] No such file or direcotory " ..

ADD REPLY
2
Entering edit mode

you need to actually find the script and run it from where it is located not just invoke it any place - you also need to learn what it means to run scripts in a command line environment

it will look like:

python /some/place/on/my/computer/htseq-count

and we don't know where it was installed, it should have informed you of it while you installed it

ADD REPLY
0
Entering edit mode

Thanks. Sorry about that and that works.

ADD REPLY
0
Entering edit mode

also note fomr the htseq-count website, you will need to use at least python 2.5.

Check your python version by typing

python -V
ADD REPLY

Login before adding your answer.

Traffic: 1853 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