Skip to content

feat(#11): consolidate UCR HPCC institutional profile - #22

Merged
hyphaltip merged 2 commits into
mainfrom
refactor/issue-11-ucr-hpcc-profile
Jun 29, 2026
Merged

feat(#11): consolidate UCR HPCC institutional profile#22
hyphaltip merged 2 commits into
mainfrom
refactor/issue-11-ucr-hpcc-profile

Conversation

@hyphaltip

Copy link
Copy Markdown
Member

Summary

  • conf/profile_annotate.config now portable — all queue = / clusterOptions = removed; contains only cpus/memory/time. Non-UCR SLURM users can run `-profile annotate,slurm` without overrides.
  • conf/provision_ucr_hpcc.config now owns both UCR concerns: Lmod `beforeScript` blocks (added missing `earlgrey`/`repeatmask`/`select`/`deliver` labels) + SLURM partition routing (`withName` section with every process queue assignment and clusterOptions).
  • `conf/profile_earlgrey.config` stripped of `beforeScript`/`queue`/`clusterOptions`; only resource sizes remain.
  • `modules/local/earlgrey_build_lib.nf`, `repeatmask_strain.nf` — removed inline `module load` from script bodies; environment now comes from `beforeScript`.
  • `docs/adding_a_site.md` — new guide for adapting the institutional profile to a new HPC site.

Test plan

  • Stub gate tantan path: `nextflow run . -profile test -stub-run` → 15/0
  • Stub gate EarlGrey path: `nextflow run . -profile test -stub-run -params-file tests/params_earlgrey.json` → 16/0
  • Live `annotate,slurm,ucr_hpcc` run on UCR HPCC

🤖 Generated with Claude Code

https://claude.ai/code/session_01AbWwmm9v6dJn13sgAJn3Sa

hyphaltip and others added 2 commits June 29, 2026 14:36
Move all UCR-specific settings out of the portable pipeline profile and
into conf/provision_ucr_hpcc.config:

  profile_annotate.config — now contains only cpus/memory/time (site-agnostic).
    queue = / clusterOptions = removed from all withName blocks.
    Non-UCR SLURM users can run -profile annotate,slurm without overrides.

  provision_ucr_hpcc.config — now owns two things:
    1. Tool provisioning: withLabel beforeScript blocks (Lmod module loads).
       Added earlgrey / repeatmask / select / deliver labels (previously missing).
    2. SLURM partition routing: withName queue= / clusterOptions= for every
       process, including EarlGrey path processes.

  profile_earlgrey.config — beforeScript / queue / clusterOptions removed from
    withLabel blocks; only cpus/memory/time remain (portable resource sizes).

  modules/local/earlgrey_build_lib.nf, repeatmask_strain.nf — removed inline
    `module load` from script bodies; environment comes from beforeScript per
    the established pattern (scripts contain NO module load lines).

  docs/adding_a_site.md — new: step-by-step guide for adapting the institutional
    profile to a new HPC site (copy file, replace module names, replace queue
    names, register profile).

Stub gates: tantan 15/0, EarlGrey 16/0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbWwmm9v6dJn13sgAJn3Sa
NF 25.10.0 strict config validation rejects withName blocks that contain
only comments and no directives. The block was a no-op placeholder.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbWwmm9v6dJn13sgAJn3Sa
@hyphaltip
hyphaltip merged commit 0d72095 into main Jun 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant