Skip to content

refactor-workflow-tests#539

Merged
sateeshperi merged 34 commits intodevfrom
update-fasta-index-sub-wf
Jun 30, 2025
Merged

refactor-workflow-tests#539
sateeshperi merged 34 commits intodevfrom
update-fasta-index-sub-wf

Conversation

@sateeshperi
Copy link
Copy Markdown
Contributor

@sateeshperi sateeshperi commented Jun 26, 2025

This PR contains significant improvements to the FASTA index subworkflow, updates to multiple nf-core modules, test consolidation, and enhancements to the targeted sequencing functionality.

Major Changes

  • 🔧 FASTA Index Subworkflow Refactoring - remove implicit params
  • Improved channel handling for FASTA files with better branching logic for gzipped vs unzipped files
  • Added aligner and collecthsmetrics parameters to the subworkflow inputs

📦 Module Updates

  • Updated multiple nf-core modules to latest versions

🧪 Test Suite Consolidation

  • Removed individual test files
    Created comprehensive variant-based test suites:
  • bismark_variants.nf.test (
  • bwameth_variants.nf.test
  • targeted_sequencing_variants.nf.test
  • index_downloads.nf.test for testing index download scenarios

🎯 Targeted Sequencing Improvements

  • Enhanced targeted sequencing subworkflow
  • Better parameter handling with collecthsmetrics boolean parameter

⚙️ Main Workflow Updates

  • Improved parameter handling in main.nf:
  • Converted file parameters to proper channel initialization
  • Added channel mapping for ch_fasta, ch_fasta_index, ch_bismark_index, and ch_bwameth_index
  • Passed aligner and collecthsmetrics parameters to the subworkflow

@sateeshperi sateeshperi requested a review from a team as a code owner June 26, 2025 06:17
@sateeshperi sateeshperi requested a review from FelixKrueger June 26, 2025 06:17
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 26, 2025

nf-core pipelines lint overall result: Passed ✅

Posted for pipeline commit c2f1074

+| ✅ 236 tests passed       |+
#| ❔   4 tests were ignored |#
Details

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.3.1
  • Run at 2025-06-30 07:38:27

@GallVp
Copy link
Copy Markdown
Member

GallVp commented Jun 26, 2025

Hi @sateeshperi

This is a big one. Can we break it into a couple of smaller ones?

@sateeshperi
Copy link
Copy Markdown
Contributor Author

sateeshperi commented Jun 26, 2025

I am afraid its too late for that sorry.

If you collapse the module and subworkflow updates, you should see the changes to the channel wrings.

Please take your time and lmk if you would like me to provide a walk-through via zoom. Thanks a lot!

Comment thread nextflow.config
Comment thread subworkflows/nf-core/fasta_index_bismark_bwameth/main.nf
Comment thread main.nf Outdated
Comment thread tests/bismark_hisat_variants.nf.test
Comment thread tests/bismark_hisat_variants.nf.test Outdated
…r each repeater instead use combine and multimap
…run FastQC and MultiQC. Enhance test cases for Bismark and Bwameth workflows to include skip_fastqc functionality. Fix workflow versions collection.
@sateeshperi sateeshperi requested a review from GallVp June 29, 2025 12:06
…ks, and enhance usage parameters section. Initialize channels for bedgraph and aligner multiqc in main workflow.
@sateeshperi sateeshperi self-assigned this Jun 30, 2025
@sateeshperi sateeshperi added this to the 3.1.0 milestone Jun 30, 2025
@sateeshperi
Copy link
Copy Markdown
Contributor Author

sateeshperi commented Jun 30, 2025

one last fix to support igenomes incoming

@sateeshperi
Copy link
Copy Markdown
Contributor Author

Comment thread CHANGELOG.md
Comment thread docs/usage.md
Comment thread workflows/methylseq/main.nf
Comment thread workflows/methylseq/main.nf
Comment thread workflows/methylseq/main.nf
Comment thread main.nf Outdated
…ove unnecessary use of the first operator, improving clarity and consistency in the workflow setup.
Copy link
Copy Markdown
Member

@GallVp GallVp left a comment

Choose a reason for hiding this comment

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

Thank you! This is really good work.

I am happy with the PR now.

@sateeshperi
Copy link
Copy Markdown
Contributor Author

Thank you. could you review an easy PR to properly handle genome param
nf-core/modules#8732

@sateeshperi sateeshperi merged commit 020dd98 into dev Jun 30, 2025
54 checks passed
@sateeshperi sateeshperi deleted the update-fasta-index-sub-wf branch June 30, 2025 09:54
@sateeshperi sateeshperi mentioned this pull request Jun 30, 2025
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