Skip to content

Update tasmanian-mismatch to 2.0.5 - #75

Closed
aerijman wants to merge 1 commit into
masterfrom
bump-tasmanian-2.0.5
Closed

Update tasmanian-mismatch to 2.0.5#75
aerijman wants to merge 1 commit into
masterfrom
bump-tasmanian-2.0.5

Conversation

@aerijman

@aerijman aerijman commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@aerijman
aerijman requested review from bwlang and a lite review from Copilot September 8, 2026 12:08

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

The module currently disables -e/pipefail in a way that can mask real task failures, and the updated invocation changes sampling/filters in ways that need confirmation to match intended pipeline behavior.

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

Pull request overview

This PR updates the tasmanian Nextflow module to use tasmanian-mismatch version 2.0.5, adapting the process to a new/updated CLI while keeping the same output artifact (${library}.tasmanian.csv) for downstream aggregation in the EM-seq pipeline.

Changes:

  • Bump bioconda::tasmanian-mismatch to 2.0.5 and remove the explicit samtools dependency from the process conda env.
  • Switch from a samtools view | head | run_tasmanian pipeline to a direct tasmanian-mismatch invocation with explicit filtering flags.
  • Update versions reporting for MultiQC to reference tasmanian-mismatch (currently via a static placeholder string).
File summaries
File Description
modules/tasmanian.nf Updates the tasmanian stats process to run tasmanian-mismatch 2.0.5 directly and adjusts version reporting/output generation accordingly.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • 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/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 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.5'), topic: versions
Comment thread modules/tasmanian.nf
Comment on lines 22 to 23
set +e
set +o pipefail
@bwlang

bwlang commented Sep 8, 2026

Copy link
Copy Markdown
Member

this is already in #74

conda "bioconda::tasmanian-mismatch=2.0.5"

@bwlang bwlang closed this Sep 8, 2026
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.

3 participants