AlexsLemonade / scpca-nf

scpca-nf is the Nextflow workflow for processing Single-cell Pediatric Cancer Atlas Portal data
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Fix bugs for dealing with processed objects with only 1 cell #755

Closed allyhawkins closed 4 months ago

allyhawkins commented 4 months ago

While processing data for the Portal, I found an object that only has 1 cell in the processed object so it tested out some of the code we added to handle that scenario. There were a few issues that I had to fix to get this to work and then I also made a design change that we will need to decide on if it's the right move or not.

The other thing I did was choose to not create the supplemental report if there's only 1 cell in the object. The report was just some text with one table showing the assignment of that single cell in SingleR, but no other plots. This doesn't seem super informative to me, and we would still have the table in the main QC report. What do others think of this choice? This should not affect very many samples, but we would want to make sure we check how this affects zipping up the files for the Portal.

@davidsmejia Would you guys have to make changes when zipping up the files for the Portal if a sample was missing the celltype-report.html file? I assume you have checks to make sure the files are all there, so would we be able to make the existence of this file optional?

allyhawkins commented 4 months ago

@jashapiro are we okay with the decision to not create a supplemental report? I just want to be sure before I merge this and then update the current release.

jashapiro commented 4 months ago

@jashapiro are we okay with the decision to not create a supplemental report? I just want to be sure before I merge this and then update the current release.

Yes, I am fine with that decision!

allyhawkins commented 4 months ago

Yes, I am fine with that decision!

Can you approve please? 😄