Mercurial > repos > mingchen0919 > aurora_bdss_url
annotate build-and-run-job-scripts.sh @ 0:b12c945daf86 draft
planemo upload for repository https://github.com/feltus/BDSS
author | mingchen0919 |
---|---|
date | Mon, 11 Jun 2018 23:04:53 -0400 |
parents | |
children | a110308993be |
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} |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
3 |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
4 #========== build and run job 1 script ============ |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
5 cat >bdss-download.sh <<EOF |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
6 #------------ BELOW IS WHERE YOU WRITE YOUR OWN SHELL SCRIPT -------------- |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
7 export PATH=/main/sites/galaxy/galaxy/tools/_conda/bin:$PATH |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
8 |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
9 for $u in $(echo $X_u | sed "s/,/ /g"); |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
10 do |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
11 echo "bdss transfer --destination download_dir -u $u" |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
12 done |
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 |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
15 #------------ END OF SHELL SCRIPT ------------------------------------------ |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
16 EOF |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
17 |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
18 |
b12c945daf86
planemo upload for repository https://github.com/feltus/BDSS
mingchen0919
parents:
diff
changeset
|
19 sh bdss-download.sh |