Closed allyhawkins closed 6 months ago
The stub workflow was failing because everything was getting flagged as having no cells since they will all be empty files. I updated this to not consider stub files when checking file size after filtering and processing.
Closes #682 Closes #735
This PR makes some adjustments to the workflow to account for any libraries that have no cells after removing empty droplets. I took a very similar approach to how we handle objects that have 0 cells after removing low-quality cells in the processed object.
filter_sce.R
script, I add a check for the number of columns after removing empty droplets. If that is equal to 0, then an emptyfiltered.rds
is created, otherwise processing proceeds as normal.filtered.rds
file is empty, then any additional steps are skipped. The log will include a note about any libraries that have no cells.While I was here I also accounted for the sample metadata issue and made sure we read in all columns as characters before adding them to the object.
Questions for reviewers: