ENSGENOMIO-18 Chunking modules#34
Open
markquintontulloch wants to merge 45 commits into
Open
Conversation
Dishalodha
reviewed
May 12, 2026
Dishalodha
left a comment
Collaborator
There was a problem hiding this comment.
Partial review, will test the code when cluster is back.
Looks good overall, just minor updates.
Dishalodha
reviewed
May 12, 2026
Dishalodha
requested changes
May 13, 2026
Dishalodha
reviewed
May 15, 2026
JAlvarezJarreta
requested changes
Jun 1, 2026
JAlvarezJarreta
left a comment
Collaborator
There was a problem hiding this comment.
Leaving the update of the GenomIO container when the new version is released aside, looks good to me. A couple of suggestions and comments.
Comment on lines
+37
to
+51
| def args = [] | ||
|
|
||
| if (params.chunk_id_regex) { | ||
| def rx = params.chunk_id_regex.replace("'", "'\"'\"'") | ||
| args << "--chunk-id-regex '${rx}'" | ||
| } | ||
|
|
||
| if (params.allow_revcomp) { | ||
| args << "--allow-revcomp" | ||
| } | ||
|
|
||
| def has_agp = agp && agp.baseName != 'NO_FILE' | ||
| if (has_agp) { | ||
| args << "--agp-file ${agp}" | ||
| } |
Collaborator
There was a problem hiding this comment.
Whilst I'm happy with using Nextflow's native language, I'm wondering how portable would this module be if we decided to move away from Nextflow compared to having this code in Bash inside the code block. In a way seeing this reminds me of our Perl code embedded inside eHive modules.
More a shared thought than an action to be made, honestly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creating draft pull request as following changes required:
Container version for Genomio needs to be updated once python code approved, merged, and new release container created.
Tests need to be updated in accordance with group's new policy.Tests now updated to avoid use of stored files