CellRanger-compatible `outs/` output (`metrics_summary.csv`, `.h5` matrices, `web_summary.html`) — checking the development method before opening PRs
I maintainer di solito rispondono entro 4 giorni
@Psy-Fer ci sta già lavorando.
Dal 28/10/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Start by reading CONTRIBUTING's policy on compatibility work and review the proposed three PR themes: metrics and gzipped matrices, HDF5 matrices, and the HTML report. The issue names no repository files or tests to run. Done means maintainers decide whether the observed-output method is acceptable, whether the output belongs in this project, and whether the proposed split is right.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
CONTRIBUTING says a contribution that reproduces the behaviour of a tool under a
sensitive licence needs to be discussed and agreed before work starts. I have
written this code already, which is my mistake — I am raising it now rather than
opening the PRs, and I will drop the work if the answer is no.
What I would like agreed is the method, which I believe is the one the policy
describes as acceptable, and then whether the result is wanted at all.
What it does
An opt-in flag (--soloCellRangerOuts Yes, off by default, no effect on any
existing output) that writes, beside Solo.out/:
outs/metrics_summary.csv
outs/raw_feature_bc_matrix/{barcodes,features}.tsv.gz, matrix.mtx.gz
outs/filtered_feature_bc_matrix/{barcodes,features}.tsv.gz, matrix.mtx.gz
outs/raw_feature_bc_matrix.h5
outs/filtered_feature_bc_matrix.h5
outs/web_summary.html
The point is that an existing pipeline that reads outs/filtered_feature_bc_matrix.h5
keeps working. Solo.out/ is never altered.
How it was developed — this is the part I want checked
Entirely from observed outputs, which CONTRIBUTING lists as an acceptable
method ("from public documentation, published papers, or observed inputs and
outputs"):
- The field names, their order, and the number formatting in
metrics_summary.csvwere read from two real CellRanger output files
(one 8.0.1, one 10.0.0). - The HDF5 layout was read from real
.h5outputs withh5py— group and
dataset names, dtypes, the CSC convention, and the root attributes. - The
-1GEM-group barcode suffix was read from realbarcodes.tsv.gz.
No CellRanger source was read, ported or paraphrased, by me or by any tool.
In particular I deliberately did not open the JavaScript bundle inside a real
web_summary.html; the page in this work is laid out and drawn from scratch and
is not intended to resemble CellRanger's report. The only thing taken from their
side of web_summary.html is the set of metric names, which are the same ones
already in metrics_summary.csv.
What is and is not claimed
Every figure is rustar-aligner's own. The names are CellRanger's so that
existing parsers keep working; the definitions are not claimed to equal
CellRanger's, and this is stated in DIVERGENCE.md and in the generated page
itself. Two concrete examples of the difference, measured on the same 10M reads:
Reads Mapped Confidently to Genome: rustar-aligner reports STAR's uniquely
mapped fraction (75.1%, against STARsolo's 75.3% on the same reads).
CellRanger reports 80.8% for the same-named field, so it means something else.Mean Reads per Cell: CellRanger divides all reads by the cell count;
STAR'sSummary.csvdivides reads in called cells by it
(meanReadPerCellUnique = nReadInCellsUnique / nCells,
SoloFeature_cellFiltering.cpp). The CellRanger-named file uses CellRanger's
definition;Summary.csvkeeps STAR's.
Questions
- Is the observed-outputs method acceptable here, given it happened before this
discussion rather than after? - If so, is this output wanted in rustar-aligner at all, or is it better as a
separate tool? - If wanted, is the split below right? Each is independently useful and I would
open them in order.
Proposed PRs
| Theme | |
|---|---|
| 1 | --soloCellRangerOuts: metrics_summary.csv + the gzipped matrix mirror |
| 2 | the two .h5 matrices (needs the dependency decision in the linked issue) |
| 3 | web_summary.html |
Two unrelated pieces from the same work are already separable and do not touch
any of this, so I will open them regardless of the answer here: an EmptyDrops
Good-Turing fidelity fix, and barcode-setup validation.
Those two are pushed and independently reviewed, if it helps to see the standard
the CellRanger-compat work would be held to:
iandriver/rustar-aligner@fix/emptydrops-ambient-species and
@feat/solo-setup-validation, both based on 509129a.
- Lingua principale
- Rust
- Stelle
- 91
- Fork
- 9
- Merge medio
- 16h 43m
- PR unite (30g)
- 22
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scverse/rustar-aligner
-
New dependency for 10x `.h5` output: `hdf5-pure` (pure Rust, no libhdf5)Forse già presa @Psy-Fer l’ha presa 2 giorni fa. Apertadependencies
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
scverse/rustar-aligner#341 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 1/100
scverse/rustar-aligner#324 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
scverse/rustar-aligner#299 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
scverse/rustar-aligner#298 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
scverse/rustar-aligner#277 ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di scverse/rustar-aligner
Issue simili
-
area:cli bug dotnet good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rtk-ai/rtk#4844 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
delta-io/delta-kernel-rs#3757 ·
I maintainer di solito rispondono entro 3 giorni
-
area: library data-loss type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
alplabai/signex#1740 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
test(fslc): the unreadable mutate catalog test pins the Unix I/O error text and fails on WindowsForse già presa @rizumita l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno