Mercurial > repos > iuc > mothur_get_label
diff get.label.xml @ 3:44c7d48a6819 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
author | iuc |
---|---|
date | Tue, 20 Mar 2018 22:02:42 -0400 |
parents | d8409b4a2aec |
children | 7f479eedd900 |
line wrap: on
line diff
--- a/get.label.xml Fri Sep 08 14:35:14 2017 -0400 +++ b/get.label.xml Tue Mar 20 22:02:42 2018 -0400 @@ -7,32 +7,33 @@ <expand macro="stdio"/> <expand macro="version_command"/> <command><![CDATA[ - @SHELL_OPTIONS@ +@SHELL_OPTIONS@ - ## create symlinks to input datasets - ln -s "$otu" otu.dat && +## create symlinks to input datasets +ln -s '$otu' otu.dat && - echo 'get.label( - #if $otu.is_of_type("mothur.rabund"): - rabund=otu.dat - #elif $otu.is_of_type("mothur.sabund"): - sabund=otu.dat - #else - list=otu.dat - #end if - )' - | sed 's/ //g' ## mothur trips over whitespace - | mothur - | tee mothur.out.log && +echo 'get.label( + #if $otu.is_of_type("mothur.rabund"): + rabund=otu.dat + #elif $otu.is_of_type("mothur.sabund"): + sabund=otu.dat + #else + list=otu.dat + #end if +)' +| sed 's/ //g' ## mothur trips over whitespace +| mothur +| tee mothur.out.log && - ## parse relevant output from logfile to file - cat mothur.*.logfile - | head -n-3 - | sed '1,29d' - > "$labels_list" +## parse relevant output from logfile to file +cat mothur.*.logfile +| head -n-3 +| sed '1,30d' +> '$labels_list' ]]></command> <inputs> <param name="otu" type="data" format="mothur.list,mothur.sabund,mothur.rabund" label="Input file. May be shared, sabund or rabund file"/> + <expand macro="param-savelog"/> </inputs> <outputs> <expand macro="logfile-output"/> @@ -42,21 +43,23 @@ <test><!-- test with sabund --> <param name="otu" value="amazon.an.sabund" ftype="mothur.sabund"/> <output name="labels_list" md5="ded659c0af6b78f710f53f45ea99b9bb" ftype="tabular"/> + <param name="savelog" value="true"/> <expand macro="logfile-test"/> </test> <test><!-- test with rabund --> <param name="otu" value="amazon.an.rabund2" ftype="mothur.rabund"/> <output name="labels_list" md5="0c3fab5bdfa8588c7244048ddd4eac3c" ftype="tabular"/> + <param name="savelog" value="true"/> <expand macro="logfile-test"/> </test> <test><!-- test with list --> <param name="otu" value="amazon.an.list" ftype="mothur.list"/> <output name="labels_list" md5="ded659c0af6b78f710f53f45ea99b9bb" ftype="tabular"/> + <param name="savelog" value="true"/> <expand macro="logfile-test"/> </test> </tests> - <help> -<![CDATA[ + <help><![CDATA[ @MOTHUR_OVERVIEW@ @@ -67,7 +70,7 @@ .. _get.label: https://www.mothur.org/wiki/Get.label v.1.20.0: Updated to Mothur 1.33 -]]> - </help> + + ]]></help> <expand macro="citations"/> </tool>