Repository 'bigwig_to_wig'
hg clone https://toolshed.g2.bx.psu.edu/repos/nikos/bigwig_to_wig

Changeset 2:bce77c02cc5f (2014-08-05)
Previous changeset 1:561c9a746a81 (2014-08-05) Next changeset 3:f15581b3424e (2014-08-05)
Commit message:
Fixed tool dependency errors
modified:
bigwig_to_wig.xml
tool_dependencies.xml
b
diff -r 561c9a746a81 -r bce77c02cc5f bigwig_to_wig.xml
--- a/bigwig_to_wig.xml Tue Aug 05 07:51:14 2014 -0400
+++ b/bigwig_to_wig.xml Tue Aug 05 09:03:05 2014 -0400
b
@@ -1,9 +1,9 @@
 <tool id="bigwig_to_wig" name="BigWig to Wig" version="1.0.2">
     <description>converter</description>
-    <command>bigwig_to_wig.sh -f $input -b $bin_size -l $mylab > $output </command>
+    <command interpreter="bash">bigwig_to_wig.sh -f $input -b $bin_size -l $mylab > $output </command>
   <requirements>
-      <requirement type="package">bigWigSummary</requirement>
-      <requirement type="package">bigWigInfo</requirement>
+      <requirement type="package" version="1.0">bigWigSummary</requirement>
+      <requirement type="package" version="1.0">bigWigInfo</requirement>
   </requirements>
   <inputs>
       <param format="bigwig" name="input" type="data" label="BigWig file to convert" />
b
diff -r 561c9a746a81 -r bce77c02cc5f tool_dependencies.xml
--- a/tool_dependencies.xml Tue Aug 05 07:51:14 2014 -0400
+++ b/tool_dependencies.xml Tue Aug 05 09:03:05 2014 -0400
b
@@ -1,41 +1,35 @@
 <?xml version="1.0"?>
 <tool_dependency>
-    <package name="bigWigSummary">
+    <package name="bigWigSummary" version="1.0">
         <install version="1.0">
-     <actions_group>
-                <actions os="linux" architecture="x86_64">
-                    <action type="download_binary"><url_template>http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigSummary</url_template></action>
-             <action type="move_directory_files">
-             <source_directory>.</source_directory>
-             <destination_directory>$INSTALL_DIR</destination_directory>
-             </action>
- </actions>
-
-
+            <actions>
+                <action type="download_by_url">http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigSummary</action>
+         <action type="move_directory_files">
+             <source_directory>.</source_directory>
+             <destination_directory>$INSTALL_DIR</destination_directory>
+         </action>
+                <action type="chmod"><file mode="755">$INSTALL_DIR/bigWigSummary</file></action>
  <action type="set_environment">
                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                 </action>
-            </actions_group>
+     </actions>
         </install>
         <readme>
         </readme>
     </package>
-    <package name="bigWigInfo">
+    <package name="bigWigInfo" version="1.0">
         <install version="1.0">
-            <actions_group>
-                <actions os="linux" architecture="x86_64">
-                    <action type="download_binary"><url_template>http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigInfo</url_template></action>
-                    <action type="move_directory_files">
-                        <source_directory>.</source_directory>
-                        <destination_directory>$INSTALL_DIR</destination_directory>
-                    </action>
-                </actions>
-
-
+            <actions>
+                <action type="download_by_url">http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigInfo</action>
+                <action type="move_directory_files">
+                    <source_directory>.</source_directory>
+                    <destination_directory>$INSTALL_DIR</destination_directory>
+                </action>
+ <action type="chmod"><file mode="755">$INSTALL_DIR/bigWigInfo</file></action>
                 <action type="set_environment">
                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                 </action>
-            </actions_group>
+            </actions>
         </install>
         <readme>
         </readme>