JetBrains-Research / span

SPAN Semi-supervised Peak Analyzer
https://doi.org/10.1093/bioinformatics/btab376
MIT License
9 stars 1 forks source link

Remove optional model with additional covariates from SPAN cli #26

Closed olegs closed 4 years ago

olegs commented 4 years ago

For the very first release version we want to eliminate as many "experimental" features as we can. It's okay to leave differential mode, but having two peak calling models without proper investigation of use conditions and behaviour is not good for official released version. I suggest to introduce SpanCLA2 for this purposes, anyone can launch it manually with full qualified name from jar file in case of need.

dievsky commented 4 years ago

Do you suggest duplicating the whole gargantuan SpanCLA file? Seems really WET.

What if we leave the regression model in SpanCLA, but make it "hidden"? For example, we could recognize a keyword analyze2 (which wouldn't be shown in the help message) which would enable the regression model. This will hide the mode from the general public, but will allow as much code reuse as possible.

olegs commented 4 years ago

Agree, adding hidden analyze-experimental option will solve the problem IMO.

olegs commented 4 years ago

Originally I proposed to add additional class to use superclass hierarchy and override model creating from base class. This option should be considered as well to improve code readability.