Mercurial > repos > iuc > mothur_trim_seqs
diff trim.seqs.xml @ 3:e695fda56931 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:33:36 -0500 |
| parents | 08692ab7170c |
| children | 4929eb3e0037 |
line wrap: on
line diff
--- a/trim.seqs.xml Tue Sep 05 16:21:02 2017 -0400 +++ b/trim.seqs.xml Wed Feb 14 09:33:36 2018 -0500 @@ -7,64 +7,65 @@ <expand macro="stdio"/> <expand macro="version_command"/> <command><![CDATA[ - @SHELL_OPTIONS@ +@SHELL_OPTIONS@ - ## create symlinks to input datasets - ln -s "$fasta" fasta.dat && - ln -s "$names" names.dat && - ln -s "$count" count.dat && - #if $oligo.add == "yes": - ln -s "$oligo.oligos" oligo.oligos.dat && - #end if - #if $qual.add2 == "yes": - ln -s "$qual.qfile" qual.qfile.dat && - #end if +## create symlinks to input datasets +ln -s '$fasta' fasta.dat && +ln -s '$names' names.dat && +ln -s '$count' count.dat && +#if $oligo.add == "yes": + ln -s '$oligo.oligos' oligo.oligos.dat && +#end if +#if $qual.add2 == "yes": + ln -s '$qual.qfile' qual.qfile.dat && +#end if - echo 'trim.seqs( - fasta=fasta.dat, - minlength=$minlength, - maxlength=$maxlength, - maxambig=$maxambig, - maxhomop=$maxhomop, - keepfirst=$keepfirst, - removelast=$removelast, - #if $oligo.add == "yes": - oligos=oligo.oligos.dat, - bdiffs=$oligo.bdiffs, - pdiffs=$oligo.pdiffs, - tdiffs=$oligo.tdiffs, - ldiffs=$oligo.ldiffs, - sdiffs=$oligo.sdiffs, - keepforward=$oligo.keepforward, - allfiles=$oligo.allfiles, - #end if - #if $qual.add2 == "yes": - qfile=qual.qfile.dat, - qaverage=$qual.qaverage, - qthreshold=$qual.qthreshold, - qwindowaverage=$qual.qwindowaverage, - qwindowsize=$qual.qwindowsize, - rollaverage=$qual.rollaverage, - qstepsize=$qual.qstepsize, - qtrim=$qual.qtrim, - #end if - flip=$flip, - #if $names: - name=names.dat, - #end if - logtransform=$logtransform, - checkorient=$checkorient, - #if $count: - count=count.dat, - #end if - processors='\${GALAXY_SLOTS:-8}' - )' - | sed 's/ //g' ## mothur trips over whitespace - | mothur - | tee mothur.out.log - ## prevent these two files from being gathered into collection - && mv fasta.trim.fasta fasta.trim - && mv fasta.scrap.fasta fasta.scrap +echo 'trim.seqs( + fasta=fasta.dat, + minlength=$minlength, + maxlength=$maxlength, + maxambig=$maxambig, + maxhomop=$maxhomop, + keepfirst=$keepfirst, + removelast=$removelast, + #if $oligo.add == "yes": + oligos=oligo.oligos.dat, + bdiffs=$oligo.bdiffs, + pdiffs=$oligo.pdiffs, + tdiffs=$oligo.tdiffs, + ldiffs=$oligo.ldiffs, + sdiffs=$oligo.sdiffs, + keepforward=$oligo.keepforward, + allfiles=$oligo.allfiles, + #end if + #if $qual.add2 == "yes": + qfile=qual.qfile.dat, + qaverage=$qual.qaverage, + qthreshold=$qual.qthreshold, + qwindowaverage=$qual.qwindowaverage, + qwindowsize=$qual.qwindowsize, + rollaverage=$qual.rollaverage, + qstepsize=$qual.qstepsize, + qtrim=$qual.qtrim, + #end if + flip=$flip, + #if $names: + name=names.dat, + #end if + logtransform=$logtransform, + checkorient=$checkorient, + #if $count: + count=count.dat, + #end if + processors='\${GALAXY_SLOTS:-8}' +)' +| sed 's/ //g' ## mothur trips over whitespace +| mothur +| tee mothur.out.log + +## prevent these two files from being gathered into collection +&& mv fasta.trim.fasta fasta.trim +&& mv fasta.scrap.fasta fasta.scrap ]]></command> <inputs> <param name="fasta" type="data" format="fasta" label="fasta - Sequences"/> @@ -209,8 +210,7 @@ <expand macro="logfile-test"/> </test> </tests> - <help> -<![CDATA[ + <help><![CDATA[ @MOTHUR_OVERVIEW@ @@ -220,7 +220,6 @@ .. _trim.seqs: https://www.mothur.org/wiki/Trim.seqs -]]> - </help> + ]]></help> <expand macro="citations"/> </tool>
