Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically set groupTuple size param #58

Open
jdhayhurst opened this issue Nov 8, 2022 · 0 comments
Open

Dynamically set groupTuple size param #58

jdhayhurst opened this issue Nov 8, 2022 · 0 comments

Comments

@jdhayhurst
Copy link
Contributor

Setting the groupTuple size parameter here:

hm_files = harmonization.out.hm_by_chrom.map{it[0,2]}.groupTuple()
will mean that the next steps can start before other independent steps are finished. The trick is going to be dynamically setting this size. We can create a size map for each GCST with relative ease, but passing the value in here is not obvious. The closest doc I can find is here: https://github.com/nextflow-io/nextflow/pull/3283/files which elaborates on the groupKey method.

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

No branches or pull requests

1 participant