nf-core / nf-core/nft-utils

Wrong capture of hash with filterNextflowOutput

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13
Forks
11
Avg merge
1d 16h
Merged PRs (30d)
6

Description

This error message:

WARN: FASTQ file(/home/runner/tests/dbcf29769b30ade963f50358dd930f12/work/7b/b7421f705229baeb721b87806b97ed/test_1.fastq.gz): Cannot extract flowcell ID from @normal#21#998579#1/1

Get saved as:

WARN: FASTQ file([PATH]/tests/[NFT_HASH]/work/22/[NFT_HASH]/test_R1_R2_R1.fastq.gz): Cannot extract flowcell ID from @normal#21#998579#1/1

Instead of:

WARN: FASTQ file([PATH]/tests/[NFT_HASH]/work/[NFT_HASH]/test_R1_R2_R1.fastq.gz): Cannot extract flowcell ID from @normal#21#998579#1/1

Which results in non reproducible results

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the filterNextflowOutput entry point and inspect how work-directory hashes are replaced in captured warning messages. Reproduce the example and verify that each work path component is normalized consistently, with no separate hash segment left unmasked.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.