Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Daniel-VM
Copy link
Contributor

@Daniel-VM Daniel-VM commented Apr 9, 2025

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/bacass branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

PR Description

This PR addresses path-related issues when processing the input samplesheet:

  • Fixed incorrect KmerFinder database paths
  • Resolved errors with symbolic links and local paths

Close #215
Close #188

Daniel-VM added a commit to Daniel-VM/bacass that referenced this pull request Apr 9, 2025
Daniel-VM added a commit to Daniel-VM/bacass that referenced this pull request Jun 24, 2025
@nf-core-bot
Copy link
Member

nf-core-bot commented Jun 24, 2025

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.3.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@Daniel-VM Daniel-VM marked this pull request as ready for review June 24, 2025 10:30
@Daniel-VM Daniel-VM mentioned this pull request Jun 26, 2025
11 tasks
Daniel-VM added a commit to Daniel-VM/bacass that referenced this pull request Jul 7, 2025
Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

You would not expect changes in the files that are listed in https://github.com/nf-core/bacass/actions/runs/16113916911/job/45463464679?pr=231, would you? I am asking because maybe the content of a few unstable files is still checked in that test.

@Daniel-VM
Copy link
Contributor Author

You would not expect changes in the files that are listed in https://github.com/nf-core/bacass/actions/runs/16113916911/job/45463464679?pr=231, would you? I am asking because maybe the content of a few unstable files is still checked in that test.

No. As far as I can see , there are files that don't match test snapshot, however, I haven't modify them in this PR.

@d4straub
Copy link
Collaborator

d4straub commented Jul 7, 2025

No. As far as I can see , there are files that don't match test snapshot, however, I haven't modify them in this PR.

Thanks. I'll add some more test profiles and investigate a bit more what can be done to get more stable outcomes.

@Daniel-VM
Copy link
Contributor Author

Thanks for the update. I’m not entirely sure what’s causing these discrepancies... The #246 passed without any errors, and I did not modify any related files. If you’d need help to dig into the snapshots just let me know πŸ‘πŸΎ

Daniel-VM added a commit to Daniel-VM/bacass that referenced this pull request Jul 9, 2025
@d4straub
Copy link
Collaborator

d4straub commented Jul 9, 2025

Failing checks for shards 3, 4, and 7 appears to be that "CAT_FASTQ" isnt executed for test profiles test_hybrid & test_hybrid_dragonflye & test_liftoff.
This doesnt seem intended, is it? I am just still skeptic with the checks. Please ping me in case you have any unexpected trouble with those.

@Daniel-VM
Copy link
Contributor Author

Failing checks for shards 3, 4, and 7 appears to be that "CAT_FASTQ" isnt executed for test profiles test_hybrid & test_hybrid_dragonflye & test_liftoff. This doesnt seem intended, is it? I am just still skeptic with the checks. Please ping me in case you have any unexpected trouble with those.

@d4straub , fixed tests that failed in relation to the CAT_FASTQ module

Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

Changes look all good to me, but I dont get why that CAT_FASTQ* processes are now executed but were before not. Just to make sure, they are supposed to be executed in those tests?

@Daniel-VM
Copy link
Contributor Author

Daniel-VM commented Jul 15, 2025

Changes look all good to me, but I dont get why that CAT_FASTQ* processes are not executed but were before not. Just to make sure, they are supposed to be executed in those tests?

CAT_FASTQ* should be executed when samples are resequenced (repeated sample entries in the input). For instance: https://raw.githubusercontent.com/nf-core/test-datasets/bacass/bacass_short_reseq.tsv

However, I have noticed that CAT_FASTQ* is getting executed even when samples are not resequenced. This is not the expected behavior. Fix in comming.

(Actually, it was correctly working here: #248).

@Daniel-VM
Copy link
Contributor Author

@nf-core-bot fix linting

@Daniel-VM Daniel-VM requested a review from d4straub July 17, 2025 07:18
Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

Changes look fine to me.
It looks to me as if the db name change of kmerfinderdb was fixed, I am confused though how relative paths were fixed, i dont see anywhere the file() expression added that was argued before is necessary.

@Daniel-VM
Copy link
Contributor Author

@nf-core-bot fix linting

@Daniel-VM
Copy link
Contributor Author

Changes look fine to me. It looks to me as if the db name change of kmerfinderdb was fixed, I am confused though how relative paths were fixed, i dont see anywhere the file() expression added that was argued before is necessary.

You are completely right... the handling of symblinks were not properly setup for input samples 😞 (I thought it was fixed but no).

I have added here a function to manage symbolic links for input samples.

Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

LGTM!

@Daniel-VM Daniel-VM merged commit f5e4786 into nf-core:dev Jul 18, 2025
24 checks passed
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