annotate tool_dependencies.xml @ 5:f9fc927e56c3 draft

xml escapes in tool_dependencies.xml
author Jim Johnson <jj@umn.edu>
date Tue, 30 Oct 2012 12:25:52 -0500
parents 10132903b38b
children c74f1ea02e29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 <?xml version="1.0"?>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <tool_dependency>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <package name="KronaTools" version="2.2">
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 <install version="1.0">
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 <actions>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 <action type="download_by_url">http://sourceforge.net/projects/krona/files/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.2.tar</action>
4
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
7 <action type="move_directory_files">
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
8 <source_directory>.</source_directory>
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
9 <destination_directory>$INSTALL_DIR</destination_directory>
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
10 </action>
3
3398919bc103 Comment tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
11 <!-- Downloaded NCBI taxonomy will be over 1.8GB after processing, Instead of $INSTALL_DIR/ maybe should be in a galaxy data dir -->
4
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
12 <!-- The KronaTools tar includes an empty taxonomy dir
1
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 <action type="make_directory">$INSTALL_DIR/taxonomy</action>
5
f9fc927e56c3 xml escapes in tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 4
diff changeset
14 <action type="shell_command">cd $INSTALL_DIR &amp;&amp; perl install.pl --prefix $INSTALL_DIR --taxonomy $INSTALL_DIR/taxonomy</action>
4
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
15 -->
3
3398919bc103 Comment tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
16 <!-- With prefix arg "$INSTALL_DIR" installs code into: $INSTALL_DIR/bin/ -->
5
f9fc927e56c3 xml escapes in tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 4
diff changeset
17 <action type="shell_command">cd $INSTALL_DIR &amp;&amp; perl install.pl --prefix $INSTALL_DIR</action>
4
10132903b38b Copy files to INSTALL_DIR
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
18 <!-- Down load and process NCBI Taxonomy data, the updateTaxonomy.sh script relies on the curl command -->
5
f9fc927e56c3 xml escapes in tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 4
diff changeset
19 <action type="shell_command">cd $INSTALL_DIR &amp;&amp; if curl --help 2>i1 > /dev/null; then ./updateTaxonomy.sh; fi</action>
3
3398919bc103 Comment tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
20 <!-- copy javascript to galaxy/static/krona/
1
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 <action type="shell_command">./deployResources.sh /static/krona</action>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 -->
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 <action type="set_environment">
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 </action>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 </actions>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 </install>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 <readme>http://sourceforge.net/p/krona/home/krona/</readme>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 </package>
53258f6dddd3 Add tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 </tool_dependency>