New linked sequence type#397
Conversation
|
I chose not to inherit from I removed all functionality related to gaps because the space character is added as a gap character but does not share the same interpretation as other gap characters. If we want to think closely now or later about how to support those methods we can, but I don't think the inherited implementations are going to be the right choice. |
|
Any reason not to let |
|
thanks @colinvwood ! yeah makes sense that translation should not be inherited. would it be possible to add a transformer from |
I'm not sure what you mean by "non-canonical base", but a base needs to be one of three things: a definite character, a degenerate character, or a gap character. It's of course not a degenerate character. If we make it a definite character instead of a gap character, then all sorts of other stuff would be broken (e.g. Making an exception for the space character and just adding it to the alphabet without classifying it as one of those three categories seems like a bad idea because the alphabet is defined as the union of those three character sets, so who knows what would break if we did that. If we really want we could make a new category ( |
Sure. Just to confirm, you didn't have any actual data transformation in mind, just want to change the type? |
I am trying to find a unified view type for This is needed for the |
Were you thinking of using the |
|
hey @colinvwood , transformers to |
Description
Add a new
LinkedDNAtype that is toFeatureData[LinkedSequence]whatskbio.DNAis toFeatureData[Sequence].AI Disclosure
AI Usage Details
Codex wrote the three tests.