annotate sRNAPipe.xml @ 60:9645d995fb3c draft

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