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

Gvcf are published also when all intervals are processed at once #1172

Merged
merged 4 commits into from
Aug 8, 2023

Conversation

FriederikeHanssen
Copy link
Contributor

Close #764

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/sarek branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile 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).

@github-actions
Copy link

github-actions bot commented Aug 4, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit a3bf92c

+| ✅ 151 tests passed       |+
#| ❔   9 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.9
  • Run at 2023-08-05 17:28:56

@asp8200
Copy link
Contributor

asp8200 commented Aug 5, 2023

Looks fine. How about adding a test which covers the bug which this PR is fixing?

I think one could just extend tests/test_joint_germline.yml with

nextflow run main.nf -profile test_cache, --input ./tests/csv/3.0/mapped_joint_bam.csv --tools haplotypecaller --step variant_calling --joint_germline --outdir results

(That is similar to the existing test, but with the profile targeted removed.)
and the check for the gvcf-files under results/variant_calling/haplotypecaller/testN and results/variant_calling/haplotypecaller/testT.

@asp8200
Copy link
Contributor

asp8200 commented Aug 5, 2023

I wonder if one should also remove the enabled: !params.joint_germline from the config of SENTIEON_HAPLOTYPER 🤔

enabled: !params.joint_germline,

(And add a test for that as well.)

@FriederikeHanssen
Copy link
Contributor Author

I wonder if one should also remove the enabled: !params.joint_germline from the config of SENTIEON_HAPLOTYPER 🤔

enabled: !params.joint_germline,

(And add a test for that as well.)

sure but I would leave that up to a seaparate PR. the issue and the fix here are for haplotypecaller

@FriederikeHanssen FriederikeHanssen changed the title make gvcf are published also when all intervals are processed at once Gvcf are published also when all intervals are processed at once Aug 8, 2023
@FriederikeHanssen FriederikeHanssen merged commit 2ae0d45 into nf-core:dev Aug 8, 2023
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.

2 participants