369 add ID signatures in sigprofilerassignment#429
Merged
Conversation
… modules of sigprofiler
efigb
commented
Mar 13, 2026
efigb
commented
Mar 13, 2026
| ) | ||
| vcf_files) | ||
|
|
||
| // --> external arg |
Collaborator
Author
There was a problem hiding this comment.
I commented this since I'm not sure it's correct
Contributor
There was a problem hiding this comment.
Pull request overview
Adds indel (COSMIC ID) signature fitting to the deepCSA workflow by extracting the ID83 matrix from SigProfilerMatrixGenerator outputs and running SigProfilerAssignment cosmic_fit with context_type=ID.
Changes:
- Add an indel reference signatures parameter (
indel_ref_signatures) and load it into the main workflow. - Extend SigProfilerAssignment
cosmic_fitmodule to accept a configurablecontext_typeand incorporate it into output naming. - Wire ID83 matrix output into a new SigProfilerAssignment invocation configured via
conf/modules.config.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| workflows/deepcsa.nf | Adds ID83 matrix extraction + indel signature assignment step in the signatures branch. |
| nextflow.config | Introduces default path for indel_ref_signatures. |
| modules/local/signatures/sigprofiler/matrixgenerator/main.nf | Exposes an matrix_ID83 emitted output for downstream consumption. |
| modules/local/signatures/sigprofiler/assignment/cosmic_fit/main.nf | Adds context_type support and includes it in output naming + CLI args. |
| conf/modules.config | Adds SIGPROFILERASSIGNMENTINDELS config (context type + publishDir). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
|
|
||
| cosmic_ref_signatures = "COSMIC_v3.4_SBS_GRCh38.txt" | ||
| indel_ref_signatures = "COSMIC_v3.4_ID_GRCh37.txt" // note that for IDs it has been defined in the GRCh37 genome version |
Collaborator
Author
There was a problem hiding this comment.
@copilot apply changes based on this feedback
* Initial plan * Add indel_ref_signatures to nextflow_schema.json reference_datasets section Co-authored-by: efigb <154223352+efigb@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: efigb <154223352+efigb@users.noreply.github.com>
Collaborator
|
this branch was merged without it working well, the following commit in dev solves the issues and is fully functional |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
adds ID signature assignment in sigprofilerassignment