Update: pangolin modules#12211
Open
ammaraziz wants to merge 4 commits into
Open
Conversation
LouisLeNezet
reviewed
Jul 2, 2026
LouisLeNezet
left a comment
Contributor
There was a problem hiding this comment.
Just some simplification on the version expression, but good to go otherwise.
| @@ -63,7 +63,6 @@ nextflow_process { | |||
| { assert path(process.out.report[0][1]).readLines().first().contains("taxon,lineage,conflict,ambiguity_score,scorpio_call,scorpio_support,scorpio_conflict,scorpio_notes,version,pangolin_version,scorpio_version,constellation_version,is_designated,qc_status,qc_notes,note") }, | |||
| { assert snapshot( | |||
Contributor
There was a problem hiding this comment.
Could you instead use sanitizeOutput(process.out, unstableKeys:["report"]) ?
This way this will also snapshot the versions.
| output: | ||
| tuple val(meta), path('*.csv'), emit: report | ||
| path "versions.yml" , emit: versions | ||
| tuple val("${task.process}"), val('pangolin'), eval("pangolin -v | sed -n 's/pangolin \\([0-9.]*\\).*/\\1/p'"), emit: versions_pangolin, topic: versions |
Contributor
There was a problem hiding this comment.
This could be simplified as
Suggested change
| tuple val("${task.process}"), val('pangolin'), eval("pangolin -v | sed -n 's/pangolin \\([0-9.]*\\).*/\\1/p'"), emit: versions_pangolin, topic: versions | |
| tuple val("${task.process}"), val('pangolin'), eval("pangolin -v | sed 's/pangolin //'"), emit: versions_pangolin, topic: versions |
| pattern: "*.{csv}" | ||
| ontologies: | ||
| - edam: http://edamontology.org/format_3752 # CSV | ||
| - edam: http://edamontology.org/format_3752 |
Contributor
There was a problem hiding this comment.
Suggested change
| - edam: http://edamontology.org/format_3752 | |
| - edam: http://edamontology.org/format_3752 #CSV |
| @@ -25,7 +25,6 @@ nextflow_process { | |||
| { assert process.success }, | |||
| { assert snapshot( | |||
| path("${prefix}") , emit: db | ||
| path "versions.yml" , emit: versions | ||
| path("${prefix}") , emit: db | ||
| tuple val("${task.process}"), val('pangolin-dataset'), eval("pangolin -pv | sed -n 's/pangolin-data \\([0-9.]*\\).*/\\1/p'"), emit: versions_pangolin_dataset, topic: versions |
Contributor
There was a problem hiding this comment.
Same here
Suggested change
| tuple val("${task.process}"), val('pangolin-dataset'), eval("pangolin -pv | sed -n 's/pangolin-data \\([0-9.]*\\).*/\\1/p'"), emit: versions_pangolin_dataset, topic: versions | |
| tuple val("${task.process}"), val('pangolin-dataset'), eval("pangolin -pv | sed 's/pangolin-data //'"), emit: versions_pangolin_dataset, topic: versions |
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.
Hi guys,
Retrying this pull request, last one had a silly issue on my end.
Migrated to using topics channels for both modules
Modified the test files as they were testing for
version.ymlUpdate dependencies:
pangolinversion updated to 4.4pangolin-dataversion updated to 1.39snakemake-minimalversion updated to 9.21.1 - I chose a version that looked stable, fixed bugs but didnt introduce too many new features just to be sure.Thanks!