diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build-and-run-job-scripts.sh	Mon Jun 11 23:04:53 2018 -0400
@@ -0,0 +1,19 @@
+# run job scripts within the tool outputs directory
+cd ${REPORT_FILES_PATH}
+
+#========== build and run job 1 script ============
+cat >bdss-download.sh <<EOF
+#------------ BELOW IS WHERE YOU WRITE YOUR OWN SHELL SCRIPT --------------
+export PATH=/main/sites/galaxy/galaxy/tools/_conda/bin:$PATH
+
+for $u in $(echo $X_u | sed "s/,/ /g");
+do
+  echo "bdss transfer --destination download_dir -u $u"
+done
+
+
+#------------ END OF SHELL SCRIPT ------------------------------------------  
+EOF
+
+
+sh bdss-download.sh