Feature/prs modules - #10
Conversation
Feature/modules test
… into feature/prs_modules
Feature/variant calling prs
Feature/prs modules
topic versions
rernst
left a comment
There was a problem hiding this comment.
Looks good, some minor remarks / discussion points and comments:
- Add version to (python) tools instead of nextflow module.
- Update diff comparisons to reflect update modules -> maybe evaluate whether we still need to 'copy' these nf-core modules in our own repo (out of scope for this PR)?
- I think it would be a good idea to create a separate 'prsutils' repo for the python tools in that module. Comparable to what we want to do with for example DIMS.
| # Required for nft-utils nfcoreInstall() to install nf-core modules | ||
| # during test setup (provides the `nf-core` CLI on PATH). | ||
| shell: bash | ||
| run: python -m pip install --upgrade --force-reinstall git+https://github.com/UMCUGenetics/nf-core-tools.git |
There was a problem hiding this comment.
Do we still need our own checkout -> if so, we should make sure to keep it up to date.
| output: | ||
| tuple val(meta), path("*_knn.tsv"), emit: knn_tsv | ||
| tuple val(meta), path("*_knn_pca.png"), emit: knn_pca_plot, optional: true | ||
| tuple val("${task.process}"), val('ancestry_knn'), eval('echo 1.0.0'), emit: versions_ancestry_knn, topic: versions |
There was a problem hiding this comment.
I think we should add a version to the script -> instead of hardcoding it in the nextflow module.
There was a problem hiding this comment.
Why do we need our own custom GATK module? Do we use a different version?
There was a problem hiding this comment.
Should we add a meta.yml for our modules as well? Is there any added value?
| -o ${prefix}_normalised.txt.gz | ||
|
|
||
|
|
||
| echo "pgscatalog-combine: 1.4.4" > versions.yml |
There was a problem hiding this comment.
I think this file should als be updated to reflect latest differences?
There was a problem hiding this comment.
I think this file should als be updated to reflect latest differences?
There was a problem hiding this comment.
I think this file should als be updated to reflect latest differences?
|
|
||
| main: | ||
|
|
||
| // [model_meta, snplist, vcf, tbi] |
There was a problem hiding this comment.
Is this a comment reflecting the structure of ch_snp_vcf?
The modules and subworkflows from DxNextflowPRS have been moved to the central Modules repository. A few small refactors have been made to make the subworkflows more 'stand alone', but 90% of the content of this PR was previously reviewed and is already used in production (https://github.com/UMCUGenetics/DxNextflowPRS/tree/main)