annotate sRNAPipe.xml @ 33:c1a5c5205b24 draft

Uploaded
author brasset_jensen
date Fri, 01 Jun 2018 18:17:59 -0400
parents e70d58319eaa
children 4bc00caa60b4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
1 <tool id="sRNAPipe" name="sRNAPipe" version="0.0.1">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
2 <description>In-depth study of small RNA</description>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
3 <command interpreter="perl">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
4
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
5 ./bin/sRNAPipe.pl
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
6
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
7 --fastq ${first_input}
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
8 --fastq_n ${first_input.name}
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
9 #for $input_file in $input_files:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
10 --fastq ${input_file.additional_input}
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
11 --fastq_n ${input_file.additional_input.name}
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
12 #end for
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
13
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
14 #if $Genome.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
15 --ref "${Genome.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
16 --build_index
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
17 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
18 --ref "${Genome.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
19 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
20
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
21 #if $tRNAs.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
22 --tRNAs "${tRNAs.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
23 --build_tRNAs
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
24 #elif $tRNAs.refGenomeSource == "none":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
25 --tRNAs "None"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
26 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
27 --tRNAs "${tRNAs.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
28 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
29
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
30 #if $snRNAs.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
31 --snRNAs "${snRNAs.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
32 --build_snRNAs
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
33 #elif $snRNAs.refGenomeSource == "none":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
34 --snRNAs "None"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
35 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
36 --snRNAs "${snRNAs.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
37 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
38
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
39 #if $rRNAs.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
40 --rRNAs "${rRNAs.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
41 --build_rRNAs
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
42 #elif $rRNAs.refGenomeSource == "none":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
43 --rRNAs "None"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
44 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
45 --rRNAs "${rRNAs.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
46 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
47
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
48 #if $miRNAs.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
49 --miRNAs "${miRNAs.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
50 --build_miRNAs
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
51 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
52 --miRNAs "${miRNAs.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
53 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
54
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
55 #if $transcripts.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
56 --transcripts "${transcripts.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
57 --build_transcripts
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
58 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
59 --transcripts "${transcripts.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
60 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
61
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
62 #if $TE.refGenomeSource == "history":
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
63 --TE "${TE.ownFile}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
64 --build_TE
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
65 #else:
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
66 --TE "${TE.indices.fields.path}"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
67 #end if
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
68
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
69 --si_min $si_min
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
70 --si_max $si_max
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
71 --pi_min $pi_min
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
72 --pi_max $pi_max
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
73 --min $min
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
74 --max $max
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
75
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
76 --mis $mis
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
77 --misTE $misTE
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
78 --dir $html_out.files_path
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
79 --html $html_out
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
80 --PPPon $PPPon
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
81 </command>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
82
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
83 <requirements>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
84 <requirement type="package" version="0.7.15">bwa</requirement>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
85 <requirement type="package" version="2.26.0">bedtools</requirement>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
86 <requirement type="package" version="1.5">samtools</requirement>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
87 </requirements>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
88
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
89 <inputs>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
90 <param format="fastqsanger" name="first_input" type="data" label="fastqsanger (Q33)" help=""/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
91 <repeat name="input_files" title="Additional Fastq Files">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
92 <param format="fastqsanger" name="additional_input" type="data" label="fastqsanger (Q33)" help=""/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
93 </repeat>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
94 <conditional name="Genome">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
95 <param name="refGenomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
96 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
97 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
98 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
99 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
100 <param name="indices" type="select" label="Select a reference genome">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
101 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
102 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
103 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
104 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
105 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
106 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
107 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
108 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
109 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
110 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
111 <conditional name="transcripts">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
112 <param name="refGenomeSource" type="select" label="Will you select transcripts database from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
113 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
114 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
115 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
116 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
117 <param name="indices" type="select" label="Select a transcripts reference">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
118 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
119 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
120 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
121 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
122 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
123 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
124 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
125 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
126 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
127 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
128 <conditional name="TE">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
129 <param name="refGenomeSource" type="select" label="Will you select TE database from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
130 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
131 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
132 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
133 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
134 <param name="indices" type="select" label="Select a TE reference">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
135 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
136 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
137 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
138 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
139 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
140 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
141 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
142 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
143 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
144 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
145 <conditional name="miRNAs">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
146 <param name="refGenomeSource" type="select" label="Will you select miRNA database from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
147 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
148 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
149 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
150 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
151 <param name="indices" type="select" label="Select a miRNA reference">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
152 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
153 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
154 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
155 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
156 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
157 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
158 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
159 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
160 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
161 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
162 <conditional name="snRNAs">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
163 <param name="refGenomeSource" type="select" label="Will you select snRNA database from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
164 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
165 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
166 <option value="none">None</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
167 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
168 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
169 <param name="indices" type="select" label="Select a snRNAs reference">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
170 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
171 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
172 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
173 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
174 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
175 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
176 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
177 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
178 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
179 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
180 <conditional name="rRNAs">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
181 <param name="refGenomeSource" type="select" label="Will you select rRNAs database from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
182 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
183 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
184 <option value="none">None</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
185 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
186 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
187 <param name="indices" type="select" label="Select a rRNAs reference">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
188 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
189 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
190 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
191 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
192 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
193 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
194 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
195 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
196 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
197 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
198 <conditional name="tRNAs">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
199 <param name="refGenomeSource" type="select" label="Will you select tRNA database from your history or use a built-in index?">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
200 <option value="indexed">Use a built-in index</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
201 <option value="history">Use one from the history</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
202 <option value="none">None</option>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
203 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
204 <when value="indexed">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
205 <param name="indices" type="select" label="Select a tRNA reference">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
206 <options from_data_table="bwa_indexes">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
207 <filter type="sort_by" column="2" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
208 <validator type="no_options" message="No indexes are available" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
209 </options>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
210 </param>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
211 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
212 <when value="history">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
213 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
214 </when>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
215 </conditional>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
216
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
217 <param name="min" type="integer" value="18" label="minimum read size"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
218 <param name="max" type="integer" value="29" label="maximum read size"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
219 <param name="si_min" type="integer" value="21" label="lower bound of siRNA range"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
220 <param name="si_max" type="integer" value="21" label="higher bound of siRNA range"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
221 <param name="pi_min" type="integer" value="23" label="lower bound of piRNA range"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
222 <param name="pi_max" type="integer" value="29" label="higher bound of piRNA range"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
223
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
224 <param name="mis" type="integer" value="0" label="maximal genome mismatches"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
225 <param name="misTE" type="integer" value="3" label="maximal TE mismatches"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
226 <param name="PPPon" type="boolean" checked="true" label="PPPartners"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
227 </inputs>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
228 <outputs>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
229 <data format="html" name="html_out" label="${tool.name}_${first_input.name}_${on_string}"/>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
230
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
231 <collection format ="fastqsanger" type="list" label="${tool.name}_fastq_outputs" name="output_fastqsanger">
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
232 <discover_datasets format ="fastqsanger" pattern="(?P&lt;name&gt;.*)" directory="fastq_dir" />
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
233 </collection>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
234
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
235 </outputs>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
236 <help>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
237 **User manual**
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
238 "https://github.com/brassetjensen/sRNAPipe/blob/master/sRNAPipe_User_Manual.pdf"
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
239 </help>
c1a5c5205b24 Uploaded
brasset_jensen
parents: 32
diff changeset
240 </tool>