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

Mutect2 multi sample subworkflow #1013

Merged
merged 59 commits into from
Jul 5, 2023

Conversation

berguner
Copy link
Contributor

@berguner berguner commented May 5, 2023

Create a subworkflow run mutect2 in joint mode for patients with multiple tumor samples as described in #916 .
- Created 2 subworkflows BAM_VARIANT_CALLING_TUMOR_ONLY_MUTECT2_MS and BAM_VARIANT_CALLING_SOMATIC_MUTECT2_MS.

  • Added the --mutect2_multi_sample --joint_mutect pipeline parameter to switch on multi sample mode.
  • Added test data for multi sample mode
    - VCFs are saved under variant_calling/mutect2_ms in multi sample mode.

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!
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@berguner berguner changed the title Mutect2 multi sample subworkflow #916 Mutect2 multi sample subworkflow May 5, 2023
@berguner berguner self-assigned this May 17, 2023
@berguner berguner marked this pull request as ready for review May 17, 2023 09:42
@berguner berguner requested a review from maxulysse as a code owner May 17, 2023 09:42
@maxulysse
Copy link
Member

Hi @berguner sorry for the delay.
I'm afraid we have some merge conflicts to solve there.
You seem to have used slightly out of date code on you PR.
Are you ok into trying to solve these conflicts, or do you need any help with that?

@berguner
Copy link
Contributor Author

Hi @maxulysse , I will try to solve them and get back to you soon.

nextflow.config Outdated Show resolved Hide resolved
@maxulysse
Copy link
Member

you have tiny issues with end of lines in some files, but this is looking super good.

Co-authored-by: Maxime U Garcia <maxime.garcia@seqera.io>
@github-actions
Copy link

github-actions bot commented May 31, 2023

nf-core lint overall result: Failed ❌

Posted for pipeline commit 2c320b3

+| ✅ 147 tests passed       |+
#| ❔   8 tests were ignored |#
-| ❌   6 tests failed       |-

❌ Test failures:

  • nextflow_config - Config variable not found: params.validationShowHiddenParams
  • nextflow_config - Config variable not found: params.validationSchemaIgnoreParams
  • files_unchanged - .github/CONTRIBUTING.md does not match the template
  • files_unchanged - .github/ISSUE_TEMPLATE/bug_report.yml does not match the template
  • schema_params - Param schema_ignore_params from nextflow config not found in nextflow_schema.json
  • multiqc_config - 'assets/multiqc_config.yml' does not contain a matching 'report_comment'.

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.9
  • Run at 2023-07-04 18:19:02

@berguner
Copy link
Contributor Author

I just run nf-core lint --fix files_unchanged, I don't know how else I can sort out the linting issues. Should I run prettier separately?

@maxulysse
Copy link
Member

errors are Wrong line endings or no final newline, so it's not prettier, but similar, let me check what can be done.
Maybe a @nf-core-bot fix linting pretty please will do the trick

@maxulysse
Copy link
Member

ok, so some fixes are done, but not all.
Do you mind if I push commit in your branch?

CHANGELOG.md Outdated Show resolved Hide resolved
nextflow.config Outdated Show resolved Hide resolved
berguner and others added 2 commits June 30, 2023 11:18
Co-authored-by: Maxime U Garcia <maxime.garcia@seqera.io>
@maxulysse
Copy link
Member

Looks amazing.
We're now missing just some documentation about it

Copy link
Contributor

@FriederikeHanssen FriederikeHanssen left a comment

Choose a reason for hiding this comment

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

Fantastic work! I think you also found two inefficient computations we do, that can be fixed with your code

conf/modules/mutect2.config Outdated Show resolved Hide resolved
conf/modules/mutect2.config Outdated Show resolved Hide resolved
conf/modules/mutect2.config Outdated Show resolved Hide resolved
conf/modules/mutect2.config Outdated Show resolved Hide resolved
conf/modules/mutect2.config Outdated Show resolved Hide resolved
conf/modules/prepare_genome.config Outdated Show resolved Hide resolved
berguner and others added 6 commits July 3, 2023 10:29
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Co-authored-by: Maxime U Garcia <maxime.garcia@seqera.io>
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.

AMAZING

@FriederikeHanssen FriederikeHanssen merged commit 1b37753 into nf-core:dev Jul 5, 2023
@maxulysse maxulysse deleted the mutect2_multi_sample branch July 5, 2023 11:16
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.

4 participants