biopython v1.71.0 Bio.HMM.Trainer.TrainingSequence

Hold a training sequence with emissions and optionally, a state path.

Link to this section Summary

Functions

Initialize a training sequence

Link to this section Functions

Initialize a training sequence.

Arguments:

  • emissions - A Seq object containing the sequence of emissions in the training sequence, and the alphabet of the sequence.
  • state_path - A Seq object containing the sequence of states and the alphabet of the states. If there is no known state path, then the sequence of states should be an empty string.