genrl-enhancer-diffusion / scripts /01_data /prepare_conditioned_deepstarr.sh
Ouzhang's picture
Upload folder using huggingface_hub
a80f3c0 verified
Raw
History Blame Contribute Delete
451 Bytes
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/../00_setup/env.sh"
cd "${GENERATOR_DIR}"
python3 src/tasks/downstream/prepare_conditioned_deepstarr.py \
--input_dir "${DEEPSTARR_DIR}" \
--output_dir "${CONDITIONED_DEEPSTARR_DIR}" \
--sequence_col sequence \
--label_col label \
--score_mode sum \
--low_quantile 0.25 \
--high_quantile 0.75 \
--trim_multiple 6