Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The new TSV output breaks the existing CSV contract and lacks content-level test coverage.
Review effort: Balanced
Findings: 1
Open (3)
What changed in this PR
Updates the Tasmanian mismatch-analysis stage to version 2.0.5.
Changes:
- Replaces the legacy samtools pipeline with the indexed-BAM CLI.
- Preserves mapping, base-quality, and flag filters.
- Updates dependency and version metadata.
| File | Description |
|---|---|
modules/tasmanian.nf |
Upgrades and invokes tasmanian-mismatch 2.0.5. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| --min-base-quality 20 \ | ||
| --min-map-quality 30 \ | ||
| -F 3840 \ | ||
| -o ${library}.tasmanian.csv |
| 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 |
| set +e | ||
| set +o pipefail | ||
| samtools view -q 30 -F 3840 ${bam} | head -n 2000000 | run_tasmanian -r ${genome_fa} > ${library}.tasmanian.csv | ||
| tasmanian-mismatch ${bam} ${genome_fa} \ |
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.



Bumps tasmanian-mismatch to 2.0.5, rebased onto current master so it includes the fix_paths merge (#76). seq-shepherd PR nebiolabs/seq-shepherd#544 points this submodule at this branch's commit (89beaf7); please merge with a merge commit (not squash) so that commit stays on master.
🤖 Generated with Claude Code