Repository 'chimerascan'
hg clone https://toolshed.g2.bx.psu.edu/repos/bioitcore/chimerascan

Changeset 5:c6b0f5c3f3b4 (2017-09-13)
Previous changeset 4:713d8c903d0d (2017-09-13) Next changeset 6:6d54abd510d7 (2017-09-13)
Commit message:
planemo upload commit 93e677982c3636da455de2f827a87e516c7985ac-dirty
modified:
run.sh
b
diff -r 713d8c903d0d -r c6b0f5c3f3b4 run.sh
--- a/run.sh Wed Sep 13 14:42:12 2017 -0400
+++ b/run.sh Wed Sep 13 15:07:06 2017 -0400
[
@@ -1,6 +1,8 @@
 #!/usr/bin/bash
 
-if [ "$(cat installation_chk 2>&1)" != "true" ]; then
- python setup.py build && python setup.py install
- echo true > installation_chk 
+if [ "$(cat $1/installation_chk 2>&1)" != "true" ]; then
+        python $1/setup.py build && python $1/setup.py install
+ mv $1/chimerascan $1/chimerascan_bak
+ ln -s /usr/local/lib/python2.7/dist-packages/chimerascan $1
+        echo true > $1/installation_chk
 fi