Reimplement 'set_cell_count_from_project' function in QC pipeline - #1111
Merged
Merged
Conversation
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.
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.
Reimplements the
set_cell_count_from_projectfunction 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-atacetc) 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
SetCellCountFromCellrangertask in the QC pipeline (qc/pipeline) has been renamed (toSet10xCellCount) and updated to accommodate the changes to theset_cell_count_from_projectfunction; in turn this has required very minor updates to theRunCellrangerCountandRunCellrangerMultitasks from thecellranger*_countandcellranger_multiQC modules (in order to make the 10x pipeline name available for input into theSet10xCellCounttask).