annotate build-and-run-job-scripts.sh @ 1:a110308993be draft

planemo upload for repository https://github.com/feltus/BDSS
author mingchen0919
date Mon, 11 Jun 2018 23:40:40 -0400
parents b12c945daf86
children 0d15928a648c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
1 # run job scripts within the tool outputs directory
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
2 cd ${REPORT_FILES_PATH}
1
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
3 mkdir download_dir
0
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
4
1
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
5 #========== build and run bdss-download.sh script ============
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
6 echo 'export PATH=/main/sites/galaxy/galaxy/tools/_conda/bin:$PATH' > bdss-download.sh
0
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
7
1
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
8 echo 'for u in $(echo $X_u | sed "s/,/ /g");' >> bdss-download.sh
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
9 echo 'do' >> bdss-download.sh
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
10 echo ' bdss transfer --destination download_dir -u $u' >> bdss-download.sh
a110308993be planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents: 0
diff changeset
11 echo 'done' >> bdss-download.sh
0
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
12
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
13
b12c945daf86 planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff changeset
14 sh bdss-download.sh