Skip to content

Feature/prs modules - #10

Open
Jorisvansteenbrugge wants to merge 54 commits into
mainfrom
feature/prs_modules
Open

Feature/prs modules#10
Jorisvansteenbrugge wants to merge 54 commits into
mainfrom
feature/prs_modules

Conversation

@Jorisvansteenbrugge

@Jorisvansteenbrugge Jorisvansteenbrugge commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

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)

  • Software version outputs have been moved to 'topic' versions.
  • Module configuration that is specific to the PRS workflow is included in subworkflows/UMCUGenetics/bam_prs/nextflow.config
  • All nf-tests and linting tests are passing

Base automatically changed from feature/modules_setup to main July 20, 2026 13:37
@rernst
rernst self-requested a review August 3, 2026 09:19

@rernst rernst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add a version to the script -> instead of hardcoding it in the nextflow module.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need our own custom GATK module? Do we use a different version?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is replaced by topic?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file should als be updated to reflect latest differences?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file should als be updated to reflect latest differences?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file should als be updated to reflect latest differences?


main:

// [model_meta, snplist, vcf, tbi]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a comment reflecting the structure of ch_snp_vcf?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants