-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disambiguate assembly chains by appending assembly id #700
disambiguate assembly chains by appending assembly id #700
Conversation
af068cd
to
3918b0f
Compare
Hi. First I thought that this is the same as #389, but while separating chains is also possible without changing the However, I am leaning towards keeping the original Instead I propose to add an additional optional annotation array (what do you think about As a pointer, have a look at |
I'd also be in favour of a separate The one caveat I'd have is that some symmetry operations are actually 'slicing' type operations rather than copying operations, so if we wanted to add a |
Hi - Thanks for the pointer to the previous issue, this also helps with some of the use cases I was considering. Making sym_id an optional annotation makes sense to me. I've updated the PR with one possible solution for the sym_id (concatenation of the oper ids applied to generate the sym unit), but agree it's not obvious what the value should be. I was trying to follow the convention from the assembly.cif files, but I'm not sure what they do in complex cases there. |
Having |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I would recommend a few small changes, but overall it looks good!
updated! |
CodSpeed Performance ReportMerging #700 will not alter performanceComparing Summary
|
I took the freedom to add some tests and documentation about the new annotation. Have a look of you like. From my side this would be ready to merge, when the discussion above is resolved. |
93bb63f
to
92f6834
Compare
I'll merge the PR now. Thanks again @alex-hh for implementing it and to @Croydon-Brixton and @nscorley for the feedback! |
Always a pleasure! Thank you for all the great work on biotite! |
Biotite doesn't currently distinguish between the chains produced by symmetry operations on a given asym unit in an assembly.
This can make certain selection operations slightly inconvenient (e.g. getting residue starts of a specific chain etc.) and is inconsistent with the chain naming convention employed by the PDB in assembly .cif files.
This PR follows the PDB convention of appending a '-<oper_id>' to the chain ids.