annotate build-and-run-job-scripts.sh @ 2:350afb9412fc draft default tip

planemo upload
author mingchen0919
date Mon, 14 May 2018 16:58:24 -0400
parents 7a3bb304fe1d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
1 # run job scripts within the tool outputs directory
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
2 cd ${REPORT_FILES_PATH}
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
3
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
4 #========== build and run job 1 script ============
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
5 cat >curl-download.sh <<EOF
2
350afb9412fc planemo upload
mingchen0919
parents: 0
diff changeset
6 curl $X_u > output.$X_n
350afb9412fc planemo upload
mingchen0919
parents: 0
diff changeset
7 cp output.$X_n ${JOB_WORKING_DIR}
0
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
8 EOF
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
9
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
10 # run job 1 script
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
11 sh curl-download.sh
7a3bb304fe1d planemo upload
mingchen0919
parents:
diff changeset
12