Skip to content

369 add ID signatures in sigprofilerassignment#429

Merged
efigb merged 4 commits intodevfrom
369-add-id-signatures-in-sigprofilerassignment
Mar 13, 2026
Merged

369 add ID signatures in sigprofilerassignment#429
efigb merged 4 commits intodevfrom
369-add-id-signatures-in-sigprofilerassignment

Conversation

@efigb
Copy link
Collaborator

@efigb efigb commented Mar 13, 2026

adds ID signature assignment in sigprofilerassignment

)
vcf_files)

// --> external arg
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I commented this since I'm not sure it's correct

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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_fit module to accept a configurable context_type and 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
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link

Copilot AI commented Mar 13, 2026

@efigb I've opened a new pull request, #430, to work on those changes. Once the pull request is ready, I'll request review from you.

* 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>
@efigb efigb merged commit 0163dd6 into dev Mar 13, 2026
@FerriolCalvet
Copy link
Collaborator

this branch was merged without it working well, the following commit in dev solves the issues and is fully functional

af72bdb

@FerriolCalvet FerriolCalvet deleted the 369-add-id-signatures-in-sigprofilerassignment branch March 13, 2026 15:08
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