Skip to content
Snippets Groups Projects
  1. Jan 21, 2024
  2. Jan 17, 2024
  3. Jan 12, 2024
  4. Jan 11, 2024
  5. Jan 10, 2024
  6. Jan 09, 2024
  7. Jan 08, 2024
  8. Jan 05, 2024
  9. Jan 04, 2024
  10. Jan 03, 2024
  11. Jan 02, 2024
    • Studer Gabriel's avatar
      mmcif writer: Heuristic for different _chem_comp.type for same compound name · be7342df
      Studer Gabriel authored
      The MMCifWriter stores globally the types of all residues in a structure.
      We do a consistency check that the same residue name always has the same
      type. However, there were special cases that we observed in the PDB. One
      example is entry 2YHX which has plenty of UNK. UNK is 'L-PEPTIDE LINKING'
      according to components dictionary. However, OST reads that info from the
      components dictionary AND checks whether there are additional unknown atoms.
      If yes, ChemClass is set to UNKNOWN which results in _chem_comp.type OTHER.
      In the case of 2YHX we now have a mix of "L-PEPTIDE-LINKING" and "OTHER".
      
      The added heuristic allows such a mix of two type, if one of the types is
      "OTHER" and then stores the one that is NOT "OTHER". In this case
      "L-PEPTIDE-LINKING"
      be7342df
    • Studer Gabriel's avatar
      mmcif writer: basic SaveMMCIF function in ost.io · 9e290dd9
      Studer Gabriel authored
      no documentation or fancy features yet
      9e290dd9
    • Studer Gabriel's avatar
      mmcif writer: move stream handling to StarWriter::Write · 93fd5743
      Studer Gabriel authored
      Before, we already opened a file and the respective stream at
      Writer initialization. This is weird when Write never gets called and
      and empty file remains on disk. Furthermore, Write just wrote to a stream.
      That stream was never flushed, so in principle you potentially called
      Write but even after completion, the file is not necessarily written
      to disk. Now, the file gets opened in Write, everything is written
      to the respective stream and once done, the destructor of the stream
      ensures that everything concludes.
      93fd5743
    • Studer Gabriel's avatar
    • Studer Gabriel's avatar
      mmcif writer: remove the requirement of IOProfile · bca9cd36
      Studer Gabriel authored
      IOProfile was never used in any of the functionalities in MMCifWriter
      bca9cd36
Loading