Add HEATMAP_PLOT and CODON_PLOTS processes to Nextflow pipeline#3
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/bibymaths/codonanalyzer/sessions/f29aec6e-260e-4b80-9a7e-b315a06fd7af Co-authored-by: bibymaths <42838835+bibymaths@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
bibymaths
April 20, 2026 15:30
View session
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.
Integrates two previously isolated scripts (
heatmap.sh,codon_plots.py) as first-class Nextflow processes, wired into the existing channel flow and gathered into final results.New processes
HEATMAP_PLOT— consumesHYDROPATHY_PROFILE.out.hplot(.hplot.txt), runsheatmap.shto produce a gnuplot diverging-palette PNG heatmap; output glob*.pngsince the filename embeds the sequence name extracted from the data file at runtimeCODON_PLOTS— consumesCODON_ANALYSIS.out.metrics(.metrics.txt), runscodon_plots.pyto produce a 7-panel codon usage figure as both.pngand.pdfPipeline wiring
GATHER_RESULTSextended with three new positional inputs (heatmap_pngs,codon_plot_pngs,codon_plot_pdfs), each collected via the sametoSortedList/mappattern used by all existing channels. Theheatmap_pngchannel additionally calls.flatten()since each process invocation may emit multiple files.Docs
Added
HEATMAP_PLOTandCODON_PLOTSsections todocs/processes.mdmatching the existing heading level, admonition style, and Mermaid diagram format.