Check the inputs
Run from the main project folder:
python scripts/python/check_inputs.py data/synthetic results/synthetic/checksExpected: 1,200 protein groups and 16 samples. The command saves checks/input-checks.json and fails on inconsistent identifiers, duplicate samples, invalid intensities, undeclared scales or an unsupported design.
Review the scientific checks
- Match every sample ID exactly. Do not use spreadsheet row order to infer correspondence.
- Confirm the two groups and the numerator/denominator in
study-metadata.json. - Inspect missingness and coverage. The primary analysis needs at least 3 observed values in each group.
- Confirm that technical injections have not been counted as independent biological samples.
- Check the source’s contaminant, reverse/decoy and site-only exclusions before importing an unfiltered proteinGroups table.
- Confirm that group is not confounded with batch. This engine refuses declared multiple batches, repeated subjects and paired designs instead of silently ignoring them.
The synthetic metadata has unique simulated biological replicate IDs. Its deliberate sparse proteins should remain in the audit, not be silently deleted.
Make a proceed/stop decision
Input checks establish a consistent table, not a valid biological design. If the model assumptions are not defensible, stop inferential interpretation and resolve the design before using p-values. You can still inspect coverage and observed abundances descriptively.
Your task: save the check output and write one sentence explaining why the analysis can proceed and what remains uncertain.