• Docs »
  • OEExtractBioUnitsFromRef



PRELIMINARY-IMAGE This is a preliminary API until 2018.Oct and may be improved based on user feedback. It is currently available in C++ and Python.

OESystem::OEIterBase<OEChem::OEMolBase> *OEExtractBioUnitsFromRef(const OEChem::OEMolBase &inputRefProtein,
                                                                  const OEChem::OEMolBase &fitProtein,
                                                                  const int minScore=200,
                                                                  const bool transform=false)

Extracts BUs using a sequence alignment to a reference and input protein. The OEExtractBioUnitsFromRef function will optionally take a minimum score as input, as well as a flag to instruct the function to transform the biological units in place. This function returns an iterator of OEMolBase objects, one for each of the BUs.

Parameters :

The reference protein that will be used for sequence alignment.
The protein from which the BUs will be extracted.
The minimum score that determines a successful sequence alignment (default = 200 ).
If true (default = false ), the function will perform an in-place transform of the output proteins to the reference protein given in inputRefProtein.