Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added delly/filter, changed delly/call - this time with up-to-date fork #5384

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

alexnater
Copy link

PR checklist

Closes #4808

  • This comment contains a description of changes (with reason).
  • Added module delly/filter
  • Changed module delly/call to allow somatic SV calling
  • Changed testing to nf-test for delly/call
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • 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 label
  • 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

modules/nf-core/delly/call/main.nf Show resolved Hide resolved
modules/nf-core/delly/call/main.nf Outdated Show resolved Hide resolved
modules/nf-core/delly/call/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/delly/filter/main.nf Outdated Show resolved Hide resolved
@alexnater alexnater requested a review from nvnieuwk March 28, 2024 17:38
Copy link
Contributor

@nvnieuwk nvnieuwk left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@nvnieuwk
Copy link
Contributor

You should also remove the pytest files of delly/call and remove the module from pytest_modules.yml so the pytest tests don't run

@alexnater
Copy link
Author

Done. The assertions might need some more works, as some files contain time stamps and md5 sums will probably not match.

@nvnieuwk
Copy link
Contributor

nvnieuwk commented Apr 3, 2024

You could check parts of the VCF content with path(process.out.<name_of_output>[0][1].linesGzip[-5..-1]) (This will snapshot the last 5 lines of the VCF). For the index you can simple snapshot the filename like this: file(process.out.<name_of_output>[0][1]).name

@alexnater
Copy link
Author

The use of file and path in the test assertions is a bit confusing to me (file -> Nextflow, path -> Groovy?). I hope you actually meant path(process.out.<name_of_output>[0][1]).linesGzip[-5..-1] or this is not making any sense to me.

@nvnieuwk
Copy link
Contributor

nvnieuwk commented Apr 3, 2024

The use of file and path in the test assertions is a bit confusing to me (file -> Nextflow, path -> Groovy?). I hope you actually meant path(process.out.<name_of_output>[0][1]).linesGzip[-5..-1] or this is not making any sense to me.

Yes that's what I meant, sorry 😁

@alexnater alexnater added this pull request to the merge queue Apr 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 4, 2024
@SPPearce
Copy link
Contributor

Looks like this has some merge conflicts that need fixing before it can be merged in

@SPPearce SPPearce enabled auto-merge April 29, 2024 19:14
@SPPearce
Copy link
Contributor

Still need to fix the tests, as mentioned they are not stable.

@SPPearce
Copy link
Contributor

SPPearce commented May 7, 2024

@nvnieuwk , can you take a look at this PR please, given that you've just merged changes to delly call.

@nvnieuwk
Copy link
Contributor

nvnieuwk commented May 7, 2024

Yeah my bad sorry, I forgot this PR did mostly the same changes. I'll fix the conflicts

@nvnieuwk
Copy link
Contributor

nvnieuwk commented May 7, 2024

Okay conflicts fixed but here are some pointers:

  1. The tests are still using the old params.test_data way of getting the test files, this should be updated to use params.modules_testdata_base_path instead.
  2. There is a newer version of delly, so can you please update it in delly/filter too?

@SPPearce
Copy link
Contributor

@alexnater , do you need help to get this finished off?

@alexnater
Copy link
Author

@alexnater , do you need help to get this finished off?

Hi Simon. Sorry, I forgot a bit about this pending PR. Yes, I think I would need some help to finish this off. I'm a bit confused about this missing review by @projectoriented. Who is this?

@SPPearce
Copy link
Contributor

@alexnater , do you need help to get this finished off?

Hi Simon. Sorry, I forgot a bit about this pending PR. Yes, I think I would need some help to finish this off. I'm a bit confused about this missing review by @projectoriented. Who is this?

@projectoriented is listed as the code owner, which presumably means they initially contributed the module. You don't need to wait for a review by them.

What help do you need?

@SPPearce
Copy link
Contributor

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

new module: delly/filter
3 participants