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

Add deepsomatic tool #1647

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Add deepsomatic tool #1647

wants to merge 4 commits into from

Conversation

vaxyzek
Copy link

@vaxyzek vaxyzek commented Sep 10, 2024

This is a first version of PR to add deepsomatic capabilities into sarek pipeline. Currently this PR contains code changes only (without tests and most of metadata) and created to gather the initial feedback.

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>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,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).

Copy link

github-actions bot commented Sep 10, 2024

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.0.2.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@maxulysse maxulysse changed the base branch from master to dev September 12, 2024 09:41
@maxulysse
Copy link
Member

I like where this is going.
Thanks a lot @vaxyzek.
Let's leave this as Draft until nf-core/modules#6622 is merged.

Comment on lines +30 to +32
intervals_only = intervals.map { intervals, num_intervals -> [[], intervals]}

DEEPSOMATIC(cram_normal_tumor_intervals, intervals_only, fasta, fasta_fai, [ [ id:'null' ], [] ])
Copy link
Contributor

Choose a reason for hiding this comment

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

How does this work with multiple samples? We need to ensure that each sample is run with each interval subfile and then properly merged.

Copy link
Author

Choose a reason for hiding this comment

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

Intervals subfiles are passed to DEEPSOMATIC process through ext.prefix parameter (this is described in conf/modules/deepsomatic.config) and then output is merged with MERGE_DEEPSOMATIC_VCF and MERGE_DEEPSOMATIC_GVCF (lines 52-53)

nextflow_schema.json Outdated Show resolved Hide resolved
nextflow_schema.json Outdated Show resolved Hide resolved
modules.json Outdated Show resolved Hide resolved
@maxulysse
Copy link
Member

minor issues with managing merge conflicts, I made suggestions

vaxyzek and others added 2 commits January 14, 2025 13:02
Co-authored-by: Maxime U Garcia <[email protected]>
Co-authored-by: Maxime U Garcia <[email protected]>
@vaxyzek vaxyzek marked this pull request as ready for review January 15, 2025 22:33
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