Kp_prediction_cli / predict_cli.sh
hjy1805's picture
Upload 2 files
c50610a verified
raw
history blame contribute delete
654 Bytes
#!/bin/bash
# KAUST Genomic Risk Prediction - CLI Launcher
# Easy wrapper for running predictions from command line
set -e # Exit on error
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
# Check if Python CLI wrapper exists
if [ ! -f "cli_wrapper.py" ]; then
echo "❌ cli_wrapper.py not found in $SCRIPT_DIR"
exit 1
fi
# Check if Python is available
if ! command -v python3 &> /dev/null; then
echo "❌ Python 3 not found. Please install Python 3."
exit 1
fi
# Run the CLI wrapper with all arguments passed to this script
python3 cli_wrapper.py "$@"