| 1 |
.TH "hmmalign" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
hmmalign \- align sequences to a profile |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.B hmmalign |
| 8 |
[\fIoptions\fR] |
| 9 |
.I hmmfile |
| 10 |
.I seqfile |
| 11 |
|
| 12 |
.SH DESCRIPTION |
| 13 |
|
| 14 |
.PP |
| 15 |
Perform a multiple sequence alignment of all the sequences in |
| 16 |
.I seqfile |
| 17 |
by aligning them individually to the profile HMM in |
| 18 |
.I hmmfile. |
| 19 |
The new alignment is output to stdout. |
| 20 |
|
| 21 |
.PP |
| 22 |
The |
| 23 |
.I hmmfile |
| 24 |
should contain only a single profile. If it contains more, only the |
| 25 |
first profile in the file will be used. |
| 26 |
|
| 27 |
.PP |
| 28 |
Either |
| 29 |
.I hmmfile |
| 30 |
or |
| 31 |
.I seqfile |
| 32 |
(but not both) may be '\-' (dash), which |
| 33 |
means reading this input from stdin rather than a file. |
| 34 |
|
| 35 |
.PP |
| 36 |
The sequences in |
| 37 |
.I seqfile |
| 38 |
are aligned in unihit local alignment mode. Therefore they should |
| 39 |
already be known to contain only a single domain (or a fragment of one). |
| 40 |
The optimal alignment |
| 41 |
may assign some residues as nonhomologous (N and C states), in which |
| 42 |
case these residues are still included in the resulting alignment, but |
| 43 |
shoved to the outer edges. To trim these unaligned nonhomologous residues from |
| 44 |
the result, see the |
| 45 |
.B \-\-trim |
| 46 |
option. |
| 47 |
|
| 48 |
|
| 49 |
.SH OPTIONS |
| 50 |
|
| 51 |
.TP |
| 52 |
.B \-h |
| 53 |
Help; print a brief reminder of command line usage and all available |
| 54 |
options. |
| 55 |
|
| 56 |
.TP |
| 57 |
.BI \-o " <f>" |
| 58 |
Direct the output alignment to file |
| 59 |
.I <f>, |
| 60 |
rather than to stdout. |
| 61 |
|
| 62 |
.TP |
| 63 |
.BI \-\-mapali " <f>" |
| 64 |
Merge the existing alignment in file |
| 65 |
.I <f> |
| 66 |
into the result, where |
| 67 |
.I <f> |
| 68 |
is exactly the same alignment that was used to build the model in |
| 69 |
.I hmmfile. |
| 70 |
This is done using a map of alignment columns to consensus |
| 71 |
profile positions that is stored in the |
| 72 |
.I hmmfile. |
| 73 |
The multiple alignment in |
| 74 |
.I <f> |
| 75 |
will be exactly reproduced in its consensus columns (as defined by the |
| 76 |
profile), but the displayed alignment in insert columns may be |
| 77 |
altered, because insertions relative to a profile are considered by |
| 78 |
convention to be unaligned data. |
| 79 |
|
| 80 |
|
| 81 |
.TP |
| 82 |
.B \-\-trim |
| 83 |
Trim nonhomologous residues (assigned to N and C states in the optimal |
| 84 |
alignments) from the resulting multiple alignment output. |
| 85 |
|
| 86 |
.TP |
| 87 |
.B \-\-amino |
| 88 |
Assert that sequences in |
| 89 |
.I seqfile |
| 90 |
are protein, bypassing alphabet autodetection. |
| 91 |
|
| 92 |
.TP |
| 93 |
.B \-\-dna |
| 94 |
Assert that sequences in |
| 95 |
.I seqfile |
| 96 |
are DNA, bypassing alphabet autodetection. |
| 97 |
|
| 98 |
.TP |
| 99 |
.B \-\-rna |
| 100 |
Assert that sequences in |
| 101 |
.I seqfile |
| 102 |
are RNA, bypassing alphabet autodetection. |
| 103 |
|
| 104 |
|
| 105 |
.TP |
| 106 |
.BI \-\-informat " <s>" |
| 107 |
Assert that input |
| 108 |
.I seqfile |
| 109 |
is in format |
| 110 |
.IR <s> , |
| 111 |
bypassing format autodetection. |
| 112 |
Common choices for |
| 113 |
.I <s> |
| 114 |
include: |
| 115 |
.BR fasta , |
| 116 |
.BR embl , |
| 117 |
.BR genbank. |
| 118 |
Alignment formats also work; |
| 119 |
common choices include: |
| 120 |
.BR stockholm , |
| 121 |
.BR a2m , |
| 122 |
.BR afa , |
| 123 |
.BR psiblast , |
| 124 |
.BR clustal , |
| 125 |
.BR phylip . |
| 126 |
For more information, and for codes for some less common formats, |
| 127 |
see main documentation. |
| 128 |
The string |
| 129 |
.I <s> |
| 130 |
is case-insensitive (\fBfasta\fR or \fBFASTA\fR both work). |
| 131 |
|
| 132 |
.TP |
| 133 |
.BI \-\-outformat " <s>" |
| 134 |
Write the output alignment |
| 135 |
in format |
| 136 |
.IR <s> . |
| 137 |
Common choices for |
| 138 |
.I <s> |
| 139 |
include: |
| 140 |
.BR stockholm , |
| 141 |
.BR a2m , |
| 142 |
.BR afa , |
| 143 |
.BR psiblast , |
| 144 |
.BR clustal , |
| 145 |
.BR phylip . |
| 146 |
The string |
| 147 |
.I <s> |
| 148 |
is case-insensitive (\fBa2m\fR or \fBA2M\fR both work). |
| 149 |
Default is |
| 150 |
.BR stockholm . |
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
.SH SEE ALSO |
| 155 |
|
| 156 |
See |
| 157 |
.BR hmmer (1) |
| 158 |
for a master man page with a list of all the individual man pages |
| 159 |
for programs in the HMMER package. |
| 160 |
|
| 161 |
.PP |
| 162 |
For complete documentation, see the user guide that came with your |
| 163 |
HMMER distribution (Userguide.pdf); or see the HMMER web page |
| 164 |
(@HMMER_URL@). |
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
.SH COPYRIGHT |
| 169 |
|
| 170 |
.nf |
| 171 |
@HMMER_COPYRIGHT@ |
| 172 |
@HMMER_LICENSE@ |
| 173 |
.fi |
| 174 |
|
| 175 |
For additional information on copyright and licensing, see the file |
| 176 |
called COPYRIGHT in your HMMER source distribution, or see the HMMER |
| 177 |
web page |
| 178 |
(@HMMER_URL@). |
| 179 |
|
| 180 |
|
| 181 |
.SH AUTHOR |
| 182 |
|
| 183 |
.nf |
| 184 |
http://eddylab.org |
| 185 |
.fi |