You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To work around issues like #350 is very tough right now, because the core annotation classes are based on concrete types (i.e., classes, not interfaces) and, at the same time, these classes are final.
This makes it impossible to extend or adjust the annotation algorithms themselves without introducing much redundancy.
I suggest to extract interfaces for the following classes (and make their callers depend on these interfaces only):
VariantAnnotator
VariantContextAnnotator
AnnotationBuilder (and its sub-types, if necessary)
*Decorator (in de.charite.compbio.jannovar.reference)
I'm happy to help with a PR, but this should be approved first (as it could be a bit more work).
The text was updated successfully, but these errors were encountered:
The reasoning behind keeping everything "locked down" was that we have not designed the classes for extendability (yet) and it is later easier to relax than restrict.
I agree very much with your proposal of opening this up.
How pressing is this for you? Currently, there is few time on our side but that should improve during summer.
This is not super pressing for us, but at some point would just be really nice.
As I said, I'm also happy to help but I realize this could be a little disruptive (i.e., touching many important files), so I guess it should be planned ahead (e.g. pushed until after the next release or something).
To work around issues like #350 is very tough right now, because the core annotation classes are based on concrete types (i.e., classes, not interfaces) and, at the same time, these classes are
final
.This makes it impossible to extend or adjust the annotation algorithms themselves without introducing much redundancy.
I suggest to extract interfaces for the following classes (and make their callers depend on these interfaces only):
VariantAnnotator
VariantContextAnnotator
AnnotationBuilder
(and its sub-types, if necessary)*Decorator
(inde.charite.compbio.jannovar.reference
)I'm happy to help with a PR, but this should be approved first (as it could be a bit more work).
The text was updated successfully, but these errors were encountered: