#!/bin/bash DATA_DIR=${1:-screening_data/6cm4} DOCKING_MODEL=${2:-vina} CSV_FILE=${3:-screening_data/6cm4/6cm4_property_20k.csv} FINGERPRINT=${4:-screening_data/6cm4/fingerprints_20k.npy} ACQ_FUNCION=${5:-qeubo} PORT=${6:-4000} shift 6 # Shift positional parameters so remaining ones are treated as OBJS # If OBJS are provided as arguments, use them; otherwise, set defaults if [ $# -gt 0 ]; then OBJS=("$@") else OBJS=("MW" "TPSA" "DILI" "BBB_Martins") fi CONFIG_FILE="configs/default_cheapvs.yaml" sed -i "s|DATA_DIR_PLACEHOLDER|$DATA_DIR|g" "$CONFIG_FILE" YAML_ARGS=$(python utils/parse_config.py "$CONFIG_FILE") python -m cheapvs.cheapvs_llm $YAML_ARGS \ --csv_file $CSV_FILE \ --seeds 128 \ --acq $ACQ_FUNCION \ --docking_model_name $DOCKING_MODEL \ --fingerprint $FINGERPRINT \ --port $PORT \ --objectives "${OBJS[@]}" \ --outpath cheapvs_results_llm \ --warmup_ratio 0.01 \ --n_compare 32 \ --n_sample 100_000 \ --gp_batch_size 128 \ --timeout 48 \ --iterations 20 \ --n_select 50