OESequenceMetadata¶
Attention
This API is currently available in C++ and Python.
class OESequenceMetadata
This class stores the sequence data used in biomolecule rebuilding in the OEMakeDesignUnits
function.
Constructors¶
OESequenceMetadata()=default
OESequenceMetadata(const OESequenceMetadata &)=default
Default and copy constructors.
GetEndResidueInsertCode¶
char GetEndResidueInsertCode() const
Returns a char representing the insertion code of the last residue.
GetStartResidueInsertCode¶
char GetStartResidueInsertCode() const
Returns a char representing the insertion code of the first residue.
GetStartResidueNumber¶
int GetStartResidueNumber() const
Returns the residue number (int) of the first residue.
SetEndResidueInsertCode¶
void SetEndResidueInsertCode(const char endInsCode)
Sets the char representing the insertion code of the last residue.
SetEndResidueNumber¶
void SetEndResidueNumber(const int endResNum)
Sets the residue number (int) of the last residue.
SetSequence¶
void SetSequence(const std::string seq)
Sets the string of the sequence. The format should be a three letter code per residue separated by spaces.
SetStartResidueInsertCode¶
void SetStartResidueInsertCode(const char startInsCode)
Sets the char representing the insertion code of the first residue.
SetStartResidueNumber¶
void SetStartResidueNumber(const int startResNum)
Sets the residue number (int) of the first residue.