about summary refs log tree commit diff
path: root/uploader/scripts/cli_parser.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-11-11 17:48:53 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-11-11 13:43:09 -0600
commitf2196e817c7a665c4fb899680ddb2e028d5edfb2 (patch)
tree9a4e6972aa7f0c0756af45a7239d2e51c900025e /uploader/scripts/cli_parser.py
parent75d30d520c3332e08f1200cce56b7da7e4796efc (diff)
downloadgn-uploader-f2196e817c7a665c4fb899680ddb2e028d5edfb2.tar.gz
Normalise genotype files and move Stage 02 state into the QC job
Add `uploader.genotypes.normalise`, which writes a canonical untransposed
matrix (`<stem>__work<suffix>`) next to the original, dropping comments and
`@` directives and leaving the original untouched. Ragged or empty matrices
raise `NormalisationError`, and `qc.check_file` now handles only the normal
orientation.

Stage 02 now puts `stage02`, `genotype_collector_job_id`, `file` and `config`
in the QC job's metadata at launch, and uses `jobs_by_metadata` to reuse an
existing QC job. The completed collector job's metadata is no longer modified.
The Stage 03 worker normalises and QCs the working file from its own metadata.

Change the placeholder marker ordering to chromosome, then Mb, then cM.

Co-authored-by: pi coding agent <pi@pi.dev>
Diffstat (limited to 'uploader/scripts/cli_parser.py')
0 files changed, 0 insertions, 0 deletions