Daemon (pyhmmer.daemon)#

Implementation of a client for the HMMER daemon.

The HMMER daemon is a server daemon provided by HMMER3 to run distributed search/scan pipelines on one or more worker machines. It is used to power the HMMER web server.

This module only provides a client (such as the one in the hmmc2 executable). To run the server, you need a database in the right format (either a pressed HMM database, or sequences in a special FASTA format). First launch the master process, and then the worker processes:

$ hmmpgmd --master --seqdb db.fasta --cport 51371 --wport 51372
$ hmmpgmd --worker 127.0.0.1 --wport 51372

You can communicate with the master process after instantiating the pyhmmer.daemon.Client class with the address of the master process and the port on which it listens for client/server communication:

>>> client = pyhmmer.daemon.Client("127.0.0.1", 51371)

Client#

Client

A socket-based client to communicate with a HMMER daemon server.

IterativeSearch

A helper class for running iterative queries against a HMMER daemon.