Mercurial > repos > jjohnson > krona_tools
comparison tool_dependencies.xml @ 4:10132903b38b draft
Copy files to INSTALL_DIR
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Tue, 30 Oct 2012 09:33:14 -0500 |
parents | 3398919bc103 |
children | f9fc927e56c3 |
comparison
equal
deleted
inserted
replaced
3:3398919bc103 | 4:10132903b38b |
---|---|
2 <tool_dependency> | 2 <tool_dependency> |
3 <package name="KronaTools" version="2.2"> | 3 <package name="KronaTools" version="2.2"> |
4 <install version="1.0"> | 4 <install version="1.0"> |
5 <actions> | 5 <actions> |
6 <action type="download_by_url">http://sourceforge.net/projects/krona/files/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.2.tar</action> | 6 <action type="download_by_url">http://sourceforge.net/projects/krona/files/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.2.tar</action> |
7 <action type="move_directory_files"> | |
8 <source_directory>.</source_directory> | |
9 <destination_directory>$INSTALL_DIR</destination_directory> | |
10 </action> | |
7 <!-- Downloaded NCBI taxonomy will be over 1.8GB after processing, Instead of $INSTALL_DIR/ maybe should be in a galaxy data dir --> | 11 <!-- Downloaded NCBI taxonomy will be over 1.8GB after processing, Instead of $INSTALL_DIR/ maybe should be in a galaxy data dir --> |
12 <!-- The KronaTools tar includes an empty taxonomy dir | |
8 <action type="make_directory">$INSTALL_DIR/taxonomy</action> | 13 <action type="make_directory">$INSTALL_DIR/taxonomy</action> |
14 <action type="shell_command">cd $INSTALL_DIR && perl install.pl --prefix $INSTALL_DIR --taxonomy $INSTALL_DIR/taxonomy</action> | |
15 --> | |
9 <!-- With prefix arg "$INSTALL_DIR" installs code into: $INSTALL_DIR/bin/ --> | 16 <!-- With prefix arg "$INSTALL_DIR" installs code into: $INSTALL_DIR/bin/ --> |
10 <action type="shell_command">perl install.pl --prefix $INSTALL_DIR --taxonomy $INSTALL_DIR/taxonomy</action> | 17 <action type="shell_command">cd $INSTALL_DIR && perl install.pl --prefix $INSTALL_DIR</action> |
11 <!-- Down load and process NCBI Taxonomy data --> | 18 <!-- Down load and process NCBI Taxonomy data, the updateTaxonomy.sh script relies on the curl command --> |
12 <action type="shell_command">./updateTaxonomy.sh</action> | 19 <action type="shell_command">cd $INSTALL_DIR && if curl --help 2>i1 > /dev/null; then ./updateTaxonomy.sh; fi</action> |
13 <!-- copy javascript to galaxy/static/krona/ | 20 <!-- copy javascript to galaxy/static/krona/ |
14 <action type="shell_command">./deployResources.sh /static/krona</action> | 21 <action type="shell_command">./deployResources.sh /static/krona</action> |
15 --> | 22 --> |
16 <action type="set_environment"> | 23 <action type="set_environment"> |
17 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> | 24 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> |