Closed bienchen closed 2 years ago
Yes, python-ihm explicitly writes the first ID: https://github.com/ihmwg/python-ihm/blob/0.31/ihm/dumper.py#L552-L556
I assumed at the time that this required a single ID (it isn't called pdbx_strand_ids
) but it would be easy to fix.
Can confirm, now it works as I thought, thanks!
When writing ModelCIF files for homomers, it looks like
_entity_poly.pdbx_strand_id
is only pointing to the first asymmetric unit/ chain. The following code creates two chains from the samemodelcif.Entity
:_entity_poly
in the file written looks like this:So
_entity_poly.pdbx_strand_id
is "A". Comparing with PDB entries, for a homo-2-mer,_entity_poly.pdbx_strand_id
should be "A,B", e.g. entry 1SJ2 does it like this.