Skip to content

Diverse updates and fixes#335

Merged
FerriolCalvet merged 9 commits intodevfrom
force-allm
Jul 30, 2025
Merged

Diverse updates and fixes#335
FerriolCalvet merged 9 commits intodevfrom
force-allm

Conversation

@FerriolCalvet
Copy link
Collaborator

@FerriolCalvet FerriolCalvet commented Jul 30, 2025

  • Force all molecules to always be treated as true
  • Fix oncodrive3d container definition
  • Remove project specific profiles
  • Add profiles for specific run modes: basic, clonal_structure, get_signatures
  • Fix bugs
  • Handle inputs with click
  • New required parameter: domains_file

AI generated summary

This pull request removes outdated configuration files and introduces new configuration modes to streamline the codebase and improve modularity. The most important changes include the removal of several unused configuration files, the addition of new configuration modes, and updates to process parameters in existing configuration files.

Removal of outdated configuration files:

  • Deleted multiple unused configuration files, such as conf/bladder.config, conf/chip.config, conf/kidney.config, conf/lung.config, conf/mice_mm10.config, and others. These files contained parameters and processes no longer relevant to the current pipeline. [1] [2] [3] [4] [5] etc.)

Addition of new configuration modes:

  • Added conf/modes/basic.config with basic parameters for plotting depths, enabling signatures, and profiling all regions.
  • Added conf/modes/clonal_structure.config with parameters for mutation density, clonal structure analysis, and omega metrics.
  • Added conf/modes/get_signatures.config with parameters for mutation density, profiling non-protein coding regions, and extracting signatures.

Updates to existing configuration files:

  • Updated conf/general_files_BBG.config and conf/general_files_IRB.config to include a new domains_file parameter for oncodrive3d analysis. [1] [2]
  • Modified conf/modules.config to simplify and standardize process arguments, such as replacing ext.level with ext.args and adjusting filters for VAF thresholds. [1] [2]

These changes improve maintainability by removing obsolete configurations and introducing modular, reusable modes for specific analysis tasks. Let me know if you have any questions!

- we force the input to be provided with the AM fields in the VCF
- not tested
- define domains file in structural configs
- new mandatory param domains_file
- update docs for domain and for features
- expand regions handling with click
- in case AM not available we define the same as duplex
@FerriolCalvet FerriolCalvet requested a review from Copilot July 30, 2025 09:12
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

This pull request removes outdated project-specific configuration files and introduces new modular configuration modes to streamline the codebase. The changes include removing multiple project configurations, adding three new mode-based configurations, and updating parameter handling to use click-based command line interfaces.

  • Removes 10+ project-specific configuration files that are no longer needed
  • Adds three new modular configuration modes: basic, clonal_structure, and get_signatures
  • Updates parameter handling to use click-based CLI with proper argument passing
  • Introduces new required parameter for domain file specification

Reviewed Changes

Copilot reviewed 31 out of 34 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
workflows/deepcsa.nf Simplifies DNDS workflow by moving parameter handling internally
subworkflows/local/mutatedcells/vaf/main.nf Removes conditional logic around duplex counts processing
subworkflows/local/dnds/main.nf Moves covariates and ref_trans parameter handling into the workflow
subworkflows/local/createpanels/main.nf Updates domain file handling to use new domains_file parameter
nextflow_schema.json Adds domains_file parameter and removes all_duplex_counts parameter
nextflow.config Adds domains_file parameter and replaces project profiles with mode profiles
modules/local/vcf2maf/main.nf Updates to use click-based CLI with proper argument structure
modules/local/expand_regions/main.nf Updates to use click-based CLI for add_hotspots.py
modules/local/bbgtools/oncodrive3d/*/main.nf Updates container reference and version handling
docs/usage.md Documents new domains_file parameter requirement
docs/file_formatting.md Adds documentation for domain definition file format
conf/test_real.config Updates selected_genes parameter with actual gene list
conf/test.config Removes all_duplex_counts parameter
conf/modules.config Updates VCF2MAF configuration and VAF filtering logic
conf/modes/*.config New modular configuration files for different analysis modes
conf/general_files_*.config Adds domains_file parameter specification
conf/*.config (removed) Removes multiple outdated project-specific configuration files

Copy link
Member

@FedericaBrando FedericaBrando left a comment

Choose a reason for hiding this comment

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

Way cleaner the config part! Nice 🚀

@FerriolCalvet FerriolCalvet merged commit bb4d104 into dev Jul 30, 2025
@FerriolCalvet FerriolCalvet deleted the force-allm branch July 30, 2025 12:35
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.

Feature suggestion: Create profiles for the various expected run modes

3 participants