view data_manager_conf.xml @ 1:9bf4eb559ed5 draft

planemo upload commit 4381f4022eca6f3c58ae1d01096795cd28c15062
author devteam
date Mon, 10 Aug 2015 16:44:10 -0400
parents 9458af1ab90b
children e87aeff2cf88
line wrap: on
line source

<?xml version="1.0"?>
<data_managers>

    <data_manager tool_file="data_manager/bowtie2_index_builder.xml" id="bowtie2_index_builder" version="0.0.2">
        <data_table name="bowtie2_indexes">
            <output>
                <column name="value" />
                <column name="dbkey" />
                <column name="name" />
                <column name="path" output_ref="out_file" >
                    <move type="directory" relativize_symlinks="True">
                        <!-- <source>${path}</source>--> <!-- out_file.extra_files_path is used as base by default --> <!-- if no source, eg for type=directory, then refers to base -->
                        <target base="${GALAXY_DATA_MANAGER_DATA_PATH}">${dbkey}/bowtie2_index/${value}</target>
                    </move>
                    <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/${dbkey}/bowtie2_index/${value}/${path}</value_translation>
                    <value_translation type="function">abspath</value_translation>
                </column>
            </output>
        </data_table>

        <data_table name="tophat2_indexes">
            <output>
                <column name="value" />
                <column name="dbkey" />
                <column name="name" />
                <column name="path" output_ref="out_file" >
                    <!-- no move, always happens as part of bowtie2 and uses that path -->
                    <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/${dbkey}/bowtie2_index/${value}/${path}</value_translation>
                    <value_translation type="function">abspath</value_translation>
                </column>
            </output>
        </data_table>
    </data_manager>

</data_managers>