Molecule sequence object. More...
#include <minimol_seq.h>
Public Member Functions | |
| int | size () const |
| number of polymer sequences in model | |
| const MPolymerSequence & | operator[] (const int &i) const |
| get polymer sequence | |
| MPolymerSequence & | operator[] (const int &i) |
| set polymer sequence | |
| const MPolymerSequence & | find (const String &n, const MM::MODE mode=MM::UNIQUE) const |
| get polymer sequence by id | |
| MPolymerSequence & | find (const String &n, const MM::MODE mode=MM::UNIQUE) |
| set polymer sequence by id | |
| int | lookup (const String &str, const MM::MODE &mode) const |
| lookup polymer sequence by id | |
| void | insert (const MPolymerSequence &add, int pos=-1) |
| add polymer sequence | |
| bool | is_null () const |
| test for null model | |
Molecule sequence object.
The molecule sequence object is a list of polymer sequence objects representing the named sequences of all the chains in a molecule.
| const MPolymerSequence & clipper::MMoleculeSequence::find | ( | const String & | n, | |
| const MM::MODE | mode = MM::UNIQUE | |||
| ) | const |
get polymer sequence by id
Lookup monomer by ID. If mode=UNIQUE, the insertion code must match, otherwise the first monomer with the same sequence number is returned.
| n | The monomer ID. | |
| mode | The search mode. |
References lookup(), and clipper::message.
| MPolymerSequence & clipper::MMoleculeSequence::find | ( | const String & | n, | |
| const MM::MODE | mode = MM::UNIQUE | |||
| ) |
1.6.1