Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hmmpgmd test error #279

Closed
erick-dorlass opened this issue Jun 3, 2022 · 6 comments
Closed

hmmpgmd test error #279

erick-dorlass opened this issue Jun 3, 2022 · 6 comments

Comments

@erick-dorlass
Copy link

Hi,

I'm trying to use the hmmpgmd_client_example.pl script for testing the hmmpgmd connection.
I executed the hmmpgmd --master --hmmdb virus.hmm and hmmpgmd --worker 127.0.0.1 --cpu 4

I have changed the line 104 in hmmpgmd_client_example.pl script for using hmm database

I'm using this command to execute the script ./hmmpgmd_client_example.pl -file ../teste.faa and I receive this error:

Timeout on the socket:Negative length at ./hmmpgmd_client_example.pl line 490.

In the master and worker servers, this are the messages that are printed on screen:

MASTER:
Queuing scan LNCMODLF_00002 from 127.0.0.1 (6)
hmmpgmd --hmmdb 1
Processing command 10002 from 127.0.0.1
WORKER 127.0.0.1 COMPLETED: 0.20 sec received 2583 bytes
0x0
Results for 127.0.0.1 (6) sent 2571 bytes
Hits:1 reported:1 included:1
Closing 127.0.0.1 (6)

WORKER:
Fri Jun 3 19:01:11 2022
Search seq LNCMODLF_00002 [L=545] vs HMM DB 0 [0 - 8317]
Sequences Residues Elapsed
0 1 545 123 122 12 1 00:00.19
99 1 545 123 122 12 1 00:00.19
Bytes: 2571 hits: 1 sent on socket 3

Could you help me to understand what this "Timeout on the socket" error means and how to solve it?

Thank you

@npcarter
Copy link
Member

npcarter commented Jun 7, 2022 via email

@npcarter
Copy link
Member

npcarter commented Jun 9, 2022

Hello,

I've been able to reproduce this bug. It doesn't seem to be connected to your attempt to search a HMM database, as I get the same problem when using a sequence database. Unfortunately, I don't know PERL, so I'm going to have to see if Sean can take a look at this.

As a workaround, you could use the hmmc2 client program for your tests. Instructions for it are in the documentation/userguide/daemon.tex file.

@erick-dorlass
Copy link
Author

Thank you.

I was able to use version 3.1b2 for executing this script for testing hmmpgmd.

@npcarter
Copy link
Member

npcarter commented Jun 15, 2022 via email

@cryptogenomicon
Copy link
Member

Nick, do we have any update on this issue?

@npcarter
Copy link
Member

npcarter commented May 2, 2023

No update from the original test author. I'm going to call this "not a bug," in the sense that the hmmpgmd unit test works correctly as-is, and only has issues if you try to generalize it to other daemon searches. If you want to run other searches, the right approach is to use the hmmc2 client in conjunction with hmmpgmd, as that client is kept up to date with all changes to the hmmpgmd program.

@npcarter npcarter closed this as completed May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants