-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathentrypoint.sh
More file actions
25 lines (18 loc) · 904 Bytes
/
Copy pathentrypoint.sh
File metadata and controls
25 lines (18 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
if [[ $# -gt 0 && "$1" == "--help" || "$1" == "-h" ]]; then
/compi run -p /pipeline*.xml "$@"
echo -e "\t- init_working_dir.sh /working_dir: initializes the working directory with a base parameters file."
echo -e "\t- make_run-sh.sh /path/to/compi.parameters: build the runner for myBrain-Seq analysis."
echo -e "\t- visual_console.sh: terminal user interface that allows to initialize the working directory,
build the runner and run the analysis interactively."
elif [ $# -gt 0 ] && [ "$1" == "resume" ]; then
/compi resume -p /pipeline*.xml "${@:2}"
elif [ $# -gt 0 ] && [ "$1" == "init_working_dir.sh" ]; then
/scripts/init_working_dir.sh "${@:2}"
elif [ $# -gt 0 ] && [ "$1" == "run" ]; then
/init-working-dir/run.sh "${@:2}"
elif [ $# -gt 0 ] && [ "$1" == "visual_console.sh" ]; then
/visual_console/visual_console.sh "${@:2}"
else
/compi run -p /pipeline*.xml "$@"
fi