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.

operator=

OESequenceMetadata &operator=(const OESequenceMetadata &)=default

Assignment operator.

GetChainID

std::string GetChainID() const

Returns the string of the chain ID of the sequence.

GetEndResidueInsertCode

char GetEndResidueInsertCode() const

Returns a char representing the insertion code of the last residue.

GetEndResidueNumber

int GetEndResidueNumber() const

Returns the residue number.

GetSequence

std::string GetSequence() const

Returns the string sequence.

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.

SetChainID

void SetChainID(const std::string cid)

Sets the string of the chain ID of the sequence.

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.