10XGenomics / cellranger

10x Genomics Single Cell Analysis
https://www.10xgenomics.com/support/software/cell-ranger
Other
342 stars 91 forks source link

1000-separating comma's inside outs/metrics_summary.csv #145

Closed plijnzaad closed 8 months ago

plijnzaad commented 2 years ago

Dear 10X,

the outs/metrics_summary.csv file contains comma's inside the double-quoted strings, e.g.

"3,728","104,967","1,809","391,320,145",97.9%,72.6%,96.0%,94.0%,95.8%,95.5%,85.4%,6.4%,26.4%,52.7%,49.2%,1.5%,88.2%,"23,098","6,510"

This makes it real pain to simply select simple characteristics like number of cells using shell tools such as awk. Could you please leave them out?

evolvedmicrobe commented 2 years ago

Hi @plijnzaad,

I really like this idea. We originally formatted them that way because we had feedback from customers that they liked the numbers to appear as they did in the web summary, but I think your reaction might be more common. We've started internal discussions on implementing this change.

Cheers, Nigel

plijnzaad commented 2 years ago

Many thanks!

plijnzaad commented 2 years ago

PS: it would be very useful for Unix scripts if the keys (like "GEX Reads mapped confidently to transcriptome") don't contain spaces. Can't you replace them with underscores? Same is true for the input sample sheets, it would be very nice if underscores are silently converted to spaces (e.g. "Chromatin_Accessibility -> "Chromatin Accessibility")