Skip to content

Commit 2edb639

Browse files
committed
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)
1 parent 23a5b8b commit 2edb639

2 files changed

Lines changed: 22 additions & 15 deletions

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Dongze He, Noor Pratap Singh, Rob Patro'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.19.0'
25+
release = '0.25.0'
2626

2727
master_doc = 'index'
2828

docs/source/flex-quant-command.rst

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ The ``multiplex-quant`` command runs the end-to-end ``simpleaf`` pipeline for 10
1313
- multi-barcode permit-list generation with ``alevin-fry generate-permit-list``
1414
- ``alevin-fry collate`` and ``alevin-fry quant``
1515

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`.
1717

1818
Overview
1919
--------
2020

2121
The command needs:
2222

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)
2727

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``.
2929

3030
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``.
3131

@@ -48,6 +48,7 @@ The relevant options (which you can obtain by running ``simpleaf multiplex-quant
4848
4949
Options:
5050
-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:}')
5152
--organism <ORGANISM> Target organism for automatic probe set selection [possible values: human, mouse]
5253
--cell-bc-list <CELL_BC_LIST>
5354
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
5758
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]
5859
-o, --output <OUTPUT> Path to output directory
5960
-t, --threads <THREADS> Number of threads to use [default: 16]
60-
-r, --resolution <RESOLUTION> UMI resolution mode [default: cr-like] [possible values: cr-like, cr-like-em, parsimony, parsimony-em, parsimony-gene, parsimony-gene-em]
6161
-h, --help Print help
6262
-V, --version Print version
6363
@@ -67,21 +67,28 @@ The relevant options (which you can obtain by running ``simpleaf multiplex-quant
6767
-2, --reads2 <READS2> Comma-separated list of R2 FASTQ files
6868
6969
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]
7372
7473
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.
7778
7879
Piscem Mapping Options:
7980
--skipping-strategy <SKIPPING_STRATEGY> The skipping strategy to use for k-mer collection [default: permissive] [possible values: permissive, strict]
8081
--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]
84+
85+
Quantification Options:
86+
-r, --resolution <RESOLUTION> UMI resolution mode [default: cr-like] [possible values: cr-like, cr-like-em, parsimony, parsimony-em, parsimony-gene, parsimony-gene-em]
8287
8388
Permit List Options:
84-
--min-reads <MIN_READS> Minimum read count threshold for unfiltered permit list [default: 10]
89+
--sample-correction-mode <SAMPLE_CORRECTION_MODE>
90+
Sample barcode correction mode [default: exact] [possible values: exact, 1-edit]
91+
--min-reads <MIN_READS> Minimum read count threshold for unfiltered permit list [default: 10]
8592
8693
Output Options:
8794
--anndata-out Generate an anndata (h5ad format) count matrix from the standard (matrix-market format) output

0 commit comments

Comments
 (0)