changeset 10:13851aefa67a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_kraken2_database/ commit ea1cf7593dd429e0f6272f9cf3d08cd3a46b6235
author iuc
date Thu, 13 Jun 2024 12:18:58 +0000
parents 539b008cfe1c
children 1e34d2e3d285
files data_manager/kraken2_build_database.xml
diffstat 1 files changed, 23 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/kraken2_build_database.xml	Thu Jun 06 09:03:14 2024 +0000
+++ b/data_manager/kraken2_build_database.xml	Thu Jun 13 12:18:58 2024 +0000
@@ -3,7 +3,7 @@
     <description>database builder</description>
     <macros>
         <token name="@TOOL_VERSION@">2.1.3</token>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@VERSION_SUFFIX@">1</token>
         <token name="@PROFILE@">22.01</token>
         <xml name="common_params">
             <param name="kmer_len" type="integer" value="35" label="K-mer length in BP" />
@@ -103,7 +103,7 @@
             <when value="standard_prebuilt">
                 <conditional name="prebuild">
                     <param name="prebuilt_date" type="select" label="Select index build date">
-                        <option value="2024-12-01">December 1, 2024</option>
+                        <option value="2024-01-12">January 12, 2024</option>
                         <option value="2023-06-05">June 5, 2023</option>
                         <option value="2022-06-07">June 7, 2022</option>
                         <option value="2021-05-17">May 17, 2021</option>
@@ -111,7 +111,7 @@
                         <option value="2020-12-02">December 2, 2020</option>
                         <option value="2020-09-19">September 19, 2020</option>
                     </param>
-                    <when value="2024-12-01">
+                    <when value="2024-01-12">
                         <param name="prebuilt_db" type="select" label="Select a prebuilt Refseq index to download">
                             <expand macro="viral"/>
                             <expand macro="minusb"/>
@@ -267,6 +267,26 @@
                 </assert_contents>
             </output>
         </test>
+        <!-- test with latest version -->
+        <test>
+            <conditional name="database_type">
+                <param name="database_type" value="standard_prebuilt" />
+                <conditional name="prebuild">
+                    <param name="prebuilt_date" value="2024-01-12"/>
+                    <param name="prebuilt_db" value="viral"/>
+                </conditional>
+            </conditional>
+            <output name="out_file">
+                <assert_contents>
+                    <has_text text="kraken2_databases"/>
+                    <has_text text="path"/>
+                    <has_text text="Viral"/>
+                    <has_text text="_standard_prebuilt_viral_2024-01-12"/>
+                    <has_text text="Version"/>
+                    <has_text text="Downloaded"/>
+                </assert_contents>
+            </output>
+        </test>
     </tests>
     <help><![CDATA[
 Build Kraken2 databases or download `prebuilt Kraken2 RefSeq indexes <https://benlangmead.github.io/aws-indexes/k2>`__