hmmprofalign
Align query sequence to profile using hidden Markov model alignment
Syntax
Score
= hmmprofalign(Model,
Seq
)
[Score
, Alignment
]
= hmmprofalign(Model, Seq
)
[Score, Alignment, Pointer
]
= hmmprofalign(Model, Seq
)
hmmprofalign(..., 'ShowScore', ShowScoreValue
,
...)
hmmprofalign(..., 'Flanks', FlanksValue
,
...)
hmmprofalign(..., 'ScoreFlanks', ScoreFlanksValue
,
...)
hmmprofalign(..., 'ScoreNullTransitions', ScoreNullTransitionsValue
,
...)
Arguments
Model | Hidden Markov model created with the function |
Seq | Amino acid or nucleotide sequence. You can also enter
a structure with the field |
ShowScoreValue | Controls the display of the scoring space and the winning
path. Choices are |
FlanksValue | Controls the inclusion of the symbols generated by the
FLANKING INSERT states in the output sequence. Choices are |
ScoreFlanksValue | Controls the inclusion of the transition probabilities for
the flanking states in the raw score. Choices are true or false (default). |
ScoreNullTransitionsValue | Controls the adjustment of the raw score using the null model
for transitions (Model.NullX ). Choices are true or false (default). |
Description
returns the score for the optimal alignment
of the query amino acid or nucleotide sequence (Score
= hmmprofalign(Model,
Seq
)Seq
)
to the profile hidden Markov model (Model
).
Scores are computed using log-odd ratios for emission probabilities
and log probabilities for state transitions.
[
also
returns a character vector showing the optimal profile alignment. Score
, Alignment
]
= hmmprofalign(Model, Seq
)
Uppercase letters and dashes correspond to MATCH and DELETE
states respectively (the combined count is equal to the number of
states in the model). Lowercase letters are emitted by the INSERT
states. For more information about the HMM profile, see hmmprofstruct
.
[
also
returns a vector of the same length as the profile model with indices
pointing to the respective symbols of the query sequence. Null pointers
(Score, Alignment, Pointer
]
= hmmprofalign(Model, Seq
)NaN
) mean that such states did not emit a symbol
in the aligned sequence because they represent model jumps from the
BEGIN state of a MATCH state, model jumps from the from a MATCH state
to the END state, or because the alignment passed through DELETE states.
hmmprofalign(..., '
calls PropertyName
', PropertyValue
,
...)hmmprofalign
with optional
properties that use property name/property value pairs. You can specify
one or more properties in any order. Each PropertyName
must
be enclosed in single quotation marks and is case insensitive. These
property name/property value pairs are as follows:
hmmprofalign(..., 'ShowScore',
, when ShowScoreValue
,
...)ShowScoreValue
is true
,
displays the scoring space and the winning path.
hmmprofalign(..., 'Flanks',
, when FlanksValue
,
...)FlanksValue
is true
,
includes the symbols generated by the FLANKING INSERT states in the
output sequence.
hmmprofalign(..., 'ScoreFlanks',
, when ScoreFlanksValue
,
...)ScoreFlanksValue
is true
,
includes the transition probabilities for the flanking states in the
raw score.
hmmprofalign(..., 'ScoreNullTransitions',
, when ScoreNullTransitionsValue
,
...)ScoreNullTransitionsValue
is true
,
adjusts the raw score using the null model for transitions (Model.NullX
).
Note
Multiple target alignment is not supported in this implementation.
All the Model.LoopX
probabilities are ignored.
Examples
Version History
Introduced before R2006a
See Also
gethmmprof
| hmmprofestimate
| hmmprofgenerate
| hmmprofgenerate
| hmmprofstruct
| pfamhmmread
| showhmmprof
| multialign
| profalign