changeset 6:aff5e2528b9d draft default tip

planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/packages/package_mira_3_4_1_1 commit fd979d17340cde155de176604744831d9597c6b6
author peterjc
date Thu, 18 May 2017 13:37:08 -0400
parents 64920d90983b
children
files tool_dependencies.xml
diffstat 1 files changed, 48 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu May 18 13:37:08 2017 -0400
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="MIRA" version="3.4.1.1">
+        <install version="1.0">
+            <actions_group>
+                <!-- Download the binaries for MIRA compatible with 64-bit Linux. -->
+                <actions architecture="x86_64" os="linux">
+                    <!-- http://downloads.sourceforge.net/project/mira-assembler/MIRA/Older%20releases/V3.4.0/mira_3.4.1.1_prod_linux-gnu_x86_64_static.tar.bz2 -->
+                    <action type="download_by_url" sha256sum="8843c3efc72f0ca8c7e681f9d81748604127b1d9c01d0234a5e8b3a55b798d5c">https://depot.galaxyproject.org/software/mira/mira_3.4.1.1_linux_x64.tar.bz2</action>
+                    <action type="move_directory_files">
+                        <source_directory>bin</source_directory>
+                       <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                </actions>
+                <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
+                <actions>
+                    <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action>
+                    <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
+                    <action type="shell_command">uname</action>
+                    <action type="shell_command">arch</action>
+                    <action type="shell_command">echo "If pre-compiled MIRA binaries are now available for this, please report this"</action>
+                    <action type="shell_command">echo "via https://github.com/peterjc/galaxy_mira/issues - thank you!"</action>
+                    <action type="shell_command">false</action>
+                    <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
+                </actions>
+                <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
+                <action type="set_environment">
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="set_to" name="MIRA3">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions_group>
+        </install>
+        <readme>
+Downloads MIRA v3.4.1.1 from Sourceforge, requesting Bastien's precompiled binaries
+for 64bit Linux (x86_64). He also has binaries for 32bit Linux (686 only), which we
+could use once the Galaxy installation framework allow that kind of flexibility.
+
+http://chevreux.org/projects_mira.html
+http://sourceforge.net/projects/mira-assembler/
+
+The environment variable ``$MIRA3`` will point to the folder containing the binaries,
+which is also pre-pended to the ``$PATH`` variable.
+        </readme>
+    </package>
+</tool_dependency>
+