Merged
Conversation
- revert some PDFs back to PNGs
- Masha's script ready to be added pending: - connect with Nextflow - decide if applied sample by sample + plotting later or as is with all samples being computed together
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies several small plotting/output-path adjustments across Nextflow modules and helper scripts, plus adds an R utility script for cord-blood mutation-rate analysis.
Changes:
- Update plotting modules/scripts to write figures into new subfolders (e.g.,
side_figures/,domains/) and adjust Nextflowmkdiraccordingly. - Adjust
PLOT_SATURATIONoutputs to split PNGs vs PDFs and updateANALYZEDEPTHSGROUPSpublish directory path. - Add an R script to compute/plot corrected trinucleotide mutation rates; add a new contamination QC plot and refactor coverage plotting logic.
Reviewed changes
Copilot reviewed 3 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| modules/local/plot/selection_metrics/main.nf | Creates side_figures/ directory for side-plot outputs. |
| modules/local/plot/saturation/main.nf | Changes declared plot outputs and creates domains/ subdir for saturation plots. |
| conf/modules.config | Updates ANALYZEDEPTHSGROUPS publishDir output path. |
| bin/plot_selectionsideplots.py | Writes side figures into outdir/side_figures. |
| bin/plot_gene_saturation.py | Writes cohort-level domain-selection PNGs into a domains/ subfolder. |
| bin/panels_computedna2protein.py | Refactors coverage summarization to attempt DNA/Protein/Exon-level plots. |
| bin/cordblood_mutrate_genome_trint_corrected.R | New script to compute corrected mutation rates + plots. |
| bin/check_contamination.py | Adds a violin+swarm PDF summarizing somatic SNP proportions across samples. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- tests working with external files, pending omega
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.
No description provided.