Download code/scripts/slurm_featurize.sh from bryan7264/pangea-readout: direct link, hf CLI and curl.
- Browser
- Download file 931 Bytes
-
https://huggingface.co/datasets/bryan7264/pangea-readout/resolve/main/code/scripts/slurm_featurize.sh
- Command line
-
hf download hf://datasets/bryan7264/pangea-readout/code/scripts/slurm_featurize.sh
-
curl -L -o slurm_featurize.sh https://huggingface.co/datasets/bryan7264/pangea-readout/resolve/main/code/scripts/slurm_featurize.sh
931 Bytes
| # MIT License, Bryan Cheng, 2026. Part of PANGEA/READOUT. | |
| # Physics landscapes of an assay table from a frozen encoder (src/readout/featurize.py), | |
| # split over the array's tasks. RUN, TABLE, OUT, and EXTRA (further featurize flags). | |
| #SBATCH --job-name=pangea-feat | |
| #SBATCH --partition=day,scavenge | |
| #SBATCH --requeue | |
| #SBATCH --time=03:00:00 | |
| #SBATCH --cpus-per-task=4 | |
| #SBATCH --mem=24G | |
| #SBATCH --output=logs/slurm/feat_%A_%a.out | |
| #SBATCH --error=logs/slurm/feat_%A_%a.err | |
| set -uo pipefail | |
| source /home/bjc75/other/biophyschem/scripts/env.sh | |
| eval "$(conda shell.bash hook)"; conda activate "${CONDA_ENVS_PATH}/train" | |
| set -e | |
| cd /home/bjc75/other/biophyschem | |
| export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK:-4} | |
| python -W ignore "${CODE_ROOT:-.}/src/readout/featurize.py" --run "${RUN:?}" --table "${TABLE:?}" \ | |
| --out "${OUT:?}" --chunk "${SLURM_ARRAY_TASK_ID:-0}" --n-chunks "${SLURM_ARRAY_TASK_COUNT:-1}" ${EXTRA:-} | |