ProRiboGen / scripts /demo_generate.sh
TimelessAEther's picture
Upload ProRiboGen inference package and checkpoints
6dd9839 verified
Raw
History Blame Contribute Delete
537 Bytes
#!/usr/bin/env bash
# Smoke test: protein → a few RNAs (skip motif for a fast path check).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
if [[ ! -f configs/paths.env ]]; then
echo "First run: cp configs/paths.env.example configs/paths.env and set VESM paths."
exit 1
fi
# Short peptide is only for plumbing; use a full RBP sequence for real demos.
SEQ="${1:-MSKSLYKVL}"
python api/generate_rna_and_motif.py \
--protein "$SEQ" \
--p-id DemoSmoke \
--num-sequences 8 \
--length-bp 40 \
--skip-motif