HuttleyLab / DiverseSeq

Tools for analysis of sequence divergence
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

ENH: current dvs_ctree should be split into separate apps #53

Closed GavinHuttley closed 2 months ago

GavinHuttley commented 2 months ago

dvs_par_ctree is not composable (define_app(app_type=AppType.NON_COMPOSABLE)) and can parallelise distance calculations as per current.

dvs_ctree is composable, takes a c3_types.SeqsCollectionType as input and only runs in serial. (By being composable, it can be used in parallel on separate data.)

The current dvs_ctree should not be an app, per se, but separate functions called by the cli and the above two apps to perform their tasks.