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

Fix null value for joint calling with Mutect2 #1277

Merged
merged 5 commits into from
Oct 11, 2023

Conversation

FriederikeHanssen
Copy link
Contributor

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 Oct 10, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 2db3cbd

+| ✅ 147 tests passed       |+
#| ❔   8 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in WorkflowSarek.groovy: Optionally add in-text citation tools to this list.

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.10
  • Run at 2023-10-11 08:14:22

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

LGTM

@FriederikeHanssen
Copy link
Contributor Author

Manual tests passed:


(nf-core) [iizha01@rddsws sarek]$ TEST_DATA_BASE=mutect2_manual TMPDIR=~ PROFILE=docker pytest --tag mutect2_manual --symlink --keep-workflow-wd --git-aware
========================================================================================== test session starts ===========================================================================================
platform linux -- Python 3.6.13, pytest-6.2.3, py-1.11.0, pluggy-0.13.1
rootdir: /home/iizha01/sarek
plugins: workflow-1.6.0
collecting ...
collected 132 items

Run variant calling on somatic sample with mutect2 without intervals:
        command:   nextflow run main.nf -profile test_cache,tools_somatic --tools mutect2 --no_intervals --outdir results
        directory: /home-link/iizha01/pytest_workflow_64xtezmn/Run_variant_calling_on_somatic_sample_with_mutect2_without_intervals
        stdout:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_variant_calling_on_somatic_sample_with_mutect2_without_intervals/log.out
        stderr:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_variant_calling_on_somatic_sample_with_mutect2_without_intervals/log.err
'Run variant calling on somatic sample with mutect2 without intervals' done.

Run variant calling on somatic sample with mutect2:
        command:   nextflow run main.nf -profile test_cache,tools_somatic --tools mutect2 --outdir results
        directory: /home-link/iizha01/pytest_workflow_64xtezmn/Run_variant_calling_on_somatic_sample_with_mutect2
        stdout:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_variant_calling_on_somatic_sample_with_mutect2/log.out
        stderr:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_variant_calling_on_somatic_sample_with_mutect2/log.err
'Run variant calling on somatic sample with mutect2' done.

Run joint calling on tumor only samples with mutect2:
        command:   nextflow run main.nf -profile test_cache,tools_tumoronly --input tests/csv/3.0/recalibrated_tumoronly_joint.csv --tools mutect2 --joint_mutect2 --outdir results
        directory: /home-link/iizha01/pytest_workflow_64xtezmn/Run_joint_calling_on_tumor_only_samples_with_mutect2
        stdout:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_joint_calling_on_tumor_only_samples_with_mutect2/log.out
        stderr:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_joint_calling_on_tumor_only_samples_with_mutect2/log.err
'Run joint calling on tumor only samples with mutect2' done.

Run joint calling on somatic samples with mutect2:
        command:   nextflow run main.nf -profile test_cache,tools_somatic --input tests/csv/3.0/recalibrated_somatic_joint.csv --tools mutect2 --joint_mutect2 --outdir results
        directory: /home-link/iizha01/pytest_workflow_64xtezmn/Run_joint_calling_on_somatic_samples_with_mutect2
        stdout:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_joint_calling_on_somatic_samples_with_mutect2/log.out
        stderr:    /home-link/iizha01/pytest_workflow_64xtezmn/Run_joint_calling_on_somatic_samples_with_mutect2/log.err
'Run joint calling on somatic samples with mutect2' done.

tests/test_tools_manually.yml ....................................................................................................................................                                 [100%] Keeping temporary directories and logs. Use '--kwd' or '--keep-workflow-wd' to disable this behaviour.


==================================================================================== 132 passed in 3544.50s (0:59:04) ====================================================================================

Just waiting for confirmation from @berguner

@berguner
Copy link
Contributor

My tests using in-house data also worked. Thanks for the quick fix @FriederikeHanssen ! 👍

@FriederikeHanssen
Copy link
Contributor Author

FriederikeHanssen commented Oct 11, 2023

yay 🥳 ok merging then. And thanks for investigating where the issue is in the first place 🙏

@FriederikeHanssen FriederikeHanssen marked this pull request as ready for review October 11, 2023 10:09
@FriederikeHanssen FriederikeHanssen merged commit 31aefde into nf-core:dev Oct 11, 2023
22 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