Skip to content

Add cnvkit germline mode#576

Merged
maxulysse merged 20 commits intonf-core:devfrom
SusiJo:cnvkit_germline
Jun 7, 2022
Merged

Add cnvkit germline mode#576
maxulysse merged 20 commits intonf-core:devfrom
SusiJo:cnvkit_germline

Conversation

@SusiJo
Copy link
Copy Markdown
Contributor

@SusiJo SusiJo commented Jun 1, 2022

PR checklist

This PR implements germline variant calling with cnvkit.

  • 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 - add to the software_versions process and a regex to scrape_software_versions.py
    • 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).
  • 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).

@SusiJo SusiJo requested a review from maxulysse as a code owner June 1, 2022 16:06
@SusiJo
Copy link
Copy Markdown
Contributor Author

SusiJo commented Jun 1, 2022

Please note that the new upstream nf-core/modules cnvkit/batch has to be installed after the PR to modules is merged.

Comment thread subworkflows/local/germline_variant_calling.nf Outdated
Comment thread subworkflows/local/germline_variant_calling.nf Outdated
Copy link
Copy Markdown
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

Copy link
Copy Markdown
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.

Looks great, only thing missing would be some CI tests. 🚀

@maxulysse
Copy link
Copy Markdown
Member

@SusiJo you can run prettier with @nf-core-bot fix linting

@SusiJo
Copy link
Copy Markdown
Contributor Author

SusiJo commented Jun 3, 2022

Ah cool! Good to know for next time :D

Comment thread subworkflows/local/germline_variant_calling.nf Outdated
Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
Copy link
Copy Markdown
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.

<3

Comment thread tests/test_tools.yml
- path: results/variant_calling/sample1/cnvkit/test.paired_end.recalibrated.sorted.cnr
- path: results/variant_calling/sample1/cnvkit/test.paired_end.recalibrated.sorted.cns
- path: results/variant_calling/sample1/cnvkit/test.paired_end.recalibrated.sorted.call.cns

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks great, thanks for adding those <3

@maxulysse
Copy link
Copy Markdown
Member

CI tests are badly failing

@FriederikeHanssen
Copy link
Copy Markdown
Contributor

linting fails for cnvkit bathc:

│ cnvkit/batch                              │ modules/nf-co… │ Local copy of   │
│                                           │                │ module does not │
│                                           │                │ match remote    

could that be the reason?

@maxulysse
Copy link
Copy Markdown
Member

Seems likely, anyway error message is not helping as usual...

@maxulysse maxulysse merged commit 205b33f into nf-core:dev Jun 7, 2022
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