Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
<description>database builder</description>
<macros>
<token name="@TOOL_VERSION@">2.0</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@PROFILE@">24.1</token>
</macros>
<requirements>
<requirement type="package" version="@TOOL_VERSION@">kmetashot</requirement>
<requirement type="package" version="1.25.0">wget</requirement>
</requirements>
<command><![CDATA[
mkdir -p "$out_file.extra_files_path" &&
#if $test != "true":
#if $release == "1":
wget "https://zenodo.org/records/17591095/files/kMetaShot_reference.h5" &&
wget -c --tries=10 --waitretry=10 --timeout=30 "https://zenodo.org/records/17591095/files/kMetaShot_reference.h5" &&
mv "kMetaShot_reference.h5" "$out_file.extra_files_path" &&
#else:
wget "https://zenodo.org/records/17375120/files/kMetaShot_bacteria_archaea_2025-05-22.h5" &&
wget -c --tries=10 --waitretry=10 --timeout=30 "https://zenodo.org/records/17375120/files/kMetaShot_bacteria_archaea_2025-05-22.h5" &&
mv "kMetaShot_bacteria_archaea_2025-05-22.h5" "$out_file.extra_files_path" &&
#end if
#else:
Expand Down
9 changes: 7 additions & 2 deletions data_managers/data_manager_kmetashot/data_manager_conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@
<column name="name"/>
<column name="version"/>
<column name="path" output_ref="out_file">
<!-- we copy the .h5 file into the target -->
<move type="file">
<source>${path}</source>
<target base="${GALAXY_DATA_MANAGER_DATA_PATH}">kmetashot/${value}/${path}</target>
<target base="${GALAXY_DATA_MANAGER_DATA_PATH}">kmetashot/${value}</target>
</move>
<value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/kmetashot/${value}/${path}</value_translation>
<!-- we store the path to the .h5 file -->
<value_translation>
#import os
${GALAXY_DATA_MANAGER_DATA_PATH}/kmetashot/${value}/${os.path.basename($path)}
</value_translation>
<value_translation type="function">abspath</value_translation>
</column>
</output>
Expand Down
2 changes: 0 additions & 2 deletions data_managers/data_manager_kmetashot/test-data/kmetashot.loc

This file was deleted.

Loading