Skip to content

Add optional quantile filtering to sample processing workflows#1148

Closed
dorien-er wants to merge 52 commits into
mainfrom
qc-workflow-with-quantile-filtering
Closed

Add optional quantile filtering to sample processing workflows#1148
dorien-er wants to merge 52 commits into
mainfrom
qc-workflow-with-quantile-filtering

Conversation

@dorien-er

@dorien-er dorien-er commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Changelog

#1146 and #1147 need to be merged first.

Updates rna_singlesample, prot_singlesample, process_singlesample and process_samples with the option to filter counts by percentile.

Issue ticket number and link

Closes #xxxx (Replace xxxx with the GitHub issue number)

Checklist before requesting a review

  • I have performed a self-review of my code

  • Conforms to the Contributor's guide

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Documentation
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI tests succeed!

@dorien-er dorien-er marked this pull request as ready for review March 10, 2026 09:05
@dorien-er dorien-er marked this pull request as draft April 14, 2026 13:20

@DriesSchaumont DriesSchaumont left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think something went wrong when merging main into this PR

Comment thread src/workflows/multiomics/process_samples/config.vsh.yaml Outdated
Comment thread src/workflows/multiomics/process_samples/config.vsh.yaml Outdated
Comment thread src/workflows/multiomics/process_samples/config.vsh.yaml Outdated
Comment thread src/workflows/multiomics/process_samples/config.vsh.yaml Outdated
Comment thread src/workflows/multiomics/process_samples/config.vsh.yaml Outdated
Comment thread src/workflows/rna/rna_singlesample/main.nf
Comment thread src/workflows/rna/rna_singlesample/main.nf Outdated
Comment thread src/workflows/rna/rna_singlesample/main.nf Outdated
Comment thread src/workflows/prot/prot_singlesample/main.nf Outdated
Comment thread src/workflows/multiomics/process_singlesample/test.nf
def new_state = state + ["workflow_output": state.output]
[id, new_state]
}
| qc.run(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

My bad, I read this wrong! Thought all QC metrics were calculated which would be double work.

So this only calculates total_counts when quantile based filtering is enabled right? If so, it might be a good idea to move the if statement to the .run instead of fromState

Comment thread src/workflows/rna/rna_singlesample/main.nf
@dorien-er dorien-er changed the title Qc workflow with quantile filtering Add quantile filtering to sample processing workflows Jun 3, 2026
@dorien-er dorien-er changed the title Add quantile filtering to sample processing workflows Add optional quantile filtering to sample processing workflows Jun 3, 2026
@dorien-er

Copy link
Copy Markdown
Contributor Author

Superseded by stacked PRs #1199#1198#1200.

@dorien-er dorien-er closed this Jun 10, 2026
@dorien-er dorien-er deleted the qc-workflow-with-quantile-filtering branch June 10, 2026 08:34
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