Node degree distribution#180
Conversation
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.5.1. For more documentation on how to update your pipeline, please see the Synchronisation documentation. |
There was a problem hiding this comment.
Pull request overview
This PR adds a node degree distribution summary for parsed input networks and integrates it into the final MultiQC report.
Changes:
- Extend
graph_tool_parser.py/GRAPHTOOLPARSERto emit per-network node degree distribution YAML. - Add a new
MULTIQCFORMATTERmodule +multiqc_formatter.pyto combine per-network distributions into a MultiQC custom-content YAML. - Register the new MultiQC section and header config in
assets/and pipeline workflow wiring.
Reviewed changes
Copilot reviewed 6 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| workflows/diseasemodulediscovery.nf | Wires the new node degree distribution output into MultiQC inputs via MULTIQCFORMATTER. |
| modules/local/multiqcformatter/main.nf | New process to generate MultiQC-ready YAML from distribution inputs + header. |
| modules/local/graphtoolparser/main.nf | Exposes node degree distribution YAML as an additional optional output. |
| conf/modules.config | Adds publishDir rules for MULTIQCFORMATTER. |
| bin/graph_tool_parser.py | Generates per-network node degree distribution YAML when parsing to gt. |
| bin/multiqc_formatter.py | New formatter script producing MultiQC custom-content YAML for the distribution plot. |
| assets/network_node_degree_distribution_header.yaml | New MultiQC custom-content header/template for node degree distribution. |
| assets/multiqc_config.yml | Adds the new section id to the custom_content ordering. |
| bin/network_annotation.py | Adds full-network and module-degree vertex properties to annotated subnetworks. |
| bin/visualize_modules.py | Adds runtime printing of pyvis version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JohannesKersting
left a comment
There was a problem hiding this comment.
@Schansiate
Please also update the output documentation and change to the new dependency container
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).