You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: bump release to 0.25.0 and refresh flex-quant-command coverage
The published RTD docs were stuck at 0.19.0 in the page title. Bumps
conf.py:release to match Cargo.toml (0.25.0).
While in the file, address several long-standing gaps in
flex-quant-command.rst's `-h` snippet (and its surrounding prose) that
accumulated between 0.19.0 and 0.25.0:
- Add missing CLI flags to the help snippet: --geometry, --dict,
--sample-correction-mode.
- Move --sample-bc-list from "Probe Set Options" to "Reference Options"
to match the actual help_heading in the source.
- Carve --resolution out into a dedicated "Quantification Options"
section, matching its help_heading.
- Soften the Overview "needs" list to reflect that --chemistry is now
optional when --geometry + --cell-bc-list are supplied (cycle-plan
variants like 10x Flex Configuration B).
- Rewrite the intro paragraph to call out the chemistry-vs-manual-override
modes explicitly.
Refs: #199 (--sample-bc-ori companion code PR)
Copy file name to clipboardExpand all lines: docs/source/flex-quant-command.rst
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,19 @@ The ``multiplex-quant`` command runs the end-to-end ``simpleaf`` pipeline for 10
13
13
- multi-barcode permit-list generation with ``alevin-fry generate-permit-list``
14
14
- ``alevin-fry collate`` and ``alevin-fry quant``
15
15
16
-
At present, ``multiplex-quant`` expects a registered Flex chemistry such as ``10x-flexv1-gex-3p`` or ``10x-flexv2-gex-3p``and requires ``piscem`` plus ``alevin-fry`` to be configured with :doc:`/set-paths`.
16
+
``multiplex-quant`` typically runs against a registered Flex chemistry such as ``10x-flexv1-gex-3p`` or ``10x-flexv2-gex-3p``, in which case the geometry, cell BC whitelist, sample BC list, and orientations are auto-resolved from the preset. For chemistries not in the registry (or cycle-plan variants such as 10x Flex Configuration B), the preset can be replaced with manual overrides — at minimum ``--geometry`` and ``--cell-bc-list``, with optional ``--probe-set``, ``--sample-bc-list``, ``--expected-ori``, and ``--sample-bc-ori`` as needed. ``piscem`` and ``alevin-fry`` must be configured with :doc:`/set-paths`.
17
17
18
18
Overview
19
19
--------
20
20
21
21
The command needs:
22
22
23
-
1. a Flex chemistry name via ``--chemistry``
24
-
2. an organism via ``--organism`` for automatic probe-set selection
25
-
3. paired-end reads via ``--reads1`` and ``--reads2``
26
-
4. an output directory via ``--output``
23
+
1. paired-end reads via ``--reads1`` and ``--reads2``
24
+
2. an output directory via ``--output``
25
+
3. either a registered chemistry name via ``--chemistry``, or a manual ``--geometry`` string plus ``--cell-bc-list`` for chemistries not in the registry
26
+
4. an organism via ``--organism`` when using automatic probe-set selection (i.e. when ``--probe-set`` is not provided)
27
27
28
-
If the chemistry registry contains the needed metadata, ``simpleaf`` can automatically download and cache the probe set, the cell barcode whitelist, and the sample barcode list. If you already have local resources, you can override these defaults with ``--index``, ``--probe-set``, or ``--sample-bc-list``.
28
+
If the chemistry registry contains the needed metadata, ``simpleaf`` can automatically download and cache the probe set, the cell barcode whitelist, and the sample barcode list. If you already have local resources, you can override these defaults with ``--index``, ``--probe-set``, ``--cell-bc-list``, or ``--sample-bc-list``.
29
29
30
30
The default output is the standard Matrix Market directory under ``af_quant/alevin``. If you pass ``--anndata-out``, ``simpleaf`` will additionally write an AnnData ``.h5ad`` file at ``af_quant/alevin/quants.h5ad``.
31
31
@@ -48,6 +48,7 @@ The relevant options (which you can obtain by running ``simpleaf multiplex-quant
48
48
49
49
Options:
50
50
-c, --chemistry <CHEMISTRY> Chemistry name (e.g. 10x-flexv1-gex-3p). Provides defaults for geometry, cell BC whitelist, sample BC list, and probe set. All can be overridden individually. If omitted, --geometry and --cell-bc-list are required
51
+
-g, --geometry <GEOMETRY> Override the read geometry string (e.g. '1{b[16]u[12]x[0-3]hamming(f[TTGCTAGGACCG],1)s[10]x:}2{r:}')
51
52
--organism <ORGANISM> Target organism for automatic probe set selection [possible values: human, mouse]
52
53
--cell-bc-list <CELL_BC_LIST>
53
54
Path to cell barcode whitelist (one barcode per line, overrides chemistry default)
@@ -57,7 +58,6 @@ The relevant options (which you can obtain by running ``simpleaf multiplex-quant
57
58
Sample barcode orientation override: ``fw`` (whitelist matches read as-is) or ``rev`` (reverse-complement the whitelist before lookup). Overrides the chemistry preset's ``sample_bc_ori`` when set; otherwise the preset value (if any) is used. Mirrors the ``--expected-ori`` shorthand [possible values: fw, rev]
58
59
-o, --output <OUTPUT> Path to output directory
59
60
-t, --threads <THREADS> Number of threads to use [default: 16]
@@ -67,21 +67,28 @@ The relevant options (which you can obtain by running ``simpleaf multiplex-quant
67
67
-2, --reads2 <READS2> Comma-separated list of R2 FASTQ files
68
68
69
69
Probe Set Options:
70
-
--probe-set <PROBE_SET> Path to probe set CSV or FASTA (overrides auto-download)
71
-
--sample-bc-list <SAMPLE_BC_LIST> Path to sample/probe barcode file with rotation mapping
72
-
--kmer-length <KMER_LENGTH> k-mer length for probe index building [default: 23]
70
+
--probe-set <PROBE_SET> Path to probe set CSV or FASTA (overrides auto-download)
71
+
--kmer-length <KMER_LENGTH> k-mer length for probe index building [default: 23]
73
72
74
73
Reference Options:
75
-
-m, --t2g-map <T2G_MAP> Path to a transcript-to-gene map file
76
-
--usa Resolve expression into separate spliced and unspliced counts. This requires splicing-aware probe annotations: either a probe CSV with a ``region`` column containing ``spliced`` / ``unspliced`` values, or a pre-built index with an adjacent 3-column t2g file
74
+
-m, --t2g-map <T2G_MAP> Path to a transcript-to-gene map file
75
+
--usa Resolve expression into separate spliced and unspliced counts. This requires splicing-aware probe annotations: either a probe CSV with a ``region`` column containing ``spliced`` / ``unspliced`` values, or a pre-built index with an adjacent 3-column t2g file
76
+
--sample-bc-list <SAMPLE_BC_LIST>
77
+
Path to sample/probe barcode file with rotation mapping. 3-column TSV: observed, canonical, sample_name. Overrides the chemistry preset's auto-downloaded sample BC list.
77
78
78
79
Piscem Mapping Options:
79
80
--skipping-strategy <SKIPPING_STRATEGY> The skipping strategy to use for k-mer collection [default: permissive] [possible values: permissive, strict]
80
81
--struct-constraints If piscem >= 0.7.0, enable structural constraints
81
-
--max-ec-card <MAX_EC_CARD> Maximum cardinality equivalence class to examine [default: 4096]
82
+
--max-ec-card <MAX_EC_CARD> Maximum cardinality equivalence class to examine [default: 4096]
83
+
--dict <DICT> Piscem dictionary backend to use at map time: ``auto`` (default, honors the index's embedded choice), ``sshash``, or ``tiny`` [default: auto] [possible values: auto, sshash, tiny]
0 commit comments