diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-10-18 19:22:53 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-10-18 19:22:53 +0000 |
| commit | 477294a2aa9ae7348137271b66831ac93a6149d6 (patch) | |
| tree | 785c731ff10092a23ac57069ff3f2294a1d81364 /src | |
| parent | fcfb9e12d996be1520af74e8521367916d2e8041 (diff) | |
| download | genenetwork4-477294a2aa9ae7348137271b66831ac93a6149d6.tar.gz | |
gemma: write the ravanan workflow in ccwl, not raw CWL
Per Arun's request, express the --loco kinship/GWA workflow as a ccwl (https://ccwl.systemreboot.net/) source, cwl/gemma/gemma-loco.scm, compiled with `ccwl compile --output=gemma-loco.cwl gemma-loco.scm`. ccwl inlines the two command definitions (kinship, gwa) directly into the Workflow CWL, so tools/kinship.cwl and tools/gwa.cwl are no longer needed as separate files. The two scatter steps (kinship over [chr, cache_dir], gwa over [chr, cache_dir, kinship_json], both dotproduct) and the gwa_json/archive outputs are unchanged in substance -- verified by compiling and running the generated gemma-loco.cwl through ravanan against the BXD fixtures: same 20-chromosome scatter, same cold (~17.7s) and warm (~2.4s, 0 jobs re-run) timings, and the same GWA values (rs31443144: chr=1, ps=3010274, p_lrt=0.2178407) as the hand-written CWL it replaces.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gemma.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gemma.rs b/src/gemma.rs index d6d932f..860ef9e 100644 --- a/src/gemma.rs +++ b/src/gemma.rs @@ -506,8 +506,8 @@ fn chromosomes_in(snps_file: &str) -> Result<Vec<String>, GemmaError> { /// instead of this module's own direct subprocess calls: one /// gemma-wrapper invocation per chromosome, scattered by ravanan /// itself (`--chromosomes`/`--no-parallel`, see -/// `cwl/gemma/tools/kinship.cwl` and `tools/gwa.cwl`) rather than -/// gemma-wrapper's own internal GNU parallel fan-out -- an alternative +/// `cwl/gemma/gemma-loco.scm`'s `kinship` and `gwa` commands) rather +/// than gemma-wrapper's own internal GNU parallel fan-out -- an alternative /// runner for the same computation, so the two can be compared. /// Backs `POST /compute/gemma/ravanan`. pub async fn compute_ravanan( |
