1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
|
.TH "hmmfetch" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual"
.SH NAME
hmmfetch \- retrieve profiles from a file
.SH SYNOPSIS
.nf
\fBhmmfetch\fR [\fIoptions\fR] \fIhmmfile key\fR
(retrieve HMM named \fIkey\fR)
\fBhmmfetch \-f \fR[\fIoptions\fR] \fIhmmfile keyfile\fR
(retrieve all HMMs listed in \fIkeyfile\fR)
\fBhmmfetch \-\-index \fR[\fIoptions\fR] \fIhmmfile\fR
(index \fIhmmfile\fR for fetching)
.fi
.SH DESCRIPTION
.PP
Quickly retrieves one or more profile HMMs from an
.I hmmfile
(a large Pfam database, for example).
.PP
For maximum speed, the
.I hmmfile
should be indexed first, using
.BR "hmmfetch \-\-index" .
The index is a binary file named
.IR hmmfile .ssi.
However, this is optional, and retrieval will still
work from unindexed files, albeit much more slowly.
.PP
The default mode is to retrieve a single profile by name or
accession, called the
.IR key .
For example:
.nf
\fB% hmmfetch Pfam-A.hmm Caudal_act\fR
\fB% hmmfetch Pfam-A.hmm PF00045\fR
.fi
.PP
With the
.B \-f
option, a
.I keyfile
containing a list of one or more keys is read instead.
The first whitespace-delimited field on each non-blank non-comment
line of the
.I keyfile
is used as a
.IR key ,
and any remaining data on the line is ignored. This allows
a variety of whitespace delimited datafiles to be used
as a
.IR keyfile .
.PP
When using
.B \-f
and a
.IR keyfile ,
if
.B hmmfile
has been indexed, the keys are retrieved in the order
they occur in the
.IR keyfile ,
but if
.B hmmfile
isn't indexed, keys are retrieved in the order they occur
in the
.BR hmmfile .
This is a side effect of an implementation that allows
multiple keys to be retrieved even if the
.B hmmfile
is a nonrewindable stream, like a standard input pipe.
.PP
In normal use
(without
.B \-\-index
or
.B \-f
options),
.I hmmfile
may be '\-' (dash), which
means reading input from stdin rather than a file.
With the
.B \-\-index
option,
.I hmmfile
may not be '\-'; it does not make sense
to index a standard input stream.
With the
.B \-f
option,
either
.I hmmfile
or
.I keyfile
(but not both) may be '\-'.
It is often particularly useful to read
.I keyfile
from standard input, because this allows
use to use arbitrary command line invocations to
create a list of HMM names or accessions, then fetch them all
to a new file, just with one command.
.PP
By default, fetched HMMs are printed to standard output in HMMER3 format.
.SH OPTIONS
.TP
.B \-h
Help; print a brief reminder of command line usage and all available
options.
.TP
.B \-f
The second commandline argument is a
.I keyfile
instead of a single
.IR key .
The first field on each line of the
.I keyfile
is used as a retrieval
.I key
(an HMM name or accession).
Blank lines and comment lines (that start with
a # character) are ignored.
.TP
.BI \-o " <f>"
Output HMM(s) to file
.I <f>
instead of to standard output.
.TP
.B \-O
Output HMM(s) to individual file(s) named
.I key
instead of standard output.
.TP
.B \-\-index
Instead of retrieving one or more profiles from
.IR hmmfile ,
index the
.I hmmfile
for future retrievals.
This creates a
.IR hmmfile .ssi
binary index file.
.SH SEE ALSO
See
.BR hmmer (1)
for a master man page with a list of all the individual man pages
for programs in the HMMER package.
.PP
For complete documentation, see the user guide that came with your
HMMER distribution (Userguide.pdf); or see the HMMER web page
(@HMMER_URL@).
.SH COPYRIGHT
.nf
@HMMER_COPYRIGHT@
@HMMER_LICENSE@
.fi
For additional information on copyright and licensing, see the file
called COPYRIGHT in your HMMER source distribution, or see the HMMER
web page
(@HMMER_URL@).
.SH AUTHOR
.nf
http://eddylab.org
.fi
|