Dsl2 refactor#338
Conversation
|
Hi @maxulysse 👋 What's the plan to add This current PR looks pretty extensive, any plans on merging this one to |
|
Hi @abhi18av |
|
Ah, cool 👍 Also, I wanted to ask whether you'd like to include the stub feature as well while we are at it? This should make the dev iterations faster. |
|
That's a point I need to check with the @nf-core/core team. |
|
OK, so I think current state is good enough for me for now. |
|
There will also be more modules update, but I really think that we can merge that before, and then go crazy with the modules and (sub)workflows. |
FriederikeHanssen
left a comment
There was a problem hiding this comment.
So beautiful 😍 I just had some minor comments. One thing, I am wondering though is, whether it would make sense to tag the conda versions more specifically as you did in the latest environment.yml: bwa-mem2=2.0=he513fc3_1 and so on
| # This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors | ||
| on: | ||
| push: | ||
| branches: |
There was a problem hiding this comment.
is this now running on all branches? or none?
| matrix: | ||
| # Nextflow versions: check pipeline minimum | ||
| nxf_ver: ['20.11.0-edge'] | ||
| engine: ['docker'] |
There was a problem hiding this comment.
any reason to not add singularity and conda? To keep the tests short? I am just thinking that given we pull from 3 different sources now, this could catch incorrect urls and such quickly
There was a problem hiding this comment.
random spaces accidentally added somewhere in between has caused me a few issues here and there 😄
There was a problem hiding this comment.
Plan is to do that, but not implemented yet
| @@ -22,12 +25,28 @@ Sarek can also handle tumour / normal pairs and could include additional relapse | |||
|
|
|||
| The pipeline is built using [`Nextflow`](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It comes with `Docker` containers making installation trivial and results highly reproducible. | |||
There was a problem hiding this comment.
It comes with 'Docker'... is this still up-to date or should we add the other container engines, since we don't have a monolithic Docker file anymore?
There was a problem hiding this comment.
Good catch, we might need to update the TEMPLATE
|
|
||
| * Sequencing quality control (`FastQC`) | ||
| * Map Reads to Reference (`BWA mem`) | ||
| * Mark Duplicates (`GATK MarkDuplicatesSpark`) |
There was a problem hiding this comment.
Should be MarkDuplicates due to param changes
| * Mark Duplicates (`GATK MarkDuplicatesSpark`) | |
| * Mark Duplicates (`GATK MarkDuplicates`) |
|
|
||
| If you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md). | ||
|
|
||
| For further information or help, don't hesitate to get in touch on the [Slack `#sarek` channel](https://nfcore.slack.com/channels/sarek) (you can join with [this invite](https://nf-co.re/join/slack)), or contact us: [Maxime Garcia](mailto:maxime.garcia@scilifelab.se?subject=[GitHub]%20nf-core/sarek), [Szilvester Juhos](mailto:szilveszter.juhos@scilifelab.se?subject=[GitHub]%20nf-core/sarek) |
There was a problem hiding this comment.
| For further information or help, don't hesitate to get in touch on the [Slack `#sarek` channel](https://nfcore.slack.com/channels/sarek) (you can join with [this invite](https://nf-co.re/join/slack)), or contact us: [Maxime Garcia](mailto:maxime.garcia@scilifelab.se?subject=[GitHub]%20nf-core/sarek), [Szilvester Juhos](mailto:szilveszter.juhos@scilifelab.se?subject=[GitHub]%20nf-core/sarek) | |
| For further information or help, don't hesitate to get in touch on the [Slack `#sarek` channel](https://nfcore.slack.com/channels/sarek) (you can join with [this invite](https://nf-co.re/join/slack)), or contact us: [Maxime Garcia](mailto:maxime.garcia@scilifelab.se?subject=[GitHub]%20nf-core/sarek), [Szilvester Juhos](mailto:szilveszter.juhos@scilifelab.se?subject=[GitHub]%20nf-core/sarek), [Friederike Hanssen](mailto:friederike.hanssen@qbic.uni-tuebingen.de?subject=[GitHub]%20nf-core/sarek), [Gisela Gabernet](mailto:gisela.gabernet@qbic.uni-tuebingen.de?subject=[GitHub]%20nf-core/sarek) |
|
|
||
| conda environment | ||
| container container | ||
| conda (params.enable_conda ? "bioconda::htslib=1.11" : null) |
There was a problem hiding this comment.
Does this also have a build number? --hd3b49d5_0 I mean?
There was a problem hiding this comment.
Good point, I'll look into it
| mode: params.publish_dir_mode, | ||
| saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) } | ||
|
|
||
| conda (params.enable_conda ? "bioconda::bwa=0.7.17 bioconda::samtools=1.10" : null) |
There was a problem hiding this comment.
Why not use samtoll 1.11? as in the other steps? Ah I guess, it is from the modules repo and not a local one, right?
There was a problem hiding this comment.
Because I did not check if there was a mulled container for it actually...
I just used the modules from nf-core/modules when there was one.
Was not planning to update tools in this PR.
I'm saving that for the future PRs
| if (ioptions.publish_by_id) path_list.add(args.publish_id) | ||
| if (ioptions.publish_by_id) { | ||
| path_list.add(args.publish_id) | ||
| } |
There was a problem hiding this comment.
Since the functions file is now within each tool/module folder, is this one still needed?
PR checklist
scrape_software_versions.pynf-core lint .).nextflow run . -profile test,docker).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).