Mercurial > repos > iuc > mothur_bin_seqs
diff bin.seqs.xml @ 4:f5cdc7035fd8 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
| author | iuc |
|---|---|
| date | Wed, 14 Feb 2018 09:12:25 -0500 |
| parents | cb91c12c8a34 |
| children | d7c272efbc4a |
line wrap: on
line diff
--- a/bin.seqs.xml Fri Sep 08 12:47:07 2017 -0400 +++ b/bin.seqs.xml Wed Feb 14 09:12:25 2018 -0500 @@ -7,44 +7,45 @@ <expand macro="stdio"/> <expand macro="version_command"/> <command><![CDATA[ - @SHELL_OPTIONS@ +@SHELL_OPTIONS@ - ## create symlinks to input datasets - ln -s "$name" name.dat && - ln -s "$group" group.dat && - ln -s "$fasta" fasta.dat && - ln -s "$otu" otu.dat && - ln -s "$count" count.dat && +## create symlinks to input datasets +ln -s '$name' name.dat && +ln -s '$group' group.dat && +ln -s '$fasta' fasta.dat && +ln -s '$otu' otu.dat && +ln -s '$count' count.dat && - echo 'bin.seqs( - #if $name: - name=name.dat, - #end if - #if $group: - group=group.dat, - #end if - #if $label: - label=${ str($label).replace(",","-") }, - #end if - #if $count: - count=count.dat, - #end if - fasta=fasta.dat, - list=otu.dat - )' - | sed 's/ //g' ## mothur trips over whitespace - | mothur - | tee mothur.out.log +echo 'bin.seqs( + #if $name: + name=name.dat, + #end if + #if $group: + group=group.dat, + #end if + #if $label: + label=${ str($label).replace(",","-") }, + #end if + #if $count: + count=count.dat, + #end if + fasta=fasta.dat, + list=otu.dat +)' +| sed 's/ //g' ## mothur trips over whitespace +| mothur +| tee mothur.out.log ]]></command> <inputs> - <param name="fasta" type="data" format="fasta" label="fasta - Sequences to Bin"/> - <param name="otu" type="data" format="mothur.list" label="list - OTU List"/> - <param name="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/> - <param name="label" type="select" label="label - OTU Labels" multiple="true"> + <param argument="fasta" type="data" format="fasta" label="fasta - Sequences to Bin"/> + <param argument="list" name="otu" type="data" format="mothur.list" label="list - OTU List"/> + <param argument="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/> + <param argument="label" type="select" multiple="true" label="label - OTU Labels"> <expand macro="labeloptions"/> </param> - <param name="group" type="data" format="mothur.groups" optional="true" label="group - Sequences Name reference"/> - <param name="count" type="data" format="mothur.count_table" optional="true" label="count - Represents the number of duplicate sequences for a given representitive sequence"/> + <param argument="group" type="data" format="mothur.groups" optional="true" label="group - Sequences Name reference"/> + <param argument="count" type="data" format="mothur.count_table" optional="true" label="count - Count Table" + help="Represents the number of duplicate sequences for a given representitive sequence"/> </inputs> <outputs> <expand macro="logfile-output"/> @@ -57,7 +58,12 @@ <param name="otu" value="amazon.an.list"/> <param name="fasta" value="amazon.fasta"/> <output_collection name="fastafiles" count="36"> - <element name="0.22" md5="8fd8dd141561dc3e574e0c3f356e7e84" ftype="fasta"/> + <element name="0.22" ftype="fasta"> + <assert_contents> + <expand macro="test-fasta-format"/> + <has_text text="U68589"/> + </assert_contents> + </element> </output_collection> <expand macro="logfile-test"/> </test> @@ -68,23 +74,29 @@ <param name="group" value="amazon.groups" ftype="mothur.groups"/> <param name="label" value="0.03,0.05,0.22"/> <output_collection name="fastafiles" count="3"> - <element name="0.22" md5="02755d06b535fdcdb5a70b6eb767d1f6" ftype="fasta"/> + <element name="0.22" ftype="fasta"> + <assert_contents> + <expand macro="test-fasta-format"/> + <has_text text="U68589"/> + </assert_contents> + </element> </output_collection> <expand macro="logfile-test"/> </test> </tests> - <help> -<![CDATA[ + <help><![CDATA[ @MOTHUR_OVERVIEW@ **Command Documentation** -The bin.seqs_ command generates fasta-formatted files where sequences are ordered according to the OTU from the list_file_ that they belong to. Such an output may be helpful for generating primers specific to an OTU or for classification of sequences. +The bin.seqs_ command generates fasta-formatted files where sequences are ordered according to the OTU +from the list_file_ that they belong to. Such an output may be helpful for generating primers specific +to an OTU or for classification of sequences. .. _list_file: https://www.mothur.org/wiki/List_file .. _bin.seqs: https://www.mothur.org/wiki/Bin.seqs -]]> - </help> + + ]]></help> <expand macro="citations"/> </tool>
