Mercurial > repos > iuc > mothur_sffinfo
comparison sffinfo.xml @ 0:5ada2d00e874 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:34:03 -0400 |
parents | |
children | 13d1e5e44a91 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5ada2d00e874 |
---|---|
1 <tool profile="16.07" id="mothur_sffinfo" name="Sffinfo" version="@WRAPPER_VERSION@.0"> | |
2 <description>Summarize the quality of 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 "$sff" sff.dat && | |
14 ln -s "$accnos" accnos.dat && | |
15 #if $oligo.add == "yes": | |
16 ln -s "$oligo.oligos" oligo.oligos.dat && | |
17 #end if | |
18 | |
19 echo 'sffinfo( | |
20 sff=sff.dat, | |
21 fasta=$fasta, | |
22 qfile=$qfile, | |
23 $sfftxt | |
24 flow=$flow, | |
25 trim=$trim | |
26 #if $accnos: | |
27 ,accnos=accnos.dat | |
28 #end if | |
29 #if $oligo.add == "yes": | |
30 ,oligos=oligo.oligos.dat | |
31 ,bdiffs=$oligo.bdiffs | |
32 ,pdiffs=$oligo.pdiffs | |
33 ,tdiffs=$oligo.tdiffs | |
34 ,ldiffs=$oligo.ldiffs | |
35 ,sdiffs=$oligo.sdiffs | |
36 #end if | |
37 )' | |
38 | sed 's/ //g' ## mothur trips over whitespace | |
39 | mothur | |
40 | tee mothur.out.log | |
41 ]]></command> | |
42 <inputs> | |
43 <param name="sff" type="data" format="sff" label="sff - Sff data"/> | |
44 <conditional name="oligo"> | |
45 <param name="add" type="select" label="Trim with an oligos file?" help="a file that can contain the sequences of the forward and reverse primers and barcodes and their sample identifier. Each line of the oligos file can start with the key words "forward", "reverse", and "barcode" or it can start with a "#" to tell mothur to ignore that line of the oligos file."> | |
46 <option value="no" selected="true">no</option> | |
47 <option value="yes">yes</option> | |
48 </param> | |
49 <when value="no"/> | |
50 <when value="yes"> | |
51 <param name="oligos" type="data" format="mothur.oligos" label="oligos - barcodes and primers"/> | |
52 <param name="bdiffs" type="integer" value="0" min="0" label="bdiffs - number of differences to allow in the barcode (default 0)"/> | |
53 <param name="pdiffs" type="integer" value="0" min="0" label="pdiffs - number of differences to allow in the primer (default 0)"/> | |
54 <param name="tdiffs" type="integer" value="0" min="0" label="tdiffs - total number of differences to allow in primer and barcode (default 0)"/> | |
55 <param name="ldiffs" type="integer" value="0" min="0" label="ldiffs - total number of differences to allow in linker sequence (default 0)"/> | |
56 <param name="sdiffs" type="integer" value="0" min="0" label="sdiffs - total number of differences to allow in spacer sequence (default 0)"/> | |
57 </when> | |
58 </conditional> | |
59 <param name="fasta" type="boolean" truevalue="true" falsevalue="false" checked="true" label="fasta - Add fasta to your history"/> | |
60 <param name="qfile" type="boolean" truevalue="true" falsevalue="false" checked="true" label="qfile - Add qfile to your history"/> | |
61 <param name="sfftxt" type="boolean" truevalue="sfftxt=true," falsevalue="" checked="false" label="sfftxt - Add sfftxt to your history"/> | |
62 <param name="flow" type="boolean" truevalue="true" falsevalue="false" checked="true" label="flow - Add flow to your history"/> | |
63 <param name="trim" type="boolean" truevalue="true" falsevalue="false" checked="true" label="trim - Trim sequences and quality scores"/> | |
64 <param name="accnos" type="data" format="mothur.accnos" optional="true" label="accnos - Limit output to named Accessions"/> | |
65 </inputs> | |
66 <outputs> | |
67 <expand macro="logfile-output"/> | |
68 <data name="out_fasta" format="fasta" from_work_dir="sff*.fasta" label="${tool.name} on ${on_string}: fasta"> | |
69 <filter>fasta</filter> | |
70 </data> | |
71 <data name="out_qfile" format="qual454" from_work_dir="sff*.qual" label="${tool.name} on ${on_string}: qual"> | |
72 <filter>qfile</filter> | |
73 </data> | |
74 <data name="out_sfftxt" format="txt" from_work_dir="sff*.sff.txt" label="${tool.name} on ${on_string}: sff.txt"> | |
75 <filter>sfftxt</filter> | |
76 </data> | |
77 <data name="out_flow" format="mothur.sff.flow" from_work_dir="sff*.flow" label="${tool.name} on ${on_string}: flowgram"> | |
78 <filter>flow</filter> | |
79 </data> | |
80 <data name="out_scrap" format="sff" from_work_dir="sff*.scrap.sff" label="${tool.name} on ${on_string}: scrap.sff"> | |
81 <filter>oligo['add'] == 'yes'</filter> | |
82 </data> | |
83 </outputs> | |
84 <tests> | |
85 <test><!-- test without oligos --> | |
86 <param name="sff" value="Fasting_Example1.sff"/> | |
87 <param name="sfftxt" value="true"/> | |
88 <output name="out_fasta" md5="fbe6f4d51959d4723a8417636476d0e0" ftype="fasta"/> | |
89 <output name="out_qfile" md5="ffcc4831369139055e1b8e9add9a59c0" ftype="qual454"/> | |
90 <output name="out_sfftxt" md5="fdc80c8e476016632d317cfd7893713c" ftype="txt"/> | |
91 <output name="out_flow" md5="34b17477f98ab19c1ff755a61848d968" ftype="mothur.sff.flow"/> | |
92 <expand macro="logfile-test"/> | |
93 </test> | |
94 <test><!-- test with oligos file --> | |
95 <param name="sff" value="Fasting_Example1.sff"/> | |
96 <param name="add" value="yes"/> | |
97 <param name="oligos" value="GQY1XT001.oligos"/> | |
98 <output name="out_fasta" md5="212fa15e1ed077cecb65ee87f17ef2e1" ftype="fasta"/> | |
99 <output name="out_qfile" md5="ffcc4831369139055e1b8e9add9a59c0" ftype="qual454"/> | |
100 <output name="out_flow" md5="34b17477f98ab19c1ff755a61848d968" ftype="mothur.sff.flow"/> | |
101 <output name="out_scrap" md5="f03c422fe364815e7214ad31ad135aca" ftype="sff"/> | |
102 <expand macro="logfile-test"/> | |
103 </test> | |
104 </tests> | |
105 <help> | |
106 <![CDATA[ | |
107 | |
108 @MOTHUR_OVERVIEW@ | |
109 | |
110 **Command Documentation** | |
111 | |
112 The sffinfo_ command will summarize the quality of sequences in an unaligned or aligned fasta-formatted sequence file. | |
113 | |
114 | |
115 .. _sffinfo: https://www.mothur.org/wiki/Sffinfo | |
116 ]]> | |
117 </help> | |
118 <expand macro="citations"/> | |
119 </tool> |