deepfold.data.tools.hmmbuild.Hmmbuild

class deepfold.data.tools.hmmbuild.Hmmbuild(*, binary_path: str, singlemx: bool = False)[source]

Python wrapper of the hmmbuild binary.

__init__(*, binary_path: str, singlemx: bool = False)[source]

Initializes the Python hmmbuild wrapper.

Parameters:
  • binary_path – The path to the hmmbuild executable.

  • singlemx – Whether to use –singlemx flag. If True, it forces HMMBuild to just use a common substitution score matrix.

Raises:

RuntimeError – If hmmbuild binary not found within the path.

Methods

__init__(*, binary_path[, singlemx])

Initializes the Python hmmbuild wrapper.

build_profile_from_a3m(a3m)

Builds a HHM for the aligned sequences given as an A3M string.

build_profile_from_sto(sto[, model_construction])

Builds a HHM for the aligned sequences given as an A3M string.