Mercurial > repos > iuc > mothur_create_database
diff create.database.xml @ 3:0ec0e6261ee6 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:24:19 -0500 |
| parents | 122c47c8dad6 |
| children | 5577a44a7b42 |
line wrap: on
line diff
--- a/create.database.xml Tue Sep 05 16:00:35 2017 -0400 +++ b/create.database.xml Wed Feb 14 09:24:19 2018 -0500 @@ -7,46 +7,49 @@ <expand macro="stdio"/> <expand macro="version_command"/> <command><![CDATA[ - @SHELL_OPTIONS@ +@SHELL_OPTIONS@ - ## create symlinks to input datasets - ln -s "$otu" otu.dat && - ln -s "$repfasta" repfasta.dat && - ln -s "$nameOrCount" nameOrCount.dat && - ln -s "$constaxonomy" constaxonomy.dat && - ln -s "$group" group.dat && +## create symlinks to input datasets +ln -s '$otu' otu.dat && +ln -s '$repfasta' repfasta.dat && +ln -s '$nameOrCount' nameOrCount.dat && +ln -s '$constaxonomy' constaxonomy.dat && +ln -s '$group' group.dat && - echo 'create.database( - #if $otu.is_of_type("mothur.list"): - list=otu.dat - #elif $otu.is_of_type("mothur.shared"): - shared=otu.dat - #end if - ,repfasta=repfasta.dat - #if $nameOrCount.is_of_type("mothur.names"): - ,repname=nameOrCount.dat - #elif $nameOrCount.is_of_type("mothur.count_table"): - ,count=nameOrCount.dat - #end if - ,constaxonomy=constaxonomy.dat - #if $group: - ,group=group.dat - #end if - #if $label: - ,label=$label - #end if - )' - | sed 's/ //g' ## mothur trips over whitespace - | mothur - | tee mothur.out.log +echo 'create.database( + #if $otu.is_of_type("mothur.list"): + list=otu.dat + #elif $otu.is_of_type("mothur.shared"): + shared=otu.dat + #end if + ,repfasta=repfasta.dat + #if $nameOrCount.is_of_type("mothur.names"): + ,repname=nameOrCount.dat + #elif $nameOrCount.is_of_type("mothur.count_table"): + ,count=nameOrCount.dat + #end if + ,constaxonomy=constaxonomy.dat + #if $group: + ,group=group.dat + #end if + #if $label: + ,label=$label + #end if +)' +| sed 's/ //g' ## mothur trips over whitespace +| mothur +| tee mothur.out.log ]]></command> <inputs> <param name="otu" type="data" format="mothur.list,mothur.shared" label="list or shared - OTU List of Shared"/> - <param name="repfasta" type="data" format="fasta" label="repfasta - rep.fasta" help="rep.fasta file generated by get.oturep"/> - <param name="nameOrCount" type="data" format="mothur.names,mothur.count_table" label="repname/count - Representative sequences" help="rep.name file or rep.count_table file generated by get.oturep"/> - <param name="constaxonomy" type="data" format="mothur.cons.taxonomy" label="constaxonomy - Consensus Taxonomy" help="consensus taxonomy file output by classify.otu"/> + <param name="repfasta" type="data" format="fasta" optional="true" label="repfasta - rep.fasta" help="rep.fasta file generated by get.oturep"/> + <param name="nameOrCount" type="data" format="mothur.names,mothur.count_table" optional="true" label="repname/count - Representative sequences" + help="rep.name file or rep.count_table file generated by get.oturep"/> + <param name="constaxonomy" type="data" format="mothur.cons.taxonomy" label="constaxonomy - Consensus Taxonomy" + help="consensus taxonomy file output by classify.otu"/> <param name="group" type="data" format="mothur.groups" optional="true" label="group - Groups for summary file"/> - <param name="label" type="select" label="label - OTU Labels" optional="true" help="Select exactly one label. If none selected, first label in your list or shared file will be used"> + <param name="label" type="select" label="label - OTU Labels" optional="true" + help="Select exactly one label. If none selected, first label in your list or shared file will be used"> <expand macro="labeloptions"/> </param> </inputs> @@ -76,8 +79,7 @@ <expand macro="logfile-test"/> </test> </tests> - <help> -<![CDATA[ + <help><![CDATA[ @MOTHUR_OVERVIEW@ @@ -91,7 +93,6 @@ v.1.28.0: Updated to Mothur 1.33, added count paramter. -]]> - </help> + ]]></help> <expand macro="citations"/> </tool>
