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

GATK CNVCaller fixes #472

Merged
merged 12 commits into from
Jan 10, 2024
Merged

GATK CNVCaller fixes #472

merged 12 commits into from
Jan 10, 2024

Conversation

Jakob37
Copy link
Contributor

@Jakob37 Jakob37 commented Jan 10, 2024

This PR attempts to fix three issues (#442, #444, #450) that was necessary to change to be able to run GATK CNVCaller.

  1. Use segments instead of intervals (the intervals are the initial bins with are linked together into longer segments to make the final "calls").
  2. Filter the "reference" segments from the GATK output. I didn't find any built-in way to directly remove these from the output, so I filtered it using BCFTOOLS.
  3. Update the processing of the ch_readcount_intervals variable (it contains just a path, but was handled as a tuple with meta + path).

It is testrun locally with no errors. It ends up as expected in the SVDB merged output.

Comments are warmly welcome. Guidance on how to approach wrapping this from here is appreciated.

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/raredisease 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>).
  • Ensure the test suite passes (nextflow run . -profile test_one_sample,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).

@Jakob37 Jakob37 changed the title Jw/gatk fixes GATK CNVCaller fixes Jan 10, 2024
Copy link

github-actions bot commented Jan 10, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 938591d

+| ✅ 155 tests passed       |+
#| ❔   6 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in WorkflowRaredisease.groovy: Optionally add in-text citation tools to this list.

❔ Tests ignored:

  • files_exist - File is ignored: conf/modules.config
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_dark.png
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore or pyproject.toml

✅ Tests passed:

Run details

  • nf-core/tools version 2.11.1
  • Run at 2024-01-10 09:05:53

@jemten
Copy link
Collaborator

jemten commented Jan 10, 2024

ready for review @Jakob37?

@Jakob37 Jakob37 marked this pull request as ready for review January 10, 2024 12:46
@Jakob37
Copy link
Contributor Author

Jakob37 commented Jan 10, 2024

@jemten Yes!

Copy link
Collaborator

@ramprasadn ramprasadn left a comment

Choose a reason for hiding this comment

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

LGTM!

@jemten jemten merged commit 4f50a3e into nf-core:dev Jan 10, 2024
8 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
3 participants