This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Problem in execution of the commands in HMMER

Hello everyone,

i am new to bioinformatics and being a biologist i dont have much knowledge about commands and command based softwares, i have installed Hmmer-3.1b2.cygwin64 on windows 10 by using cygwin. following the steps:

% tar zxf hmmer-3.1b2.cygwinn64.tar.gz
% cd hmmer-3.1b2
% ./configure
% make
% make check

i think No errors were there and all the steps were fine as all check were saying OK , but after installation when for a trial i use the default command (> hmmbuild globins4.hmm tutorial/globins4.sto ) to perform the hmmbuild, the error was showing as command not found, screenshot attached which shows the path of cygwin and error My computer is in Japanese so the command not found error is in Japanese language

Please help me with this HMMER is very important for my research

Thank you in advance

hmmer hmmbuild hmmscan

I can't install even I read the instructor. (Same Win10 system with cygwin)

My problem is that once I "./configure", it says :

configure: Configuring HMMER for your system. checking build system type... x86_64-unknown-cygwin checking host system type... x86_64-unknown-cygwin configure: Full HMMER source distribution - using full configuration checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in /hmmer-3.1b2-cygwin64': configure: error: no acceptable C compiler found in $PATH Seeconfig.log' for more details

How can I fix this?

Thank you "genomax", I can install now by following this () The problem is that I didn't install the some essential functions.

I know it is better to run with unix subsystem for Windows 10, but I am not sure if I can understand how to use it I am new to use this as well...(to this website, too)

BTW, I have 8GB RAM on my computer, is that enough?

3 answers

Although you installed the program, you didn't add them to PATH. PATH is like a address where the machine looks for when you call the program/executable like hmmbuild. One easy way to fix this is rather than calling hmmbuild you can provide the complete path for the executable, like /cygwindrive/c/cygwin64/home/user/hmmer-3.1b2.cygwin64/hmmbuild. This way the system doesn't have to search anywhere and the executable is called directly.

Also, the correct way to fix is adding the programs to PATH as follows:

PATH=$PATH:/cygwindrive/c/cygwin64/home/user/hmmer-3.1b2.cygwin64

You can add this to your ~/.bashrc or run it every time you want to run HMMER.

(on the side note, if you're using Win10, you should probably enable the Linux subsystem rather than emulating the linux like environment with Cygwin. It is much more feature rich and will provide you the real linux experience)

Hello, I am trying to use hmmer and I have the same problem as above, saying that the hmmbuild function is not found. I tried to add the path as you indicated but it is not working https://ibb.co/fCNhpN5

I am a complete beginner in programming, may it be possible to have your insight on the problem I am facing ?

Sorry for the bother and thank you in advance for your help

Hello halteman,

Try to add the PATH upto "bin" folder

May be it will work

Good luck

hello arnstrm, Thank you very much for reply I have added the PATH (by using advance system setting and manually adding the PATH in the path variable) but when i am executing the command echo$PATH it says /home/User/hmmer-3.1b2-cygwin64 - no such file or directoryscreenshot of the command echo$PATH

From the location where the hmmbuild is located, run the pwd -P command. Copy down the path and use that for adding to the $PATH. I wasn't completely sure where the hmmbuild in your system was located and assumed it was right! Hope this helps!

thank you very much it worked well now i can use the command!!

Log in to answer this question.