Debian Codegraph @

hmmer/documentation/man/hmmpgmd_shard.man.in

raw
1 .TH "hmmpgmd_shard" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual"
2
3 .SH NAME
4 hmmpgmd_shard \- sharded daemon for database search web services
5
6
7 .SH SYNOPSIS
8 .B hmmpgmd_shard
9 [\fIoptions\fR]
10
11
12 .SH DESCRIPTION
13
14 .PP
15 The
16 .B hmmpgmd_shard
17 program provides a sharded version of the
18 .B hmmpgmd
19 program that we use internally to implement high-performance HMMER services that can be accessed via the internet. See the
20 .B hmmpgmd
21 man page for a discussion of how the base
22 .B hmmpgmd
23 program is used. This man page discusses differences between
24 .B hmmpgmd_shard
25 and
26 .B hmmpgmd.
27 The base
28 .B hmmpgmd
29 program loads the entirety of its database file into RAM on every worker node, in spite of the fact that each worker node searches a predictable fraction of the database(s) contained in that file when performing searches. This wastes RAM, particularly when many worker nodes are used to accelerate searches of large databases.
30
31 .PP
32 .B Hmmpgmd_shard
33 addresses this by dividing protein sequence database files into shards. Each worker node loads only 1/Nth of the database file, where N is the number of worker nodes attached to the master. HMM database files are not sharded, meaning that every worker node will load the entire database file into RAM. Current HMM databases are much smaller than current protein sequence databases, and easily fit into the RAM of modern servers even without sharding.
34
35 .PP
36 .B Hmmpgmd_shard
37 is used in the same manner as
38 .B hmmpgmd
39 , except that it takes one additional argument:
40 .BI \-\-num_shards " <n>"
41 , which specifies the number of shards that protein databases will be divided into, and defaults to 1 if unspecified. This argument is only valid for the master node of a
42 .B hmmpgmd
43 system (i.e., when
44 .BI \-\-master
45 is passed to the
46 .B hmmpgmd
47 program), and must be equal to the number of worker nodes that will connect to the master node.
48 .B Hmmpgmd_shard
49 will signal an error if more than
50 .BI num_shards
51 worker nodes attempt to connect to the master node or if a search is started when fewer than
52 .BI num_shards
53 workers are connected to the master.
54
55 .SH OPTIONS
56
57 .TP
58 .B \-h
59 Help; print a brief reminder of command line usage and all available
60 options.
61
62 .TP
63 .BI \-\-master
64 Run as the master server.
65
66 .TP
67 .BI \-\-worker " <s>"
68 Run as a worker, connecting to the master server that is running on IP
69 address
70 .IR <s> .
71
72 .TP
73 .BI \-\-cport " <n>"
74 Port to use for communication between clients and the master server.
75 The default is 51371.
76
77 .TP
78 .BI \-\-wport " <n>"
79 Port to use for communication between workers and the master server.
80 The default is 51372.
81
82 .TP
83 .BI \-\-ccncts " <n>"
84 Maximum number of client connections to accept. The default is 16.
85
86 .TP
87 .BI \-\-wcncts " <n>"
88 Maximum number of worker connections to accept. The default is 32.
89
90 .TP
91 .BI \-\-pid " <f>"
92 Name of file into which the process id will be written.
93
94 .TP
95 .BI \-\-seqdb " <f>"
96 Name of the file (in
97 .B hmmpgmd
98 format) containing protein sequences.
99 The contents of this file will be cached for searches.
100
101 .TP
102 .BI \-\-hmmdb " <f>"
103 Name of the file containing protein HMMs. The contents of this file
104 will be cached for searches.
105
106 .TP
107 .BI \-\-cpu " <n>"
108 Number of parallel threads to use (for
109 .B \-\-worker
110 ).
111
112 .TP
113 .BI \-\-num_shards " <n>"
114 Number of shards to divide cached sequence database(s) into. HMM databases are not sharded, due to their small size.
115 This option is only valid when the
116 .B \-\-master
117 option is present, and defaults to 1 if not specified.
118 .B Hmmpgmd_shard
119 requires that the number of shards be equal to the number of worker nodes, and will give errors if more than
120 .BI num_shards
121 workers attempt to connect to the master node or if a search is started with fewer than
122 .BI num_shards
123 workers connected to the master.
124
125 .SH SEE ALSO
126
127 See
128 .BR hmmmpgmd (1)
129 for a description of the base hmmpgmd command and how the daemon should be used.
130
131 .BR hmmer (1)
132 for a master man page with a list of all the individual man pages
133 for programs in the HMMER package.
134
135 .PP
136 For complete documentation, see the user guide that came with your
137 HMMER distribution (Userguide.pdf); or see the HMMER web page
138 (@HMMER_URL@).
139
140
141
142 .SH COPYRIGHT
143
144 .nf
145 @HMMER_COPYRIGHT@
146 @HMMER_LICENSE@
147 .fi
148
149 For additional information on copyright and licensing, see the file
150 called COPYRIGHT in your HMMER source distribution, or see the HMMER
151 web page
152 (@HMMER_URL@).
153
154
155 .SH AUTHOR
156
157 .nf
158 http://eddylab.org
159 .fi
160
161
162