Htseq Count Not Working
1
0
Entering edit mode
12.6 years ago
monukmr98 ▴ 80

Hi all I have installed HTSeq count from the site http://pypi.python.org/pypi/HTSeq . then on my mac system, I unpacked the folder and run the command python setup.py build it goes right. I also has xcode installed on it. but when I run command htseq-count OR python -m HTSeq.scripts.count then these commands are not recongnized.

Thanks in advance Kumardeep

htseq counts • 7.1k views
ADD COMMENT
0
Entering edit mode

what is the exact commandline you give and what error do you get?

ADD REPLY
0
Entering edit mode

FOR command: htseq-count error is -bash: htseq-count: command not found FOR command: python -m HTSeq.scripts.count error is /usr/bin/python: No module named _HTSeq

I have mac os lion..... while installing it showed no error. Thanks

ADD REPLY
1
Entering edit mode
12.6 years ago
Niek De Klein ★ 2.6k

Did you do

python setup.py install

after the build?

ADD COMMENT
0
Entering edit mode

Hi Klein I did not use the above said command. And when I used it by using like

sudo python setup.py install

It got installed and now the previous errors are not coming, means the commands are working fine. But I was wondering that official website (http://www-huber.embl.de/users/anders/HTSeq/doc/install.html#install) does not mention any such command ? Don't know why ?

They say to use install command when your folder does not contain src subfolder i.e. when you have source code downloaded. I downloaded the same source code with src as subfolder; so it was supposed to work with build command only. anyway its working Thanks again Kumardeep

ADD REPLY
1
Entering edit mode

It says: Afterwards, proceed as with the binary package. And in the binary package install instructions it does say to do setup.py install.

Anyway, for next time you're installing a python module, the python setup.py build > python setup.py install are the two general commands to do this. If you're interested in the details look at how you can create a python package: http://guide.python-distribute.org/creation.html

ADD REPLY
0
Entering edit mode

My apologies... I overlooked that line. Thanks for suggestion and the link. :) Regards

ADD REPLY
0
Entering edit mode

That's alright, it's not always very clear. You should accept this answer in case someone has the same problem.

ADD REPLY

Login before adding your answer.

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