Closed DarioS closed 10 months ago
IMO this seems out of scope for read10xCounts
. Unless the GTF is part of the CellRanger output directory (and I'm pretty sure it isn't), it shouldn't be read10xCounts
's job to pull in that information.
But surely it's a one-liner that isn't too hard for users to write? Something like:
rowRanges(sce) <- rtracklayer::import("my.gtf")[rownames(sce)]
It is not part of the output directory, but in their standard GZip reference genome in genes
folder as shown above.
Could
read10xCounts
offer the convenience of recording row ranges to remove a step beforeaddPerCellQCMetrics
for mitochondrial content? A new parameter e.g.GTFpath
could allow the user could specify e.g."refdata-gex-mm10-2020-A/genes/genes.gtf"
.