- Feb 04, 2024
-
-
Studer Gabriel authored
-
Studer Gabriel authored
-
- Feb 03, 2024
-
-
Studer Gabriel authored
For predictable behaviour, providing MMCifWriterEntity objects has the following restrictions now: - Only allow MMCifWriterEntity of type polymer - All chains in ent that are of type polymer must be assigned to exactly one of these entity_info objects and must match the SEQRES (MMCifWriterEntity::mon_ids) - All chain names that are assigned to entity_info must be valid chains in ent
-
- Feb 01, 2024
-
-
Studer Gabriel authored
-
Studer Gabriel authored
-
Bienchen authored
-
Studer Gabriel authored
-
- Jan 31, 2024
-
-
Studer Gabriel authored
-
Bienchen authored
-
- Jan 29, 2024
-
-
Studer Gabriel authored
previously this was done with residue ChemClasses. This is set by the compound library anyways during processing when loading a structure. The problem: when we suddenly need info on chemical components for stuff that is in the SEQRES but nowhere resolved in the structure. I really tried hard to avoid the requirement for the compound library in mmcif writing but there seems no way around.
-
- Jan 25, 2024
-
-
Bienchen authored
-
Studer Gabriel authored
When defining custom mmCIF entities, we should check for valid input using the latest mmCIF dictionary
-
Bienchen authored
-
- Jan 24, 2024
-
-
Studer Gabriel authored
-
Studer Gabriel authored
-
- Jan 21, 2024
-
-
Studer Gabriel authored
If all residues in a chain are saccharides in some form, the respective _entity.type should be "branched"
-
- Jan 12, 2024
-
-
Studer Gabriel authored
-
- Jan 10, 2024
-
-
Studer Gabriel authored
-
Studer Gabriel authored
Right now there is only a static constructor for polymer entities
-
- Jan 05, 2024
-
-
Studer Gabriel authored
-
Studer Gabriel authored
-
Studer Gabriel authored
-
- Jan 04, 2024
-
-
Studer Gabriel authored
-
Studer Gabriel authored
-
Studer Gabriel authored
-
- Jan 02, 2024
-
-
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"
-
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.
-
Studer Gabriel authored
IOProfile was never used in any of the functionalities in MMCifWriter
-
- Dec 31, 2023
-
-
Studer Gabriel authored
-
Studer Gabriel authored
-
Studer Gabriel authored
-
Studer Gabriel authored
-
Studer Gabriel authored
-
- Dec 30, 2023
-
-
Studer Gabriel authored
Only relevant for resnum based alignments, i.e. enabled mmcif_conform flag
-
Studer Gabriel authored
Only relevant for resnum based alignments, i.e. enabled mmcif_conform flag
-
- Dec 22, 2023
-
-
Xavier Robin authored
This avoids silently creating invalid files if we have gaps in oligosaccharide chains, for instance.
-
- Dec 21, 2023
-
-
Studer Gabriel authored
-
Studer Gabriel authored
- Reduce the number of StarWriter objects to simplify things. - Make construction of the actual values more expressive => explicitely do things like: StarWriterValue::FromString("xyz")
-
Xavier Robin authored
Unlike in the PDB, they are treated as normal polymers with type "other". We may want to consider support for the branched type in the future, however polymer more closesly matches the internal implementation in OST.
-
Xavier Robin authored
-