19 #ifndef OST_IO_MMCIF_WRITER_HH
20 #define OST_IO_MMCIF_WRITER_HH
31 namespace ost {
namespace io {
51 const std::vector<String>&
mon_ids,
57 het[rnum].push_back(mon_id);
73 return !(*
this == rhs);
110 std::map<int, std::vector<String> >
het;
121 bool mmcif_conform=
true,
122 const std::vector<MMCifWriterEntity>& entity_info=std::vector<MMCifWriterEntity>());
125 bool mmcif_conform=
true,
126 const std::vector<MMCifWriterEntity>& entity_info=std::vector<MMCifWriterEntity>());
128 const std::vector<MMCifWriterEntity>&
GetEntities()
const {
return entity_info_; }
136 std::vector<MMCifWriterEntity> entity_info_;
void SetStructure(const ost::mol::EntityHandle &ent, conop::CompoundLibPtr compound_lib, bool mmcif_conform=true, const std::vector< MMCifWriterEntity > &entity_info=std::vector< MMCifWriterEntity >())
const std::vector< MMCifWriterEntity > & GetEntities() const
void SetStructure(const ost::mol::EntityView &ent, conop::CompoundLibPtr compound_lib, bool mmcif_conform=true, const std::vector< MMCifWriterEntity > &entity_info=std::vector< MMCifWriterEntity >())
boost::shared_ptr< CompoundLib > CompoundLibPtr
boost::shared_ptr< StarWriterLoop > StarWriterLoopPtr
std::vector< int > indices
std::vector< String > asym_ids
void AddHet(int rnum, const String &mon_id)
std::vector< String > seq_olcs
int GetAsymIdx(const String &asym_id) const
std::map< int, std::vector< String > > het
std::map< String, std::vector< String > > asym_alns
bool operator==(const MMCifWriterEntity &rhs) const
static MMCifWriterEntity FromPolymer(const String &entity_poly_type, const std::vector< String > &mon_ids, conop::CompoundLibPtr compound_lib)
bool operator!=(const MMCifWriterEntity &rhs) const
std::vector< String > mon_ids
std::vector< String > seq_can_olcs