Skip to content

Conversation

apetizerr
Copy link
Contributor

nf-core/modules pull request

PR checklist

Closes #8789

  • [✓ ] gzi path input for fasta, added more meta options for fasta, and test using a modified mutect mitochondria mode due to fast testing
  • [ ✓ ] If you've fixed a bug or added code that should be tested, add tests!
  • [ ✓ ] Remove all TODO statements.
  • [✓ ] Emit the versions.yml file.
  • [✓ ] Follow the naming conventions.
  • [ ✓ ] Follow the parameters requirements.
  • [ ✓] Follow the input/output options guidelines.
  • [ ✓] #Add a resource bug
  • [ ✓ ] Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • [✓ ] nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda

@apetizerr apetizerr requested review from a team and maxulysse as code owners September 11, 2025 16:54
@famosab
Copy link
Contributor

famosab commented Sep 12, 2025

You can join the org by jumping on slack and writing in #github-invitations (https://nf-co.re/join)

.idea/.gitignore Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove all the .idea/... files from the PR :)

@apetizerr
Copy link
Contributor Author

@famosab gotcha thank you for the feedback will implement those changes soon!

@apetizerr apetizerr requested a review from famosab September 17, 2025 03:00
"human - bam - generate_pon": {
"content": [
"876aa6be01c0c8fc71ad8e99ed842240",
"c3b555d00c575478b65626f56e3085c4",
Copy link
Contributor

Choose a reason for hiding this comment

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

any idea why all of these md5sums change even though we changed nothing about thr module itself? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i ran the tests for other modules since i was moving the inputs around

Copy link
Contributor

Choose a reason for hiding this comment

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

but still the bam readsMD5 sum should not change just because you add an empty input

@famosab
Copy link
Contributor

famosab commented Sep 19, 2025

@apetizerr You will also need to adapt the subworkflows to make the tests pass as we add a new input here they fail. The following subworkflows need to be updated:

  • BAM_TUMOR_NORMAL_SOMATIC_VARIANT_CALLING_GATK
  • BAM_CREATE_SOM_PON_GATK
  • BAM_TUMOR_ONLY_SOMATIC_VARIANT_CALLING_GATK

"human - cram": {
"content": [
"1b65f1a163b517944bf2e4b74230e035",
"6a839307b251fbeb1a4b08e3b3692513",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these changes should not have happened - I guess that they are due to the platform you ran the tests on. I had these issues sometimes when running directly on my mac. We have multiple possibilities to solve this: either switch to a linux workstation or run it in gitpod :)

@apetizerr apetizerr requested a review from famosab September 26, 2025 13:33
@famosab
Copy link
Contributor

famosab commented Sep 27, 2025

It looks good but I think you need to run the tests again on gitpod or a different environment or otherwise the tests will fail because the checksums do not match

@famosab
Copy link
Contributor

famosab commented Oct 2, 2025

Yeah the tests are failing because some of the md5sums changed when you ran it locally (this should not happen for tests that you do not touch). I would suggest to try an run it in gitpod :)

apetizerr and others added 2 commits October 2, 2025 21:25
- Updated snapshots for all test cases with current GATK4 v4.6.2.0
- Tests run with Docker profile to ensure reproducibility
- Updated timestamps to 2025-10-02
- All tests passing with updated snapshots

Co-authored-by: Ona <[email protected]>
@apetizerr
Copy link
Contributor Author

tests ran via ona/gitpod

@famosab
Copy link
Contributor

famosab commented Oct 6, 2025

Ok lets see if the tests run. In the meantime did you request to be added to the github org in the slack? Maybe you can do that then for the next PR you can directly see the CI tests :)

Copy link
Contributor

@famosab famosab left a comment

Choose a reason for hiding this comment

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

If you give me write access to your repository. I can try and run the tests and push the updated snapshots. I do not understand whats going on with these and could try and see whether I can resolve that.

"timestamp": "2025-09-15T16:17:00.767220472"
"timestamp": "2025-09-14T23:49:18.290784"
},
"human - bam - tumor_normal_pair_f1r2 - stub": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Now the results for this test are completely empty....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I requested to join the github org and invited to give access

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since there is a limit to the number of times i can use ONA to test, should I set up my environment in windows OS and not mac to avoid the checksum troubles?

Copy link
Contributor

Choose a reason for hiding this comment

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

No I think either we use linux or I will try and run it on my linux workstation locally

Copy link
Contributor

@famosab famosab left a comment

Choose a reason for hiding this comment

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

🚀

@apetizerr apetizerr added this pull request to the merge queue Oct 7, 2025
Merged via the queue into nf-core:master with commit 3e3ffe7 Oct 7, 2025
62 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.

GATK4_MUTECT2 fails for gzipped references

2 participants