Skip to content

Commit

Permalink
Update MAPseq DM
Browse files Browse the repository at this point in the history
  • Loading branch information
RZ9082 committed Dec 5, 2024
1 parent 57d0567 commit 0258fd3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
2 changes: 1 addition & 1 deletion data_managers/data_manager_mapseq/data_manager/macros.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<macros>
<token name="@TOOL_VERSION@">1.1</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@VERSION_SUFFIX@">2</token>
<token name="@PROFILE@">22.05</token>
<xml name="requirements">
<requirements>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,38 @@
<![CDATA[
python '$__tool_directory__/data_manager_fetch_mapseq_db.py'
--out '${out_file}'
--version '${version}'
--version '${select_version.version}'
--database-type '${database_type}'
$test_data_manager_v5
$test_data_manager_v6
]]>
</command>
<inputs>
<!-- <param name="test_data_manager" type="hidden" /> -->
<param name="test_data_manager_v5" type="boolean" truevalue="--test" falsevalue="" checked="False" label="Download minimal test DB and create mock data table entry for v5." />
<param name="test_data_manager_v6" type="boolean" truevalue="--test" falsevalue="" checked="False" label="Download minimal test DB and create mock data table entry for v6." />

<param name="database_type" type="select" multiple="false" label="Database Type">
<option value="mgnify_v6_lsu">MGnify LSU (v6.0)</option>
<option value="mgnify_v6_ssu">MGnify SSU (v6.0)</option>
<option value="mgnify_v6_its_itsonedb">MGnify ITS ITSonedb (v6.0)</option>
<option value="mgnify_v6_its_unite">MGnify ITS UNITE (v6.0)</option>
<option value="mgnify_v6_pr2">MGnify PR2 (v6.0)</option>
<option value="mgnify_v5_lsu">MGnify LSU (v5.0.7)</option>
<option value="mgnify_v5_ssu">MGnify SSU (v5.0.7)</option>
<option value="mgnify_v5_its_itsonedb">MGnify ITS ITSonedb (v5.0.7)</option>
<option value="mgnify_v5_its_unite">MGnify ITS UNITE (v5.0.7)</option>
</param>

<!-- <param name="test_data_manager" type="text" value=""/> -->
<param argument="--version" type="text" value="6.0" help="Check MGnify GitHub (https://github.com/EBI-Metagenomics/amplicon-pipeline) for the version."/>
<conditional name="select_version">
<param argument="--version" type="select" label="Select MGnify version">
<option value="5.0">v5.0</option>
<option value="6.0">v6.0</option>
</param>
<when value="5.0">
<param name="database_type" type="select" multiple="false" label="Database Type">
<option value="mgnify_v5_lsu">MGnify LSU (v5.0.7)</option>
<option value="mgnify_v5_ssu">MGnify SSU (v5.0.7)</option>
<option value="mgnify_v5_its_itsonedb">MGnify ITS ITSonedb (v5.0.7)</option>
<option value="mgnify_v5_its_unite">MGnify ITS UNITE (v5.0.7)</option>
</param>
</when>
<when value="6.0">
<param name="database_type" type="select" multiple="false" label="Database Type">
<option value="mgnify_v6_lsu">MGnify LSU (v6.0)</option>
<option value="mgnify_v6_ssu">MGnify SSU (v6.0)</option>
<option value="mgnify_v6_its_itsonedb">MGnify ITS ITSonedb (v6.0)</option>
<option value="mgnify_v6_its_unite">MGnify ITS UNITE (v6.0)</option>
<option value="mgnify_v6_pr2">MGnify PR2 (v6.0)</option>
</param>
</when>
</conditional>
</inputs>
<outputs>
<data format="data_manager_json" name="out_file" />
Expand Down

0 comments on commit 0258fd3

Please sign in to comment.