#!/usr/bin/env bash

export "PLANEMO_GLOBAL_CONFIG_PATH=/scratch/rico/.planemo"
export "PLANEMO_GLOBAL_WORKSPACE=/scratch/rico/.planemo"

rm -rf /tmp/tmp* /scratch/rico/.planemo

planemo \
    --verbose \
    serve \
    --job_config_file=/scratch/rico/galaxytools/tools/ncbi_fcs_adaptor/planemo_job_conf.xml \
    --no_cleanup \
    --galaxy_root=/scratch/rico/galaxy 2>&1 \
    | tee serve.log

