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
{{ message }}
Repository navigation
Commit e02ccde
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Changed
11
11
12
+
- **OpenMS feature protein attribution for shared peptides** — releases up to 1.1.3 assigned every feature to the protein group of its *first* protein evidence, an order that carries no meaning, and set `unique` from that group's size. A peptide shared by two groups was therefore attributed to one of them arbitrarily and often reported `unique = true`. Features now resolve their group from the full evidence set and the originating identification; when the evidence spans more than one inferred group, `anchor_protein`, `pg_accessions`, `unique`, `pg_global_qvalue` and `gg_*` are null and the feature's intensities are kept. `pg` is unaffected, since protein intensities are built from unique peptides only. On PXD000612 (DDA LFQ, 231 runs) this nulls the group on 255,416 of 3,956,057 features (6.5%, 9,331 peptidoforms, 15% of feature intensity), 8,829 of which 1.1.3 had marked unique. **OpenMS datasets converted with earlier releases over-report `unique` and carry arbitrary groups on shared peptides; reconvert before relying on feature-level protein attribution.**
12
13
-**MuData stack is core**: `mudata`, `anndata`, and `scipy` are required dependencies (no longer an optional extra). Use bare `pip install qpx`.
13
14
-**`quantify` extra**: now `mokume[directlfq]>=0.1.0` (DirectLFQ via mokume's optional extra).
14
15
@@ -20,6 +21,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
21
21
22
### Fixed
22
23
24
+
-**OpenMS feature view left `pg_global_qvalue`, `gg_names` and `gg_accessions` null** — the consensusXML converter computed each protein group's q-value and gene names for the pg view and then discarded them, so every feature carried none while its group in pg had both (PXD000612: pg 100%, feature 0%). Features now carry their own group's values from the same derivation as pg, in both the streaming and in-memory paths, including when two groups share a leading protein. Matching uses full membership and the originating identification, independently of protein evidence order; ambiguous groups and runs with conflicting peptide sequences keep protein-group fields null while feature intensities are retained.
25
+
-**`verify_integrity` read whole files into memory** — it hashed each file with `read_bytes()` while `compute_integrity` streamed the same files in 64 KiB chunks, so verifying a multi-gigabyte feature or PSM view allocated the entire file. Both paths now share one chunked hasher.
26
+
-**`verify_integrity` ignored `file_row_counts` and `file_sizes_bytes`** — both were computed and stored but never read back, so only checksums were ever verified. Row counts and sizes are now compared, the `-1` "could not be read" sentinel warns instead of silently counting as verified, and `compute_integrity` logs when it stores it.
27
+
-**`verify_integrity` could not detect unrecorded files** — it walked only the stored checksum keys, so a file added to a dataset after packaging verified clean. Files not covered by the integrity record are now reported as warnings.
28
+
-**A failed modality left no trace a caller could act on** — `build_mudata` logged the failure and continued, so a MuData missing `precursors` was indistinguishable from one that never had it. Failures are now recorded in `mdata.uns["qpx_failed_modalities"]` (always present, empty when nothing failed), and `write_dataset_mudata` names the reason in its error rather than only the missing modality.
29
+
-**MuData silently lost the `precursors` modality on large multiplexed data** — combining a `string` Arrow column over 2 GiB overflowed its int32 offsets, `build_mudata` caught the error and returned a partial MuData, and the pipeline wrote an incomplete `.h5mu` reporting success. String and binary columns are now widened to `large_string`/`large_binary` before combining. MSV000085836 (TMT, 552 runs x 10 channels) goes from `['proteins']` to `['precursors', 'proteins']`.
23
30
-**`gene-map --dataset` copied only top-level files** — sharded / partitioned datasets kept their views in subdirectories, so an annotated copy came back incomplete. Subdirectories are now copied too, and a `--output-folder` that is the dataset itself or nested inside it is rejected instead of copying into its own destination.
24
31
-**`gene-map` accepted `--in-place` together with `--output-folder`** — the destination silently won; it is now a usage error.
25
32
-**`annotate_dataframe` divided by zero on an empty view** — the mapped-share log now reports 0.0%.
Copy file name to clipboardExpand all lines: docs/spec/schemas/feature.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -107,15 +107,15 @@ fields:
107
107
# Protein mapping
108
108
pg_accessions:
109
109
type: "list<pg_protein>"
110
-
doc: "Protein group accessions with optional peptide positions (start, end)"
110
+
doc: "Full membership of the peptide's protein group, with optional peptide positions (start, end). Null under the same conditions as anchor_protein."
111
111
anchor_protein:
112
112
type: string
113
113
required: true
114
114
nullable: true
115
-
doc: "Representative protein; null when no protein mapping was performed"
115
+
doc: "Representative protein of the peptide's protein group. Null when no protein mapping was performed, or when the peptide's protein evidence spans more than one inferred protein group (a shared peptide the producer did not assign); the feature's intensities are kept either way."
116
116
unique:
117
117
type: bool
118
-
doc: "Unique peptide indicator"
118
+
doc: "True when the peptide resolves to a protein group of exactly one protein, False when that group has several members. Null when the group is unresolved, including a shared peptide whose evidence spans more than one inferred group."
0 commit comments