comparison reverse.seqs.xml @ 0:a8a1a7c5ab14 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
author iuc
date Fri, 19 May 2017 05:05:47 -0400
parents
children 503898f17f42
comparison
equal deleted inserted replaced
-1:000000000000 0:a8a1a7c5ab14
1 <tool profile="16.07" id="mothur_reverse_seqs" name="Reverse.seqs" version="@WRAPPER_VERSION@.0">
2 <description>Reverse complement the sequences</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="stdio"/>
8 <expand macro="version_command"/>
9 <command><![CDATA[
10 @SHELL_OPTIONS@
11
12 ## create symlinks to input datasets
13 ln -s "$fasta" fasta.dat &&
14
15 echo 'reverse.seqs(
16 fasta=fasta.dat
17 )'
18 | sed 's/ //g' ## mothur trips over whitespace
19 | mothur
20 | tee mothur.out.log
21 ]]></command>
22 <inputs>
23 <param name="fasta" type="data" format="fasta,mothur.align" label="fasta - Sequences to reverse complement"/>
24 </inputs>
25 <outputs>
26 <expand macro="logfile-output"/>
27 <data name="out_fasta" format_source="fasta" from_work_dir="fasta*.rc.*" label="${tool.name} on ${on_string}: rc.fasta"/>
28 </outputs>
29 <tests>
30 <test>
31 <param name="fasta" value="Mock_S280_L001_R1_001_small.trim.contigs.good.align_head"/>
32 <output name="out_fasta" file="Mock_S280_L001_R1_001_small.trim.contigs.good.rc.align_head"/>
33 <expand macro="logfile-test"/>
34 </test>
35 </tests>
36 <help>
37 <![CDATA[
38
39 @MOTHUR_OVERVIEW@
40
41 **Command Documentation**
42
43 The reverse.seqs_ command will generate a fasta containing the reverse complement of each sequence in the input fasta.
44
45 .. _reverse.seqs: https://www.mothur.org/wiki/Reverse.seqs
46 ]]>
47 </help>
48 <expand macro="citations"/>
49 </tool>