#!/bin/bash
#SBATCH --job-name=flo-1.1.0-case.sh
#SBATCH --partition=rome
#SBATCH --nodes=1
#SBATCH --ntasks=10
#SBATCH --time=1:00:00


module load flo

  # ****** OPTIONAL FAILSAFE ******

  # to make sure that the :processes: parameter is correct
  # suppose we have a file called "my_opts"
  # that already contains the parameters
  # :lift:, :source_fa:, :target_fa:, :blat_opts:, :add_to_path:
  # (according to $FLO_ROOT/opts_example.yaml)
  # we can then set the :processes: parameter by

  # $ cp my_opts flo_opts.yaml
  # $ echo -e "\n:processes: $SLURM_NTASKS">>flo_opts.yaml

  # which adds a newline ("\n") and the line
  # ":processes: 10"
  # (since we have specified 10 tasks)

# run flo
rake -f $FLO_ROOT/Rakefile
