BioStructures.jl icon indicating copy to clipboard operation
BioStructures.jl copied to clipboard

Consider using an enum for secondary structure

Open timholy opened this issue 8 months ago • 1 comments

As pointed out in #65, mmCIF now annotates secondary structure in ways that don't fit into the current Char scheme. One way to expand it in a way that could enable support for both styles of annotation would be to use an @enum for secondary structure, and then have convenient conversion functions from Char.

timholy avatar May 10 '25 12:05 timholy

If this will be useful to people then I can see the appeal. I must admit I didn't know about the more detailed mmCIF annotation values until recently though, and I'm not sure how many people use them.

jgreener64 avatar May 11 '25 21:05 jgreener64