| 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 | |