@channel sorry for pinging everyone but I am thinking about the pipeline overall development and I am questioning the best way to implement it while avoiding duplicating some steps and following nf-core’s approach of chaining pipelines
So the goal of genephylo is to automate the retrieval of orthologs for a gene of interest, then construct a msa and phylogenic tree in order to feed the results into nf-core/genephylomodeler to do positive selection analyses on those
When submitting the pipeline proposal, it was suggested by core team that genephylo should reuse parts of nf-core/multiplesequencealign, and my intent was to do a subworkflow based of multiplesequencealign’s local align subworkflow, integrating codon-aware aligners in it, and reuse in genephylo
I’m now thinking it might make more sense to stop genephylo after assigning orthologous group (which is done through tree reconciliation), then integrate codon-aware aligners directly in multiplesequencealign, and chain genephylo > multiplesequencealign > genephylomodeler.
It would still be missing the phylogenetic tree step, which could either:
• 1- be integrated into multiplesequencealign (least favoured option for me, as that’s not really the goal of the pipeline and would make the name less descriptive)
• 2- implemented as a new pipeline similar to multiplesequencealign (as many softwares included as possible, benchmarking, etc - requires more work but might be useful to more people down the line?). In this case the pipeline chaining would be genephylo > multiplesequencealign > phylotree > genephylomodeler
• 3- implemented as an optional, initial step in genephylomodeler (so input could be msa + tree if user produced them manually, or just msa and tree is produced by the pipeline)
option 2 seems to me to be the best one, but also the one requiring more work as of now, since a full new pipeline would have to be developed, as i don’t think we have any pipelines dedicated to phylogenetic reconstruction. Option 3 could also be implemented as a stop-gap solution until the missing pipeline for 2 could be implemented.
And of course the option remains to leave the alignment and tree steps within genephylo itself, and keeping the initial approach, I just felt like there might be a better way to implement that, just to avoid repeating steps that are kind of already implemented in other places.
I would appreciate some community input on this if possible!