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
-**Aligner benchmarking** treats `v_call` as the aligner's
132
132
prediction and `truth_*_call` as the ground truth, even when
133
-
both came from the same simulator — the column split makes the
133
+
both came from the same simulator - the column split makes the
134
134
benchmark script's join symmetric.
135
135
136
136
Without `expose_provenance=True`, the truth columns are absent
@@ -149,7 +149,7 @@ entirely.
149
149
|`stop_codon`| bool |`True` iff a stop codon exists in `sequence_aa`|
150
150
151
151
When the pipeline includes `.productive_only()`, every record
152
-
has `productive: True` by construction — the constraint masks
152
+
has `productive: True` by construction - the constraint masks
153
153
the sampling support before the draw, so the engine never
154
154
produces an unproductive record in the first place. See
155
155
[Recombination and junction biology](../guides/recombination-junction.md#productivity)
@@ -177,10 +177,10 @@ For each of V, D, J:
177
177
|`v_trim_3`| Bases removed from the V allele's 3′ end during recombination |
178
178
|`d_trim_5`, `d_trim_3`| Bases removed from the D allele's 5′ and 3′ ends |
179
179
|`j_trim_5`| Bases removed from the J allele's 5′ end |
180
-
|`v_trim_5`, `j_trim_3`| Always `0`— these positions aren't trimmed during recombination (the canonical biology) |
180
+
|`v_trim_5`, `j_trim_3`| Always `0`- these positions aren't trimmed during recombination (the canonical biology) |
181
181
182
182
These four trim fields are the recombination-stage diet. They
183
-
are **not** the observation-stage length loss — that's
183
+
are **not** the observation-stage length loss - that's
184
184
`end_loss_5_length` and `end_loss_3_length` (next section).
185
185
Mixing them up is the most common confusion on the record
186
186
surface; the trim fields describe biology (the recombinase
@@ -191,14 +191,14 @@ end-loss describes the sequencer (the read ran short).
191
191
192
192
| Field | Meaning |
193
193
|---|---|
194
-
|`np1`| Non-templated bases between V and D ends —**P-clean** (V–D junction in VDJ; V–J junction in VJ) |
195
-
|`np2`| Non-templated bases between D and J ends —**P-clean** (VDJ only; empty on VJ) |
194
+
|`np1`| Non-templated bases between V and D ends -**P-clean** (V–D junction in VDJ; V–J junction in VJ) |
195
+
|`np2`| Non-templated bases between D and J ends -**P-clean** (VDJ only; empty on VJ) |
196
196
|`np1_aa`, `np2_aa`| Amino-acid translations |
197
197
|`np1_length`, `np2_length`| Lengths in nucleotides |
198
198
199
199
`np1` and `np2` are the **non-templated** strings only. When the
200
200
engine claims a P-nucleotide span back as a templated extension
201
-
of V, D, or J, those positions drop out of `np1` / `np2`— the
201
+
of V, D, or J, those positions drop out of `np1` / `np2`- the
202
202
NP strings are P-clean by construction.
203
203
204
204
### P-nucleotide lengths
@@ -209,14 +209,14 @@ sampled during recombination:
209
209
| Field | Meaning |
210
210
|---|---|
211
211
|`p_v_3_length`| Number of P bases off the V allele's 3′ end (V → NP1 side) |
212
-
|`p_d_5_length`| Number of P bases off the D allele's 5′ end (NP1 → D side) — VDJ only, `0` on VJ |
213
-
|`p_d_3_length`| Number of P bases off the D allele's 3′ end (D → NP2 side) — VDJ only, `0` on VJ |
212
+
|`p_d_5_length`| Number of P bases off the D allele's 5′ end (NP1 → D side) - VDJ only, `0` on VJ |
213
+
|`p_d_3_length`| Number of P bases off the D allele's 3′ end (D → NP2 side) - VDJ only, `0` on VJ |
214
214
|`p_j_5_length`| Number of P bases off the J allele's 5′ end (NP2 → J side on VDJ; NP1 → J side on VJ) |
215
215
216
216
P bases **contribute to `sequence` and `junction`** (they are
217
217
real palindromic nucleotides in the assembled molecule) but
218
218
`np1` / `np2` remain N-only. **GenAIRR exposes P lengths, not P
219
-
strings**— there is no per-base P field. If you need the actual
219
+
strings**- there is no per-base P field. If you need the actual
220
220
P-nucleotide bases for a record, slice them from `sequence` using
221
221
the per-segment coordinates plus the four length fields.
222
222
@@ -256,7 +256,7 @@ it ever breaks.
256
256
257
257
**`n_mutations` is biology only.** PCR errors, sequencing
258
258
errors, indel-pass errors, and end-loss never increment these
259
-
counters — they have their own.
259
+
counters - they have their own.
260
260
261
261
### V-subregion mutation partition
262
262
@@ -292,13 +292,13 @@ end_loss_3_length ← bases lost from the 3′ end (EndLossPass / primer_tr
292
292
is_contaminant ← True when this record is a contaminant (set by `contaminate`)
293
293
```
294
294
295
-
`n_v_indels + n_d_indels + n_j_indels ≤ n_indels`— indels that
295
+
`n_v_indels + n_d_indels + n_j_indels ≤ n_indels`- indels that
296
296
land in NP1 or NP2 are counted in `n_indels` but not in any
297
297
per-segment bucket (NP indels don't belong to a germline
298
298
segment).
299
299
300
300
`primer_trim_*prime` is a backwards-compatibility alias for
301
-
`end_loss_*prime`— both write the same `end_loss_*_length`
301
+
`end_loss_*prime`- both write the same `end_loss_*_length`
302
302
field.
303
303
304
304
## Advanced mechanism provenance
@@ -310,7 +310,7 @@ decisions:
310
310
|---|---|---|
311
311
|`d_inverted`| bool |`True` when `invert_d()` committed the D allele in reverse-complement orientation; `False` otherwise (VJ chains, VDJ without `invert_d`, inversion that landed on the forward branch) |
312
312
|`receptor_revision_applied`| bool |`True` when `receptor_revision()` fired and replaced the committed V; `False` otherwise |
313
-
|`original_v_call`| str | When `receptor_revision_applied: True`, the V allele name the recombine pass originally committed (before revision). Empty string `""` otherwise — never `None`|
313
+
|`original_v_call`| str | When `receptor_revision_applied: True`, the V allele name the recombine pass originally committed (before revision). Empty string `""` otherwise - never `None`|
314
314
315
315
When `receptor_revision_applied: True`, `v_call` reports the
316
316
**post-revision identity** and `original_v_call` carries the
@@ -392,7 +392,7 @@ the SHM partition (`n_mutations`, `n_v_mutations`,
0 commit comments