Skip to content

Add dndscv plots and expanded needle plots - #491

Merged
FerriolCalvet merged 5 commits into
devfrom
add-dndscv-plots
Sep 1, 2026
Merged

FerriolCalvet merged 5 commits into
devfrom
add-dndscv-plots

Conversation

@FerriolCalvet

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the DeepCSA pipeline’s positive-selection visualization and reporting by adding per-sample dNdScv outputs to the aggregated results and incorporating a new dNdScv track in the side-plot summaries, alongside generating an “expanded” variant of the needle plots.

Changes:

  • Join per-sample dNdScv CV results into the workflow-level positive_selection_results channel and expose them from the DNDS subworkflow.
  • Add a dNdScv track to the positive-selection side plot generation and load per-sample dNdScv CV metrics for plotting.
  • Add expanded needle plot generation and update needle plotting to use explicit start/end positions.

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
workflows/deepcsa.nf Adds per-sample dNdScv CV results into the aggregated positive selection results stream.
subworkflows/local/dnds/main.nf Exposes DNDS CV per-sample results as an emitted channel for downstream joins/plotting.
bin/utils_plot.py Adds a color mapping for the truncating label used by new plots.
bin/plot_selectionsideplots.py Adds dNdScv as an optional plotting track and loads per-sample dNdScv CV data for the summary plot.
bin/plot_needles.py Adds “expanded” needle plots and switches plotting to use explicit start/end position ranges.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@FerriolCalvet
FerriolCalvet merged commit 60af6cd into dev Sep 1, 2026
1 check passed
@FerriolCalvet
FerriolCalvet deleted the add-dndscv-plots branch September 1, 2026 18:01
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.

2 participants