Skip to content

Reimplement 'set_cell_count_from_project' function in QC pipeline - #1111

Merged
pjbriggs merged 4 commits into
develfrom
reimplement-set_cell_count_from_project-in-qc
Nov 5, 2025
Merged

pjbriggs merged 4 commits into
develfrom
reimplement-set_cell_count_from_project-in-qc

Conversation

@pjbriggs

@pjbriggs pjbriggs commented Nov 5, 2025

Copy link
Copy Markdown
Member

Reimplements the set_cell_count_from_project function in the QC pipeline utilitys module (qc/utils), to remove the code that attempted to automatically determine which 10x Genomics software pipeline outputs (e.g. cellranger, cellranger-atac etc) the cell counts should be extracted from. Instead the function now expects the package name to be explicitly specified as an argument.

Supporting the automatic package determination code (which uses the project metadata to try and work out which package was used) has in the past meant that the function has been a weak point in the pipeline when adding new 10x Genomics platforms. Removing this functionality should help make the pipeline more robust and able to deal with new platforms without further updates, as long as they use one of the current standard software pipelines.

As part of the PR the SetCellCountFromCellranger task in the QC pipeline (qc/pipeline) has been renamed (to Set10xCellCount) and updated to accommodate the changes to the set_cell_count_from_project function; in turn this has required very minor updates to the RunCellrangerCount and RunCellrangerMulti tasks from the cellranger*_count and cellranger_multi QC modules (in order to make the 10x pipeline name available for input into the Set10xCellCount task).

Reimplement the 'set_cell_count_for_project' function to remove code for determining the 10x software package outputs should be parsed for cell counts; instead the name of the appropriate package must be explicitly supplied as an argument.

Also updates the 'Set10xCellCount' task in the QC pipeline to accommodate the changes, and the invocations of the task within the pipeline.
@pjbriggs
pjbriggs merged commit 2fc4f6a into devel Nov 5, 2025
7 checks passed
@pjbriggs
pjbriggs deleted the reimplement-set_cell_count_from_project-in-qc branch November 5, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant