comparison build-and-run-job-scripts.sh @ 12:1a7af4f6b101 draft

planemo upload commit 61448862dc9016969191967aeefb7f7acce1e1f9-dirty
author mingchen0919
date Tue, 01 May 2018 00:42:45 -0400
parents 1b637e0a30b6
children
comparison
equal deleted inserted replaced
11:70de0b9c4c76 12:1a7af4f6b101
1 # run job scripts within the tool outputs directory 1 # run job scripts within the tool outputs directory
2 cd ${REPORT_FILES_PATH} 2 cd ${REPORT_FILES_PATH}
3 3
4 #========== build and run job 1 script ============ 4 #========== build and run job 1 script ============
5 cat >job-1-script.sh <<EOF 5 cat >temp.sh <<EOF
6 skewer \\ 6 skewer \\
7 ${X_A} \\ 7 ${X_A} \\
8 ${X_B} \\ 8 ${X_B} \\
9 -x ${X_x} \\ 9 -x ${X_x} \\
10 -y ${X_y} \\ 10 -y ${X_y} \\
23 -f ${X_f} \\ 23 -f ${X_f} \\
24 -z ${X_z} \\ 24 -z ${X_z} \\
25 -qiime ${X_E} \\ 25 -qiime ${X_E} \\
26 -quiet ${X_F} \\ 26 -quiet ${X_F} \\
27 -i ${X_i} \\ 27 -i ${X_i} \\
28 -o trim > /dev/null 2>&1 28 -o trim > skewer.log.txt 2>&1
29 EOF 29 EOF
30 30
31 # remove empty input lines 31 # remove empty input lines
32 grep -v '\-M \\' temp.sh |\ 32 grep -v '\-M \\' temp.sh |\
33 grep -v 'None' |\ 33 grep -v 'None' |\