Previous changeset 4:c254d75b8b67 (2023-06-20) |
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 60eb96ad3ff782075ca1f29e26ffe5487bbb93ed |
modified:
beta_diversity.xml macros.xml |
b |
diff -r c254d75b8b67 -r 4505d7643673 beta_diversity.xml --- a/beta_diversity.xml Tue Jun 20 20:03:30 2023 +0000 +++ b/beta_diversity.xml Fri Nov 22 09:29:11 2024 +0000 |
[ |
@@ -7,10 +7,19 @@ <expand macro="requirements"/> <expand macro="version"/> <command detect_errors="exit_code"><![CDATA[ +#import re +#set input_names=[] + +#for $input in $inputs + #set identifier = re.sub('[^\s\w\-.]', '_', str($input.element_identifier)) + #silent $input_names.append($identifier) + ln -s '$input' '${identifier}' && +#end for + beta_diversity.py --inputs - #for $input in $inputs - '$input' + #for $input_name in $input_names + '${input_name}' #end for --type '$sample.type' #if $sample.type == 'kreport' @@ -43,28 +52,31 @@ </inputs> <outputs> - <data name="output" format="txt" /> + <data name="output" format="tabular" /> </outputs> <tests> <test> <param name="inputs" value="beta_bracken_1.tabular,beta_bracken_2.tabular,beta_bracken_3.tabular"/> <param name="type" value="bracken"/> - <output name="output" ftype="txt"> + <output name="output" ftype="tabular"> <assert_contents> + <has_text_matching expression="#[012]	beta_[a-z]+_[123].tabular \([0-9]+ reads\)" n="3"/> + <has_n_columns n="4" comment="#"/> + <has_n_lines n="7"/> <has_text text="0.629"/> - <has_text text="0.993"/> - <has_text text="0.995"/> </assert_contents> </output> </test> <test> <param name="inputs" value="beta_kreport_1.tabular,beta_kreport_2.tabular,beta_kreport_3.tabular"/> <param name="type" value="kreport"/> - <output name="output" ftype="txt"> + <output name="output" ftype="tabular"> <assert_contents> + <has_text text="beta_kreport_1.tabular"/> + <has_text_matching expression="#[012]	beta_[a-z]+_[123].tabular \([0-9]+ reads\)" n="3"/> + <has_n_columns n="4" comment="#"/> + <has_n_lines n="7"/> <has_text text="0.584"/> - <has_text text="0.996"/> - <has_text text="0.995"/> </assert_contents> </output> </test> @@ -72,8 +84,11 @@ <param name="inputs" value="beta_krona_1.tabular,beta_krona_2.tabular"/> <param name="type" value="krona"/> <param name="level" value="G"/> - <output name="output" ftype="txt"> - <assert_contents> + <output name="output" ftype="tabular"> + <assert_contents> + <has_text_matching expression="#[01]	beta_[a-z]+_[12].tabular \([0-9]+ reads\)" n="2"/> + <has_n_columns n="3" comment="#"/> + <has_n_lines n="5"/> <has_text text="0.993"/> </assert_contents> </output> |
b |
diff -r c254d75b8b67 -r 4505d7643673 macros.xml --- a/macros.xml Tue Jun 20 20:03:30 2023 +0000 +++ b/macros.xml Fri Nov 22 09:29:11 2024 +0000 |
b |
@@ -1,7 +1,7 @@ <?xml version="1.0"?> <macros> <token name="@TOOL_VERSION@">1.2</token> - <token name="@VERSION_SUFFIX@">1</token> + <token name="@VERSION_SUFFIX@">2</token> <token name="@PROFILE@">21.01</token> <xml name="biotools"> <xrefs> |