Skip to content

Bump tasmanian 2.0.4 production emseq v2 - #73

Closed
aerijman wants to merge 5 commits into
masterfrom
bump-tasmanian-2.0.4-production-emseq-v2
Closed

Bump tasmanian 2.0.4 production emseq v2#73
aerijman wants to merge 5 commits into
masterfrom
bump-tasmanian-2.0.4-production-emseq-v2

Conversation

@aerijman

@aerijman aerijman commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 1, 2026 18:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

There are correctness/consistency issues in the updated fastp invocation/version reporting, the workflow_name_modifier usage, and the Tasmanian version/performance changes need alignment with the PR intent.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates pipeline tooling and reporting to align with newer Tasmanian-Mismatch usage and to enrich NEB aggregation metadata, plus adds configurability for invoking fastp from a custom location.

Changes:

  • Update tasmanian module to use tasmanian-mismatch v2 CLI and pin the conda package accordingly.
  • Add optional params.fastp_path support for running fastp from a specified location.
  • Extend aggregate_results to accept workflow version and workflow name modifier as explicit inputs/CLI flags.
File summaries
File Description
modules/tasmanian.nf Pins tasmanian-mismatch and switches to the v2 invocation style / args.
modules/fastp.nf Adds configurable prefix/path for invoking fastp.
modules/aggregate_results.nf Adds workflow metadata inputs and forwards them to aggregate_results.rb.
main.nf Updates the aggregate_results call signature and provides new metadata values.
conf/test.config Adds fastp_path to the test profile params.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 5
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread modules/fastp.nf
Comment on lines 14 to +17
tuple val("${task.process}"), val('fastp'), eval('fastp --version 2>&1 | cut -f 2 -d " "'), topic: versions

script:
def fastp_path = params.fastp_path ? params.fastp_path : ''
Comment thread modules/tasmanian.nf
tuple val(library), path("${library}.tasmanian.csv"), emit: for_agg
tuple val("${task.process}"), val('samtools'), eval('samtools --version | head -n 1 | sed \'s/^samtools //\''), topic: versions
tuple val("${task.process}"), val('tasmanian'), val('*should be* 1.0.9'), topic: versions
tuple val("${task.process}"), val('tasmanian-mismatch'), val('*should be* 2.0.3'), topic: versions
Comment thread modules/tasmanian.nf
Comment on lines +24 to +28
tasmanian-mismatch ${bam} ${genome_fa} \
--position-mode read \
--min-base-quality 20 \
--min-map-quality 30 \
-F 3840 \
Comment thread main.nf
workflow_name_modifier = params.workflow_name_modifier ? "-${params.workflow_name_modifier}" : ""
aggregate_results( agg_tuple, "${params.workflow}${workflow_name_modifier}" )
}
aggregate_results( agg_tuple, "${params.workflow}", 'unspecified', params.workflow_name_modifier ?: '' )
Comment thread modules/tasmanian.nf
tag { library }
publishDir "${params.outputDir}/stats/tasmanian"
conda "bioconda::samtools=1.22 bioconda::tasmanian-mismatch=1.0.9"
conda "bioconda::tasmanian-mismatch=2.0.3"
@aerijman aerijman closed this Sep 1, 2026
@aerijman

aerijman commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

THis was a mistake. THere is a previous PR that's doing this

@aerijman
aerijman deleted the bump-tasmanian-2.0.4-production-emseq-v2 branch September 4, 2026 17:20
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.

4 participants