From fgcz-infrastructure
FGCZ Lmod module system management and software installation on Debian 12 servers. Use when: (1) loading modules for R, Python, CellRanger, or other bioinformatics tools, (2) installing new software packages as system modules, (3) understanding which module versions are available, (4) configuring environment variables for analysis, (5) troubleshooting module conflicts or environment issues, (6) setting up pixi project environments with shared cache and SBATCH integration on FGCZ. Covers module load/avail commands, installation procedures for new modules, conda environments, pixi setup, and FGCZ-specific paths and configurations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fgcz-infrastructure:fgcz-modulesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
FGCZ uses Lmod (Lua-based environment modules) to manage software versions across Debian 12 servers.
FGCZ uses Lmod (Lua-based environment modules) to manage software versions across Debian 12 servers.
# List all available modules
module avail
# Search for specific module
module spider CellRanger
# Load a module
module load Dev/R/4.5.0
# Show loaded modules
module list
# Unload a module
module unload Dev/R
# Get module help
module help Dev/R/4.5.0
# Core environment variables (set by lmod_profile)
export NGSEQ=/usr/local/ngseq
export ngsrc=$NGSEQ/srcm # Source code directory
export ngpkg=$NGSEQ/packages # Installed packages
export ngmdf=$NGSEQ/etc/modules # Module files (.lua)
| Category | Description | Examples |
|---|---|---|
| Dev | Development tools, languages | R/4.5.0, Python/3.12.8, jdk/21, pixi, uv |
| Aligner | Sequence alignment | CellRanger/10.0.0, STAR/2.7.11b, BWA/0.7.18 |
| Assembly | Genome assemblers | SPAdes/4.0.0, hifiasm/0.25.0 |
| QC | Quality control | FastQC/0.12.1, Trimmomatic/0.39 |
| Tools | General bioinformatics | samtools/1.20, bcftools/1.20, Picard/3.2.0 |
| Variants | Variant calling | GATK/4.6.1.0, SnpEff/5.2, VEP/113.4 |
module load Dev/R/4.5.0
module load Aligner/CellRanger/10.0.0
module load Dev/Python/3.12.8 # Production conda env (read-only)
# OR
module load Dev/Python/3.12.8_dev # Development env (can install packages)
module load Dev/R/4.5.0
module load Aligner/SpaceRanger/4.0.1
module load Aligner/XeniumRanger/4.0.0
module load Dev/pixi/0.58.0 # For reproducible project environments
module load Dev/uv/0.9.12 # Fast Python package manager
See references/pixi-fgcz.md for shared cache config, PIXI_HOME, storage guidance (.pixi outside home quota), SBATCH integration, and GPU-node PATH setup.
Python modules use Miniforge/conda environments:
Dev/Python/X.Y.Z): Read-only, stable packagesDev/Python/X.Y.Z_dev): Install new packages with pip# Install packages in dev environment
module load Dev/Python/3.12.8_dev
pip install package_name
WARNING: Never modify production environments (gi_* prefix).
For installing new system modules, see references/installation-guide.md.
Server requirement: Installations must be performed on fgcz-r-029. You can SSH from any server:
ssh fgcz-r-029 'commands here'
Key steps:
$ngpkg/Category/Name/Version/$ngmdf/Category/Name/Version.luamodule load Category/Name/VersionGit workflow (module files are in /usr/local/ngseq/etc):
ssh fgcz-r-029
cd /usr/local/ngseq/etc
git add modules/Category/Name/Version.lua
git commit -m "Add Name Version module"
git push # Requires authentication
module spider <name> # Search all modules
module avail | grep -i <name>
module list # Check loaded modules
module purge # Unload all modules
module load ... # Load fresh
# Deactivate all conda envs first
for i in $(seq ${CONDA_SHLVL:-0}); do conda deactivate; done
module load Dev/Python/3.12.8
Never use LD_LIBRARY_PATH - it causes runtime issues. Use LD_RUN_PATH or LIBRARY_PATH instead.
npx claudepluginhub cpanse/skills --plugin fgcz-infrastructureProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.