Mercurial > repos > jjohnson > snpeff_with_dep
changeset 4:ceaa79a5ee16
Actions for tool_dependencies.xml
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Fri, 14 Sep 2012 07:51:23 -0500 |
parents | 458d28b65750 |
children | c641d515de2e |
files | tool_dependencies.xml |
diffstat | 1 files changed, 20 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Fri Sep 14 07:26:01 2012 -0500 +++ b/tool_dependencies.xml Fri Sep 14 07:51:23 2012 -0500 @@ -1,16 +1,33 @@ <?xml version="1.0"?> <tool_dependency> <set_environment version="1.0"> - <environment_variable name="JAVA_JAR_PATH" action="set_to">$INSTALL_DIR/dist</environment_variable> + <environment_variable name="JAVA_JAR_PATH" action="set_to">$INSTALL_DIR/bin</environment_variable> </set_environment> <package name="snpEff" version="3.0f"> <install version="1.0"> <actions> <action type="download_by_url">http://sourceforge.net/projects/snpeff/files/snpEff_latest_core.zip/download</action> - <action type="shell_command">mkdir -p $INSTALL_DIR/dist/</action> <action type="shell_command">pwd</action> <action type="shell_command">ls</action> - <action type="shell_command">cp -rp * $INSTALL_DIR/dist/</action> + <action type="move_file"> + <source>SnpSift.jar</source> + <destination>$INSTALL_DIR/bin</destination> + </action> + <action type="move_file"> + <source>snpEff.jar</source> + <destination>$INSTALL_DIR/bin</destination> + </action> + <action type="move_directory_files"> + <source_directory>scripts</source_directory> + <destination_directory>$INSTALL_DIR/bin</destination_directory> + </action> + <action type="move_file"> + <source>snpEff.config</source> + <destination>$INSTALL_DIR/bin</destination> + </action> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable + </action> </actions> </install> <readme>