Path object updates and other fixes#412
Path object updates and other fixes#412DLBPointon merged 25 commits intosanger-tol:schema_updatefrom
Conversation
|
@DLBPointon Would you be able to test this PR out please? |
|
Morning @mahesh-panchal, Thanks for the PR, I've changed the base to This removes all the version(null) stuff. I'll have to look at your re-write of YAML_INPUT, i like it but it's just not a way i'm familiar with. Only note I have is that because of the resolve on busco output for the full table, the code is duplicated in ancestral and as the full busco dir isn't used at all it can be deleted and the resolve of busco full table could simply be passed into ancestral. Hopefully that makes sense. It's where we've tacked on the ancestral workflow without correctly integrating it in the past. Testing I can do although I won't be able to test on our cluster, as the Sanger HPC is currently dead until next week at least. NOTE: The main difference is template, and longread and hic data are now explicitly input to the pipeline, no more supply a folder and let the pipeline do the work. it has meant that the yaml_input has big chunk of duplicated code. But this will change a fair bit of your work in some of the subworkflows. |
2794254 to
8e66472
Compare
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.2.0. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
Thanks. I've rebased against this branch.
Sorry about that, but I felt it would be better for maintainability. It's hard to see what's coming out of the channels generally, and there are tests baked into various subsections. For example on one It's basically just made one multiMap, and each channel groups and emits the components that are combined with different channels. There are some parts at the top to define some reused variables. Conditions are formatted like
I'm not sure I understand, but let me take a closer look at the code.
I'll investigate. Thank you for letting me know. I'll get to work on fixing the conflicts now. |
That's not me knocking what you've done, it absolutly has become more difficult to maintain so any simplification is welcome! I've added some notes. I'm going to pull into local and run the tests that I can. |
|
I need to get it working again. I'll let you know when it's running through again. |
|
|
OK. This now runs to the end successfully with the test dataset. |
|
This looks great to me Mahesh, thanks for the work. Edit: Just updating target branch to |
Changes
YAML_INPUTprocess to emit data directly instead of split and recombine with channels.read_chlogic inYAML_INPUTwhich uses channels inif.PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).