lorapop / code /slurm /geno_rep.sh
bryan7264's picture
Add files using upload-large-folder tool
a8b5668 verified
Raw History Blame Contribute Delete
829 Bytes
#!/bin/bash
#SBATCH -p devel
#SBATCH -c 4
#SBATCH --mem=58G
#SBATCH -t 06:00:00
#SBATCH -o /home/bjc75/other/finetuning/logs/%x_%j.out
# MIT License, Bryan Cheng, 2026. Genotypes and relatedness of a replication population (RESEARCH_PLAN 1.2; same settings as
# the primary population). BASE=<hf id> AD=<adapters dir> OUT=<data/processed/...>. The base covariance (basecov.pt) is
# saved before the Grams, so a job that hits the time limit is continued by re-running the same command.
cd /home/bjc75/other/finetuning
export PYTHONUNBUFFERED=1 OMP_NUM_THREADS=4 TOKENIZERS_PARALLELISM=false HF_HOME=/nfs/roberts/scratch/pi_skr2/bjc75/finetuning/hf_home
mkdir -p $OUT
/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python src/run/genotypes.py --base $BASE --adapters $AD --out $OUT \
2>&1 | grep -v -i warn | tail -20