Closed allyhawkins closed 3 years ago
Should we automatically switch modes based on the sample? That is, if the
seq_unit
isnucleus
, we use--include-introns
but if it iscell
we do not?
I just realized that you addressed this in your PR submission, which I obviously didn't read again this morning. I blame Monday. Apologies.
I still think it makes sense to set the option up as an input to the process to facilitate later changes, but I'm really sorry for just repeating something you already addressed.
No worries at all. I do agree we will need to do a final update before we run everything to automatically use the --include-introns for snRNA-seq samples, assuming we that's what we end up deciding on. I moved it to be an input to the process to get us started.
Closes #72. I added a parameter to the run-cellranger.nf workflow to allow for flexibility to use cellranger with snRNA-seq samples. To use the --include-introns flag you would implement it at the time of running the workflow by executing:
nextflow run cellranger-quant/run-cellranger.nf --include_introns:"--include-introns"
I don't think this is a permanent fix for this. Before we run all of our samples I think a better solution might be to grab the
seq-unit
from thescpca-library-metadata.tsv
file and based on if theseq-unit == nucleus
, then we would use the flag for--include-introns
.However, since we are still in the benchmarking phase, I thought it might not be the best approach to give up complete control. It could be useful to compare some of the snRNA-seq runs using cellranger with and without this flag rather than include it as a default immediately.