changeset 5:21da31ed41a1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit a09a5e3ee3c76550526f082b97de8da75181a1dd
author iuc
date Wed, 13 Jul 2022 07:43:38 +0000
parents 6b5a5842531e
children 4a01e0d2892c
files macros.xml metaplasmidspades.xml write_tsv_script.py
diffstat 3 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Mon Feb 21 10:23:09 2022 +0000
+++ b/macros.xml	Wed Jul 13 07:43:38 2022 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">3.15.4</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">spades</requirement>
--- a/metaplasmidspades.xml	Mon Feb 21 10:23:09 2022 +0000
+++ b/metaplasmidspades.xml	Wed Jul 13 07:43:38 2022 +0000
@@ -120,8 +120,9 @@
             </output>
             <output name="out_cs">
                 <assert_contents>
-                    <has_n_lines n="1"/>
+                    <has_n_lines n="2"/>
                     <has_text_matching expression="#name&#009;length&#009;coverage"/>
+                    <has_text_matching expression="NODE_1&#009;9645&#009;13.774865_cutoff_0_type_circular"/>
                 </assert_contents>
             </output>
             <output_collection name="out_cr" type="list" count="3">
@@ -149,8 +150,9 @@
             </output>
             <output name="out_ss">
                 <assert_contents>
-                    <has_n_lines n="1"/>
+                    <has_n_lines n="2"/>
                     <has_text_matching expression="#name&#009;length&#009;coverage"/>
+                    <has_text_matching expression="NODE_1&#009;9645&#009;13.774865_cutoff_0_type_circula"/>
                 </assert_contents>
             </output>
             <output name="out_l">
--- a/write_tsv_script.py	Mon Feb 21 10:23:09 2022 +0000
+++ b/write_tsv_script.py	Wed Jul 13 07:43:38 2022 +0000
@@ -3,7 +3,7 @@
 import re
 import sys
 
-search_str = r"^>(NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*).*\$"
+search_str = r"^>(NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*)(.*\$)?"
 
 replace_str = r"\1_\2\t\3\t\4"