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() -> OESequenceMetadata
OESequenceMetadata(arg2: OESequenceMetadata) -> OESequenceMetadata
Default and copy constructors.
GetChainID
GetChainID() -> str
Returns the string of the chain ID of the sequence.
GetEndResidueInsertCode
GetEndResidueInsertCode() -> str
Returns a char representing the insertion code of the last residue.
GetEndResidueNumber
GetEndResidueNumber() -> int
Returns the residue number.
GetSequence
GetSequence() -> str
Returns the string sequence.
GetStartResidueInsertCode
GetStartResidueInsertCode() -> str
Returns a char representing the insertion code of the first residue.
GetStartResidueNumber
GetStartResidueNumber() -> int
Returns the residue number (int) of the first residue.
SetChainID
SetChainID(cid: str) -> None
Sets the string of the chain ID of the sequence.
SetEndResidueInsertCode
SetEndResidueInsertCode(endInsCode: str) -> None
Sets the char representing the insertion code of the last residue.
SetEndResidueNumber
SetEndResidueNumber(endResNum: int) -> None
Sets the residue number (int) of the last residue.
SetSequence
SetSequence(seq: str) -> None
Sets the string of the sequence. The format should be a three letter code per residue separated by spaces.
SetStartResidueInsertCode
SetStartResidueInsertCode(startInsCode: str) -> None
Sets the char representing the insertion code of the first residue.
SetStartResidueNumber
SetStartResidueNumber(startResNum: int) -> None
Sets the residue number (int) of the first residue.