Proteomics Quantification Table QC
Preview + reviewed; small protein-table checks are separate from Agent/scientific evaluation.
Execution behavior
Use supplied and safely inspected facts first. Explain an unfamiliar term only when it changes the decision. If a critical fact is missing or inconsistent, follow the dialogue guide: ask one focused question, explain why, recommend a defensible route, and wait on dependent work. Continue independent authorized work; never guess scientific facts or repeat a resolved question. With complete inputs, proceed. Show relevant figures/tables and their meaning; preserve the host's permissions and the boundaries below. Finish with outputs, key findings and concrete remaining limits.
Detailed scope: Use for QC of an already quantified peptide-, protein-group-, or protein-abundance table and sample metadata. Check missingness, duplicates, scale, and design readiness. Exclude raw MS, identification/FDR, protein inference, normalization, imputation, modeling, and clinical use.
Scope and inputs
Report readiness for one quantified peptide-, protein-group-, or protein-level table and its sample design. Do not identify, normalize, impute, or model.
Require:
- a bounded delimited table or declared quantitative object;
- sample metadata, intended comparison, replicate and batch fields;
- feature level, identifiers, sample join keys, unit, scale, and normalization state;
- declared meanings of blank, missing, zero, negative, and censored values.
Inspect headers, schema, and a bounded sample first. An explicit local request authorizes safe reads and a new report. Ask one question at a time only when a result-changing choice remains, in this order:
- feature-boundary: peptide or protein? Recommend one declared level; route PSMs and mixed levels elsewhere.
- missing-zero-semantics: what do blanks, zeros, negatives, and censored values mean? Preserve producer semantics.
- sample-design: which columns map to samples, replicates, conditions, batches, and contrast? Freeze a one-to-one join before modeling.
Workflow
- Preflight size; for large inputs use
scientific-file-preflight-and-resource-planningand skip unsupported full scans. - Verify feature level, unit, scale, normalization state, identifiers, and sample joins without guessing from filenames.
- Check dimensions, duplicate or empty IDs, duplicate sample keys, mixed levels, non-numeric or infinite cells, negatives, and metadata disagreement.
- Summarize declared missingness and observed distributions; report replication, confounding, scale ambiguity, provenance gaps, and outliers for researcher review.
Result and boundaries
Return completed, partial, needs-decision, needs-tool, or
invalid-input. A completed report binds the inspected scope, table dimensions,
feature level, joins, duplicate/value findings, missing/zero summaries,
distribution warnings, design blockers, assumptions, and skipped checks.
- Never recode zero as missing without declared semantics.
- Never mix PSM, peptide, protein-group, and protein rows.
- Do not silently choose or run normalization, imputation, batch correction, differential abundance, or multiplicity correction.
- Route raw spectra, search, PEP/q-value/FDR, and protein inference elsewhere; route inferential multiplicity to
statistical-analysis-and-multiple-testing. - Use no network service, upload no table, and never overwrite or mutate inputs.
- Skipped R/Bioconductor or large-table work remains
partialorneeds-tool, never passed.
See runtime boundaries for reviewed interfaces and unverified behavior.
Bounded local helper
Use check_protein_table.py for a small protein matrix (1–10,000 rows, 4–32 samples). Broad peptide/protein-group QC guidance above does not make those levels eligible for this helper's protein model route. See local input and handoff contract. It summarizes missingness and observed min/median/max, checks independent subjects and at most one categorical batch, and preserves declared units, scale and zero semantics. Only completed QC with model_ready=true exports complete normalized log2 model inputs; unresolved facts yield needs-decision and no model input files. A ready entry requires at least 20 proteins and two independent samples per group.


