Fix linting and local sbwf#293
Conversation
atrigila
left a comment
There was a problem hiding this comment.
Mostly good, just one question
| // Prepare reference genome files | ||
| // | ||
|
|
||
| include { SAMTOOLS_FAIDX } from '../../../modules/nf-core/samtools/faidx' |
There was a problem hiding this comment.
There was a problem hiding this comment.
I agree that it doesn't check the nf-core guidelines as a sbwf.
However, I would argue that these guidelines are meant for the nf-core/modules repository, to avoid bloating the repo with trivial sbwf. I think that for local sbwf this constraint is maybe not relevant, as this allow to properly isolate and test channel handling while reducing the length of huge main.nf file.
There was a problem hiding this comment.
I don't understand the decision of having a prepare_genome subworkflow. What was the issue before with how things were done? Thanks.
There was a problem hiding this comment.
This was a recommendation from Maxime to take out the genome indexing out of the local phaseimpute utils sbwf.
I agree that the sbwf is a bit trivial, but the "complex" channel handling make it fit from my point of view as a local sbwf.
|
Hi @atrigila, |
PR checklist
In this PR, I fixed some small issues present in local subworkflows.
I've updated the documentation and added new tests.
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,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).