view tool_dependencies.xml @ 9:25044b99547e draft

Uploaded
author jasonk
date Wed, 18 Jan 2017 02:00:34 -0500
parents 4e985f1d5cf4
children 9f78e45e5953
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="metavelvet_sl" version="1.0">
  <install version="1.0">
    <actions>
    <action type="download_by_url">http://metavelvet.dna.bio.keio.ac.jp/srcSL/MetaVelvetSLv1.0.tar.gz</action>
    <action type="shell_command">make MAXKMERLENGTH=128 CATEGORIES=3</action>
    <action type="move_file">
                        <source>meta-velvete</source>
                        <destination>$INSTALL_DIR/bin</destination>
                </action>
    <action type="move_file">
                        <source>meta-velvetg</source>
                        <destination>$INSTALL_DIR/bin</destination>
                </action>
    </actions>

    <actions>
    <action type="download_by_url">http://www.csie.ntu.edu.tw/~cjlin/cgi-bin/libsvm.cgi?+http://www.csie.ntu.edu.tw/~cjlin/libsvm+tar.gz</action>
    <action type="change_directory">libsvm*</action>
    <action type="shell_command">make</action>
    <action type="move_file">
                        <source>svm-predict</source>
                        <destination>$INSTALL_DIR/bin</destination>
                </action>
    <action type="move_file">
                        <source>svm-train</source>
                        <destination>$INSTALL_DIR/bin</destination>
                </action>

    <action type="move_file">
                        <source>svm-scale</source>
                        <destination>$INSTALL_DIR/bin</destination>
                </action>
    </actions>

    <actions>
    <action type="download_by_url">http://metavelvet.dna.bio.keio.ac.jp/srcSL/LearningModelFeatures.tar.gz</action>
    <action type="change_directory">LearningModelFeatures</action>
    <action type="move_file">
                        <source>FeatureExtract.perl</source>
                        <destination>$INSTALL_DIR</destination>
                </action>
     <action type="move_file">
                        <source>FeatureExtractPredict.perl</source>
                        <destination>$INSTALL_DIR</destination>
                </action>
     <action type="move_directory_files">
                        <source>BLAST_map</source>
                        <destination>$INSTALL_DIR</destination>
                </action>
    </actions>
   

    <actions>
    <action type="download_by_url">http://metavelvet.dna.bio.keio.ac.jp/srcSL/LibraryPretrainedClassification.tar.gz</action>
    <!-- <action type="change_directory">LibraryPretrainedClassification</action> -->
    <action type="move_directory_files">
                        <source_directory>LibraryPretrainedClassification</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                </action>
    <!-- <action type="move_file">
                        <source>*.model</source>
                        <destination>$INSTALL_DIR</destination>
                </action> -->
                <action type="set_environment">
                        <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                </action>
    </actions>
    
         </install>
    </package>
</tool_dependency>